Minnesota leads the nation for working fathers, according to a state-by-state analysis of work-life balance, health, financial well-being, and other factors from personal finance website WalletHub.

Behind Minnesota in the best-states ranking were New Hampshire, Massachusetts, Vermont and New Jersey. Wisconsin came in at number seven.

The analysis found that the worst states for working dads were Mississippi, Nevada, Arkansas, West Virginia and Louisiana.

The analysis weighted statistics on the unemployment rate for dads with kids under 18, men's life expectancy, average hours worked per day among males, child care costs, high school dropout rates and much more to come up with a ranking for each state.

Minnesota and Wisconsin also scored highly -- ranking number two and number three, respectively -- among best states for working moms, which WalletHub analyzed last month.

Read more about WalletHub's analysis and data sources here, as well as to see the full rankings.