Americans’ lack of savings has caused financial experts to paint a dismal picture when it comes to retirement. Analysts at Blacktower Financial Management Group calculated that you would need to save approximately $386,100 over your lifetime to retire at 67. That means the youngest millennials — who currently are 24 — already should have stashed away $8,775. And the oldest millennials, now 39, should have saved $140,400 for retirement by now. For those who haven’t aggressively put money away for the future, that number could be tough to swallow.

Pinpointing the exact amount that you need to save to retire comfortably is a difficult task — and reaching that goal is even harder. According to the 2019 Planning and Progress Study by Northwestern Mutual, more than 22% of Americans have less than $5,000 saved for retirement, and nearly 50% plan on working past retirement age. Every day, 10,000 baby boomers turn 65, and 17% of them have less than $5,000 in their retirement funds.

Now, a $1 million nest egg certainly sounds like it would be enough to support you for the rest of your lifetime. But how long would that really last? It depends on where you live.

To determine how long $1 million in savings will last across the country, GOBankingRates analyzed data from the Bureau of Labor Statistics’ 2018 Consumer Expenditure Survey. This study found the number of years, months and days that $1 million will last by multiplying the annual expenditures by each state’s overall cost-of-living index. Annual costs then were multiplied by other annual expenditure figures, including cost of living, housing costs, utilities costs, transportation costs and healthcare costs. The states were ranked from the shortest to the longest period of time that $1 million will stretch.

Unfortunately, $1 million doesn’t last quite as long as you might think it would. If you live in one of the more expensive states, such as Hawaii or California, you shouldn’t quit your day job early, and $1 million won’t even cover your living expenses for 18 years in most Northeastern states. There is a bit more cushion in many Southern states, though, if you live there or plan on making a move. Find out how long $1 million in savings will last in your state.