Buying a home is no easy task. You'll need to save up for a down payment, make sure your credit is in order, meet with mortgage lenders, and spend time shopping around.
But first, you'll want to consider where you're buying. After all, real estate agents don't harp about "location, location, location" for nothing.
New data from SmartAsset shows the best cities for first-time homebuyers — that is, where homes are affordable and it's easy to get a mortgage — considering seven factors:
- Mortgage lenders: the number of HUD-approved mortgage lenders in each city
- Value per square foot: the average home value per square foot
- Loan funding rate: the number of approved mortgage loans originated in 2015
- Affordability ratio: the ratio of median household income to median annual housing costs (within the first five years of ownership), including property taxes, closing costs, and homeowners insurance
- Market volatility: the standard deviation of quarterly annual housing price changes from the first quarter of 2011 to the fourth quarter of 2016
- Negative quarters since 2011: the number of quarters where home prices fell on a year-over-year basis, starting with the first quarter of 2011 and ending with the last quarter of 2016
- Homeowner stability index: the number of years homeowners stay in their homes and the number of homeowners with negative equity
SmartAsset gathered data for US cities with populations over 300,000 for a total of 64 cities and weighted each category equally to determine the final ranking (read the full methodology here).
While many cities in the Midwest and South — including San Antonio, Houston, Dallas, and others in Texas — proved exceptional for first-time homebuyers, Pittsburgh came out on top.
Read on to find out the best 15 cities to buy a first home, plus statistics on mortgages, affordability, and home value.
SEE ALSO: 7 pieces of homebuying advice you can't afford to ignore
15. Kansas City, Missouri

Number of mortgage lenders: 52
Loan funding rate: 78%
Average value per square foot: $85.75
Affordability ratio: 5.06
14. Corpus Christi, Texas

Number of mortgage lenders: 27
Loan funding rate: 66%
Average value per square foot: $90.33
Affordability ratio: 5.35
13. Arlington, Texas

Number of mortgage lenders: 19
Loan funding rate: 74%
Average value per square foot: $94.17
Affordability ratio: 4.81
See the rest of the story at Business Insider