The cost of living in Waltham, Massachusetts is 36.3% more expensive than San Bernardino, California.