| Index | Martinsburg | Iowa | National |
| Average Test Scores | n/a | 69% | 48% |
| Student/Teacher ratio | n/a | 13:1 | 16:1 |
| Total public schools | n/a | 1,101 | 79,221 |
| Total private schools | n/a | 208 | 24,874 |
| Total post-secondary schools | n/a | 96 | 7,963 |

| Index | Martinsburg | Iowa | National |
| Completed 8th grade | 85.1% | 89.2% | 84.3% |
| Completed high school | 78.4% | 87.7% | 83.0% |
| Completed some college | 44.6% | 59.8% | 59.4% |
| Completed associate degree | 32.4% | 38.4% | 38.5% |
| Completed bachelors | 12.2% | 27.2% | 30.3% |
| Completed masters | 4.1% | 8.7% | 11.5% |
| Completed professional degree | 0.0% | 2.7% | 3.3% |
| Completed doctorate | 0.0% | 1.1% | 1.3% |
There are a total of n/a public schools, n/a private schools and n/a post-secondary schools in Martinsburg. Using the proficiency score averages, the average test scores for Martinsburg, IA schools is n/a. The average student to teacher ratio is n/a. In Martinsburg, IA, an average of 85.1% of students have completed 8th grade and an average of 78.4% have completed high school.
| City | Population | Avg. Test Scores | National Avg. |
| Sigourney, IA | 1,953 | 80% | 65.6% |
| Packwood, IA | 609 | 69% | 44.1% |
| Fairfield, IA | 10,625 | 68% | 41.0% |
| Ottumwa, IA | 25,168 | 60% | 25.3% |
| Fremont, IA | 830 | 50% | 4.2% |
| Martinsburg, IA | 138 | n/a |
| City | Population | Avg. Test Scores | National Avg. |
| Tupman, CA | 139 | 27% | 43.8% |
| Steptoe, WA | 139 | 50% | 4.2% |
| Aleknagik, AK | 139 | 50% | 4.2% |
| Monument, OR | 137 | 50% | 4.2% |
| Wainwright, OK | 139 | 25% | 47.9% |
| Martinsburg, IA | 138 | n/a |