To a certain extent, identifying the “best” states to live in is wide open to interpretation. If your happiness is contingent upon the opportunity to shred gnarly waves, for example, chances are low that Kansas would even crack the top 40 on your personal list.

Having said that, some metrics for evaluating the nifty 50 aren’t so subjective—and it’s not only about income, either. To find out which states are “good” to live in, financial news website 24/7 Wall St. devised a rating system based on a few of these universally good qualities: Life expectancy at birth, bachelor’s degree attainment, and poverty rate. After all, a state with a high number of healthy, educated, financially stable people seems like a place you’d want to live, right?

The rating system is based on the United Nations Development Programme’s Human Development Index, which aims to assess the well-being of a nation’s population through similar statistics: Life expectancy at birth, mean years of schooling for adults over 25, and gross national income per capita.

Based on 24/7 Wall St.’s study, Massachusetts took the top spot. Of all residents aged 25 and older, 44.5 percent have at least a bachelor’s degree—the highest rate of any state. Their 10 percent poverty rate is the eighth lowest in the nation, and life expectancy at birth is 80.4 years, which beats the national average (79.1 years) by more than a year.

As far as regional trends go, Massachusetts isn’t alone in its greatness. Almost the entire Northeast ranks in the top 20, including New Jersey, Connecticut, Maryland, New Hampshire, Vermont, New York, and Rhode Island.

The number-two spot went to Colorado—low on surfing opportunities, perhaps, but plenty of gnarly slopes to shred—which actually edged out Massachusetts in life expectancy (80.5 years) and poverty rate (9.6 percent). Its neighbors in Utah and Nebraska made the top 20, too.

24/7 Wall St. also points out the cyclical nature of these metrics. People with advanced degrees earn more money, which they use to afford better healthcare and establish healthier lifestyles, so they live longer.

Then again, a high number of college graduates means nothing if you’re mainly just looking to settle down near the nation’s best roller coasters or curiosity shops (none of which, by the way, are located in Massachusetts). As for those of you looking for that perfect wave? Hawaii claimed the fourth spot.

Scroll on to see if your home state ranks in the top 20, and read more about 24/7 Wall St.’s study here.

  1. Massachusetts

  1. Colorado

  1. New Jersey

  1. Hawaii

  1. Connecticut

  1. Minnesota

  1. Maryland

  1. New Hampshire

  1. Washington

  1. Virginia

  1. Utah

  1. Vermont

  1. New York

  1. California

  1. Nebraska

  1. Illinois

  1. Rhode Island

  1. Oregon

  1. North Dakota

  1. Wisconsin