ANOVA Calculator
Comparing More Than Two Groups Without Stacking Up T-Tests
Running a t-test on every possible pair of groups inflates the chance of a false positive the more comparisons you make. One-way ANOVA (Analysis of Variance) solves this by testing all groups at once: it asks whether the variation between group means is large compared to the variation within each group, producing a single F-statistic and p-value for the whole comparison.
The Formula
SS Within = ΣΣ (x − meanᵢ)²
MS Between = SS Between ÷ (k−1) MS Within = SS Within ÷ (N−k)
F = MS Between ÷ MS Within
k is the number of groups and N is the total number of observations across all groups. A large F means the differences between group means are large relative to the natural spread within each group.
Worked Example: Comparing Three Teaching Methods
Test scores from three groups taught with different methods:
| Grand mean | F-statistic | df (between, within) | p-value |
|---|---|---|---|
| 86.58 | 23.17 | 2, 9 | 0.00028 |
A p-value this small provides strong evidence that at least one teaching method produces a genuinely different average score — though ANOVA alone doesn't say which group(s) differ from which.
Where This Matters
- Educational research — comparing outcomes across multiple teaching methods, curricula, or interventions at once.
- Agricultural and industrial experiments — ANOVA originated in comparing crop yields across several treatments simultaneously.
- Marketing experiments — testing more than two ad variants, price points, or landing pages in a single analysis.
- Manufacturing — comparing output consistency across multiple machines, shifts, or suppliers.
How to Use This Calculator
- Enter each group's comma-separated values, with groups separated by semicolons (for example,
4,8,15,16; 23,42,8,4; 1,2,3,4). - Select Calculate.
- The result shows each group's mean, the sum-of-squares breakdown, the F-statistic, and the p-value.
Related Calculations
For comparing just two groups, the T-Test Calculator is simpler and equivalent for that case. ANOVA's F-statistic uses the same distribution as the F-Test Calculator.