PORTSMOUTH, Va. (WAVY) — A new study has ranked Virginia among one of the most educated states across the country.

In a recent study from WalletHub, Virginia ranks at the seventh spot nationwide when it comes to education.

Massachusetts tops all states in regard to educational attainment and quality of education, with Maryland coming in second. West Virginia was ranked last among the states.

For the study, WalletHub’s experts examined several key components including the impact of K-12 school quality on rates of high school completion and later college attendance and completion.

To view the study, CLICK HERE.

Check WAVY.com for the latest updates.