Here's the salary you have to earn to buy a home in 15 major US cities

The mortgage website HSH.com has updated its estimate of how much annual income a household would need to buy a home in major cities in the US according to first-quarter 2015 data.

Several cities — Portland, Sacramento, Miami, and Denver — appear on the list of highest-priced metro areas for the first time.

The site looked at median home prices from the National Association of Realtors, along with interest rates for common 30-year, fixed-rate mortgages and property taxes, and insurance costs, to figure out how much money it would take to pay a median-priced home's mortgage principal, taxes, and insurance — and how much you would have to earn to afford it.