Pennsylvania, Delaware rank as some of the best states for retirement, study finds

Thinking about your future? Consider staying in Pennsylvania to retire.

Wallethub, a personal finance website, published its "2017 Best & Worst States to Retire" list earlier this week and the Keystone State earned a pretty coveted spot.

The website used data from the U.S. Census Bureau, Council for Community and Economic Research, U.S. Bureau of Labor Statistics and more to gather the findings. They based the rankings on three main factors including affordability, health care and quality of life.

Each of the three categories considered factors like cost of in-home services, poverty level, access to public transportation and life expectancy.

Out of 51 states – including the District of Columbia – Pennsylvania scored the No. 11 spot, one below Wisconsin and one above Montana.

Delaware was found at the No. 9 spot in the overall list while New Jersey ranked at the far bottom of the list at No. 46.

The Keystone State also ranked the No. 4 spot under the quality of life category, No. 20 for affordability and No. 32 for health care.

View the top 10 list below or check out WalletHub's complete findings here

1. Florida

2. Wyoming

3. South Dakota

4. Iowa

5. Colorado

6. Idaho

7. South Carolina

8. Nevada

9. Delaware

10. Wisconsin