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