The ranking was mainly based on two factors. States were given a score for their educational attainment and for their quality of education.
RELATED: Sinclair to finalize purchase of Centerville church by end of March
Ohio scored near the bottom for educational attainment but ranked in the top 25 for its quality of education, according to WalletHub.
The top five most educated states, after Massachusetts, were Maryland, Connecticut, Vermont and Colorado. The five least educated states were Mississippi, West Virginia, Louisiana, Arkansas and Alabama, according to WalletHub’s ranking.