The cost of living in San Francisco, California is 102.7% more expensive than Shirley, Massachusetts.