Mortgage rates are still low, making it a seemingly great time to buy a home.
But aspiring home buyers still need to overcome one major obstacle before they lay eyes on their dream home: Can they afford it?
The typical U.S. worker now needs to earn $52,700 a year to be able to afford the monthly payments for a home worth the national median of $240,700, according to a recent report released by HSH.com, a mortgage information website.
That threshold can look very different from one city to the next.
Someone trying to buy a house in Washington, D.C., would need to earn $81,940 a year. And in San Francisco, the most expensive of the major metros, a person would need to earn $161,947 to pay the monthly mortgage on a median-priced house.
But in St. Louis, you need to earn only about $38,131 to afford a monthly mortgage payment. That makes St. Louis the second-most affordable city on the HSH.com 27-metro list.
Only Cleveland, at $34,433, was more affordable.
Analysts calculated how much homeowners need to earn each year so that the monthly mortgage payments for the median-priced home — including the principal, interest, taxes and insurance — would take up no more than 28 percent of their monthly gross income. (Financial advisers generally recommend that housing costs take up no more than a third of your pay.) The study also assumed that home buyers gave a 20 percent down payment.
As home prices rise, the salary needed to afford a home is rising too. (And in many cities, those home prices are growing much faster than wages.) The average salary needed to afford a home this year is up 5 percent from 2014, when consumers needed a salary of $50,211 to afford the median-priced home of $212,000.
Home buyers across the country may have noticed a similar trend as home prices have increased, says Keith Gumbinger, vice president of HSH.com. Home values rose at a faster clip in some parts of the country where there aren't as many homes for sale, Gumbinger says.
For instance, home buyers in Denver now need to earn $72,847 a year to afford the home worth the median $394,400 — up from the $63,664 salary needed in 2014, when the median home value was $316,300.
In St. Louis, rising home prices caused the required salary to increase by more than $3,000 in the second quarter, according to HSH.com. And if buyers put 10 percent down instead of 20 percent, the required salary increases by $5,768 to $43,899.
"It's a good time to buy a house in theory," says Svenja Gudell, chief economist at Zillow, a real estate listing website. "But practically, it's very hard actually getting there."
Higher home prices, rising rental costs and a shortage of affordable homes may have some renters feeling like home ownership is increasingly out of reach, Gudell says.
Renters' confidence in their ability to buy a home has dropped over the last two years, according to a report from Zillow released last week. Only 38 percent of renters said it was a good time to buy a home in July, down from 47 percent in January 2014.
Figuring out exactly how much to save for a down payment will depend on a few factors. Not all home buyers need to make a 20 percent down payment, but they should be aware of the trade-offs, Gumbinger says.
People who make smaller down payments typically need to pay mortgage insurance, which increases their monthly housing costs and slightly raises the salary they need to comfortably afford their homes, Gumbinger said.
The Washington Post and the Post-Dispatch contributed to this report.