The cost of living in Shirley, Massachusetts is 14.6% more expensive than Peterborough, New Hampshire.