We often hear about certain cities with ridiculous overpriced homes, such as San Francisco or New York. But what states are good or bad values for purchasing a house?

The website How Much recently ran a study of the average home prices in every U.S. state, and then calculated how much money you would need to make in a year to afford that home (based on a 30 year mortgage with a 10 percent down payment). Here were there results:

salary to afford average home in every state

If you're wondering, here were the five states where you would need the highest salary to afford the average home.

1. Hawaii: $153,520 per year for a house worth $610,000

2. Washington, DC: $138,440 per year for a house worth $549,000

3. California: $120,120 per year for a house worth $499,900

4. Massachusetts: $101,320 per year for a house worth $419,900

5. Colorado: $100,200 for a house worth $415,000

And if you were wondering what the five cheapest states are, here you go:

1. West Virginia: $38,320 per year for a house worth $149,500

2. Ohio: $38,400 per year for a house worth $149,900

3. Michigan: $40,800 per year for a house worth $160,000

4. Arkansas: $41,040 per year for a house worth $161,000

5. Missouri: $42,200 per year for a house worth $165,900

So basically you have to be super successful to live in a beautiful place like Hawaii, or you can make a modest amount of money and live in Cleveland.

Such is the tragedy of life.

(h/t How Much)