(Undated) -- School programs in the country have been ranked from best to worst. Iowa ranks 20 out of 50 states and the District of Columbia. WalletHub has analyzed each school system based on performance, funding, safety, class size and instructor credentials. WalletHub gave Iowa a score of 53.71. Massachusetts is in first place with a score of 73.14. New Mexico is in last place with a score of 25.26.