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