The cost of living in Gloucester, Massachusetts is 1.8% more expensive than Upper Dublin, Pennsylvania.