The cost of living in Fredericksburg, Virginia is 22.8% more expensive than Harrisburg, Pennsylvania.