Although the supply of homes for sale is up in many markets, both the number and share of homes that are affordable to a typical household has decreased from a year ago, according to a new report out today from Redfin.

The report considers all homes that were active on the market at any point in 2018 and 2017 and calculates 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.

Just 14% 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% of homes that were for sale were affordable. In Los Angeles, 16% of homes for sale were affordable in 2018, down from 20% in 2017. In Seattle the share of affordable homes for sale dropped from 58% in 2017 to 46% in 2018.

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

"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% more homes for sale during 2018 than 2017, but the number of affordable homes for sale fell 16%. In the Seattle metro, there were 4% more homes for sale, but the number of affordable homes for sale fell 17%.

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%).

Home buyers 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."

Read the full report.