Many Americans can only dream of building a $1.5 million nest egg to supplement their Social Security benefits — and even that much may not guarantee lifelong financial security, depending on where you live.

A new GOBankingRates analysis highlights just how dramatically costs vary across the country. In the most expensive state, a $1.5 million retirement fund would run out roughly three times faster than in the least expensive one.

To calculate how long $1.5 million might last in every state, GOBankingRates blended data from the Bureau of Labor Statistics, the Social Security Administration and the Missouri Economic Research and Information Center.

Also see how long $1 million will last.