If you're happy and you know it, you probably live in Wyoming. The Cowboy State ranks second in a new national Gallup survey measuring emotional and physical well-being.

Respondents were asked to rate five aspects of their lives: social relationships with friends and family, financial security, physical health, career satisfaction, and a sense of community. Wyoming ranked among the top five states in three of the five categories, career, community, and physical well being, sixth for financial well being, and 18th for social well-being. With an overall composite score of 64.2, Wyoming finished just behind Hawaii as the second-happiest state in the country.

Alaska, Montana, and Utah rounded out the top five. Colorado and South Dakota ranked sixth and ninth, respectively. Nebraska and Idaho finished 18th and 22nd in the survey.

The least happy states are in midwest and deep south. Indiana had the lowest score in the well-being index, followed by Illinois, Louisiana, Alabama, and Oklahoma.