| Index | Hartley | California | National |
| Average Test Scores | n/a | 43% | 48% |
| Student/Teacher ratio | n/a | 20:1 | 16:1 |
| Total public schools | n/a | 8,308 | 79,221 |
| Total private schools | n/a | 3,438 | 24,874 |
| Total post-secondary schools | n/a | 1,085 | 7,963 |

| Index | Hartley | California | National |
| Completed 8th grade | 87.4% | 81.1% | 84.3% |
| Completed high school | 87.0% | 79.8% | 83.0% |
| Completed some college | 63.9% | 61.5% | 59.4% |
| Completed associate degree | 27.4% | 39.8% | 38.5% |
| Completed bachelors | 18.4% | 32.0% | 30.3% |
| Completed masters | 7.1% | 11.9% | 11.5% |
| Completed professional degree | 1.5% | 3.9% | 3.3% |
| Completed doctorate | 0.4% | 1.6% | 1.3% |
There are a total of n/a public schools, n/a private schools and n/a post-secondary schools in Hartley. Using the proficiency score averages, the average test scores for Hartley, CA schools is n/a. The average student to teacher ratio is n/a. In Hartley, CA, an average of 87.4% of students have completed 8th grade and an average of 87.0% have completed high school.
| City | Population | Avg. Test Scores | National Avg. |
| Davis, CA | 71,215 | 64% | 34.0% |
| Vacaville, CA | 103,113 | 45% | 7.2% |
| Fairfield, CA | 121,000 | 39% | 19.1% |
| Winters, CA | 7,479 | 36% | 24.2% |
| Dixon, CA | 20,610 | 35% | 26.6% |
| Hartley, CA | 2,719 | n/a |
| City | Population | Avg. Test Scores | National Avg. |
| Dyer, TN | 2,719 | 38% | 21.4% |
| Marionville, MO | 2,718 | 56% | 17.4% |
| Dayton, WA | 2,718 | 58% | 20.8% |
| West Union, IA | 2,718 | 69% | 42.7% |
| Ocean View, DE | 2,718 | 78% | 62.5% |
| Hartley, CA | 2,719 | n/a |