LANSING, Mich. (Michigan News Source) – New rankings are out regarding the best states to live in, and Michigan is sitting in the middle.

According to a new WalletHub survey, Michigan is ranked as the 30th best state in the country to live in.

MORE NEWS: Illegal Mexican National Charged with Home Invasion and Sexual Assault in St. Joseph County

WalletHub, a financial website, compared the 50 states on dozens of factors including housing costs, income growth and education rate.

Massachusetts was ranked the best state; Mississippi took home last place.