| Index | Petersburg | West Virginia | National |
| Average Test Scores | n/a | n/a | 48% |
| Student/Teacher ratio | 16:1 | 15:1 | 16:1 |
| Total public schools | 4 | 509 | 79,221 |
| Total private schools | 2 | 115 | 24,874 |
| Total post-secondary schools | 1 | 78 | 7,963 |

| Index | Petersburg | West Virginia | National |
| Completed 8th grade | 82.7% | 80.9% | 84.3% |
| Completed high school | 77.9% | 78.6% | 83.0% |
| Completed some college | 41.5% | 44.9% | 59.4% |
| Completed associate degree | 20.7% | 26.3% | 38.5% |
| Completed bachelors | 14.6% | 19.6% | 30.3% |
| Completed masters | 7.3% | 7.7% | 11.5% |
| Completed professional degree | 1.0% | 2.1% | 3.3% |
| Completed doctorate | 0.6% | 0.8% | 1.3% |
There are a total of 4 public schools, 2 private schools and 1 post-secondary schools in Petersburg. Using the proficiency score averages, the average test scores for Petersburg, WV schools is n/a. The average student to teacher ratio is 16:1. In Petersburg, WV, an average of 82.7% of students have completed 8th grade and an average of 77.9% have completed high school.
| City | Population | Avg. Test Scores | National Avg. |
| Petersburg, WV | 2,684 | n/a |
| City | Population | Avg. Test Scores | National Avg. |
| Union, MS | 2,684 | 58% | 20.8% |
| Bennett, CO | 2,684 | 32% | 32.6% |
| Conrad, MT | 2,685 | 41% | 14.2% |
| Salina, UT | 2,683 | 44% | 9.4% |
| Kamas, UT | 2,683 | 48% | 0.7% |
| Petersburg, WV | 2,684 | n/a |