Home prices in Bedford run 133% above the national median: $980,000 versus $420,000. Relative to the $178,000 median household income here, the price-to-income ratio comes out to 5.5x.
Property taxes in Bedford run 1% of assessed value, below the 1.1% national average. On the median home, that's $9,800 a year, or $817 added to the monthly payment.
Massachusetts levies a state income tax on top of the $6,333/month this mortgage runs. Model your real after-tax take-home before deciding how much payment you can carry.
Bedford's cost of living index is 172, above the 100 national baseline. That's on top of the housing numbers above, not instead of them.
Bedford's median home price runs 31% higher than nearby Boston: $750,000 there versus $980,000 here.