If your retirement plans include sipping a Mai Tai on a warm sandy beach, consider a ranking of best states to retire before you make those plans.

The 50 U.S. states vary in their ability to support residents in retirement, and Americans seem to be aware of this: 47 percent say they are considering moving to a different state after they retire, according to a 2017 Bankrate survey.

To help people shop for a retirement domicile, Bankrate analyzed all state and ranked their ability to provide the services,  economy and tax policies most beneficial to people in retirement.

Bankrate used government and expert sources to compare states, and considered the needs for a life of retirement. The survey analyzed and ranked the cost of living, taxes, health care quality, weather, crime, cultural vitality and well-being.

These, according to Bankrate, are the best states, in ascending order, to retire in:

10. Mississippi

The cost of living score ranked highest among all the states. Also, the weather and proximity to beaches makes Mississippi a viable option for retirees.