The 16 U.S. states where you need to earn more than $70,000 to be financially secure

lechatnoir | Getty

When it comes to your finances, where you live matters.

That's because the annual cost of living in the U.S. can vary by as much as $80,000 between states.

The median annual "living wage" — defined as the minimum amount of money needed to cover expenses while saving for retirement — is $64,116 per household in the U.S., according to a new analysis provided by personal finance website GOBankingRates.

However, the spread between the states is stark. To stay on top of your finances, you'll need to make $134,805 in Hawaii. In Mississippi, you only need $55,441.

Here are the 16 states where residents need to earn at least $70,000 to be financially secure, ranked from highest to lowest living wage, as calculated by GOBankingRates.

  1. Hawaii: $134,805
  2. Massachusetts: $105,458
  3. California: $96,353
  4. New York: $87,897
  5. Alaska: $86,026
  6. Maryland: $81,879
  7. Vermont: $79,490
  8. Oregon: $79,238
  9. Washington: $78,810
  10. New Jersey: $77,776
  11. Connecticut: $75,907
  12. New Hampshire: $75,745
  13. Maine: $73,554
  14. Arizona: $72,394
  15. Rhode Island: $72,127
  16. Colorado: $71,316

It's not surprising that Hawaii has the highest living wage in the U.S. Geographically, it's isolated and imports many of its goods by sea, which is costlier than land transportation. Those expenses are typically passed onto consumers in the form of higher prices.

Additionally, housing supply is limited in Hawaii. As a result, Hawaiian residents spend more of their incomes on housing than residents of any other state.

Alaska — ranked fifth — is another state with a notoriously high cost of living. Similar to Hawaii, it's also relatively isolated and must import goods.

Otherwise, the rankings for highest living wage include states with large cities like New York, Los Angeles or Seattle, which tend to have higher living expenses compared with the rest of the country.

But despite the high costs, workers in large cities tend to earn higher wages. One reason is because large cities tend to have a more diverse and competitive job market, where specialized skills are in greater demand.

For the top 16 states in the rankings, the median household income is $81,334, well above the U.S. median of $66,279, according to GOBankingRates' analysis.

Living wage is defined as the income required to be able to put 50% toward necessities, 30% toward discretionary spending and 20% into savings. For the purposes of this analysis, estimates are based on the most recent Bureau of Labor Statistics and U.S. Census data available.

DON'T MISS: Want to be smarter and more successful with your money, work & life? Sign up for our new newsletter!

Get CNBC's free Warren Buffett Guide to Investing, which distills the billionaire's No. 1 best piece of advice for regular investors, do's and don'ts, and three key investing principles into a clear and simple guidebook.

I turned my property manager side hustle into a $3 million business in just 4 years
I turned my property manager side hustle into a $3 million business