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