We have written a lot recently about rapid growth in the supply of homes for sale in many markets such as San Jose and Seattle. But with both home prices and interest rates up from a year ago, both the number and share of homes for sale that are affordable to a typical household has actually decreased even as total homes for sale are increasing.

For this report we considered all homes that were active on the market at any point in 2018 and 2017. We calculated the share of homes in each metro area that were affordable during each year to a household making the median income in that metro area, assuming a 20 percent down payment, an interest rate of 4.64 percent for 2018 and 3.95 percent for 2017, and a monthly mortgage payment no more than 30 percent of gross income.

Just 14 percent of homes that were on the market in 2018 in the San Jose metro area were affordable on the median household income in the area of $117,000. This is a big drop from 2017, when 26 percent of homes that were for sale were affordable. In Los Angeles, 16 percent of homes for sale were affordable in 2018, down from 20 percent in 2017. In Seattle the share of affordable homes for sale dropped from 58 percent in 2017 to 46 percent in 2018.

Home price gains and interest rate increases through 2018 combined to considerably reduce home affordability, so even though the number of homes for sale is increasing the number of affordable homes on the market has decreased in most metro areas.

“Homeownership is increasingly out of reach for the typical American,” said Redfin chief economist Daryl Fairweather. “Over the last few years builders have focused on luxury homes, and there hasn’t been enough construction of affordable starter homes.”

In many metro areas, even as the number of homes for sale has increased, the number of affordable homes for sale has shrunk over the past year. In the San Diego area, there were 10 percent more homes for sale during 2018 than 2017, but the number of affordable homes for sale fell 16 percent. In the Seattle metro, there were 4 percent more homes for sale, but the number of affordable homes for sale fell 17 percent.

Get local insights at a free Home Buying class

Although the share of homes for sale that were affordable on a median income fell from 2017 to 2018 in all 49 of the metro areas we analyzed, there were a few metro areas where the number of affordable homes for sale increased, including Hartford, CT (+19%), Jacksonville, FL (+9%) and Nashville, TN (+4%).

Homebuyers looking for affordable options still have plenty of choices in metro areas like St. Louis (84%), Minneapolis (82%) and Pittsburgh (82%). Strong growth in jobs and wages may also help buyers make up some lost ground as well.

“We expect builders to shift their attention to more affordable homes during 2019,” added Fairweather, “which along with rezoning efforts by local governments should reduce this pressure to some degree over time.”

Using MSA-level income data from the US Census Bureau and 30-year fixed rate mortgage data for December 2018 (4.64%) and December 2017 (3.95%) from Freddie Mac, we calculated a maximum affordable mortgage payment for each metro area in December 2017 and December 2018. We then analyzed all home listings that were active on the market at any time during 2018 and any time during 2017, using the list price, HOA dues, property taxes, and insurance, assuming a 20 percent down payment to determine whether the mortgage payment on the home would fall under a 30 percent affordability threshold for the local metro area.

For more information about the survey and its findings, contact Redfin Journalist Services at press@redfin.com.