Chris Ryan/Getty Images
- The real-estate market is booming, but homes are overall less affordable.
- WalletHub recently ranked the best cities in the US to buy a house, based on the local real-estate market and the affordability and economic environment.
- Seven of the top 15 cities to buy a house are in Texas.
- Visit Business Insider's homepage for more stories.
The real-estate market is soaring.
Falling unemployment rates and rising housing prices have led to a thriving market, according to WalletHub. However, rising mortgage rates mean less affordable homes.
So, where are the best places to buy a house? Per WalletHub, the answer is about more than square footage and architectural style - it's also about how healthy the local housing market is and whether people living there can actually afford to buy homes.
To answer this question, the personal finance website compared 300 US cities of various sizes across two key categories: their local real-estate market and their affordability and economic environment. It evaluated 23 metrics within these larger categories, from median home-price appreciation and home sales turnover rate to job growth and foreclosure rates.
Each metric was weighted and graded on a 100-point scale - a score of 100 indicated the healthiest possible housing market. WalletHub then calculated each city's weighted average for each metric to determine its overall score in the final ranking. Note that no city scored perfectly: The top-ranked city on the list came in at 73.68.
Texas took over the list - seven cities in the state dominate the top 15.
Here are the best cities in the US to buy a house, ranked. Note that all median home values are sourced from Zillow.