It's September, and the nation’s students are returning to class, but where they get their public school education may determine where they get into college.

For the past two years, states have struggled with the challenge of providing students enrolled in their public school systems with an education during the Covid-19 pandemic. Some states rose to the challenge more successfully than others, according to a new WalletHub report.

To determine the top-performing public school systems in America, WalletHub compared the 50 states and the District of Columbia across two key dimensions of “Quality” and “Safety” by evaluating 32 relevant metrics. Each metric was graded on a 100-point scale, with a score of 100 representing the highest quality of public K-12 education. WalletHub then determined the weighted average of each state and the District of Columbia across all metrics to calculate its overall score and rank order.

Here, in ascending order, are the top 10 states with the best public school systems.

10. Wisconsin

With a ranking of 23 in state spending, the Badger State did not skimp on financing a quality public school system education, even during the pandemic. Wisconsin ranks 31st in safety and fifth in Quality. Total Score: 58.03 out of 100.