Maryland schools are some of the best in the country, that's according to a new study by WalletHub.
The site compared school systems from all 50 states and Washington, D.C. looking at student drop-out rates, test scores, bullying rates, and the ratio of students to teachers.
Maryland was ranked 8th overall, taking 10th place in quality and 20th in safety. Maryland was also 13th when it came to states spending the most on elementary and secondary schools.
Massachusetts took the top spot in the study, with New Jersey, Connecticut, New Hampshire and Vermont rounding out the top 5.
Virginia was ranked 6th, with Delaware coming in 19th and Pennsylvania in 28th. Washington, D.C. was ranked 49th.
You can see all of the results from WalletHub's best and worst school systems for 2018 here .