The cost of living in Cambridge, Massachusetts is 35.9% more expensive than Portsmouth, New Hampshire.