Maine’s a nice place to live, but that’s not necessarily a good enough reason to retire here, according to a new state ranking of the best places to live in your golden years.

Wallethub — the eternal content fountain known for its city and state rankings — crunched the numbers on a variety of factors it says makes for a good place to retire.

The results don’t add up in Maine’s favor. The state ranked 30 out of all 50 states and Washington D.C., though it ranked relatively high in quality of life.

Source: WalletHub

The site took a bunch of different metrics and classified them in three groups: affordability, quality of life and health care — of which Maine ranked 37th, 11th and 24th, respectively.

For cost of living, it considered its own ranking of the best places to live based on taxes, as well as adjusted cost of living, whether the state taxes Social Security or pension income, and the annual cost of in-home services.

[MORE: Skowhegan, Caribou top ranking of tax-friendly places to retire in Maine]

You can probably guess which state ranked first. (Hint: your parents or grandparents probably live there.)

Yep, Florida topped the list. Rhode Island ranked dead-last.

There were some measures in which Maine fared well. The analysis considered Maine’s density of people age 65 and over a positive trait. And the state apparently has a high per-capita rate of museums.

[MORE: AARP lists Bangor a best place to retire on $30,000 a year]

Dan MacLeod

Dan MacLeod is the managing editor of the Bangor Daily News. He's an Orland native who moved to Portland in 2002 and now lives in Unity. He's been a journalist since 2008, and previously worked for the...