Seattle is the No. 31 least-affordable housing market in the country, according to the RealtyHop Housing Affordability Index.
The index measures projected median incomes, median for-sale home listings, taxes and other data to calculate the share of median income needed to afford the median home. It then ranks the 100 largest cities in the U.S. in terms of affordability.
A Seattle household earning the median annual salary of $104,900 would need to spend 36.37% of that salary to afford the median-priced home of $679,000, the index said.
Miami surpassed New York City this month as the least-affordable housing market in the United States. The index calculates a Miami household earning the median annual salary of $43,400 would need to contribute 78.71% of its income to own the median-priced home of $589,000.
The top 5 least-affordable cities after Miami and New York are Los Angeles, Jersey City, N.J., and Newark, N.J.
Twelve of the top 18 least-affordable cities in the nation are in California.
The most affordable cities are, in order: Wichita, Kan.; Fort Wayne, Ind.; Detroit; Lubbock, Texas; and Cleveland.