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 Between = Σ nᵢ × (meanᵢ − grand mean)²
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:

One-way ANOVA, Group 1: 85,90,88,92 | Group 2: 78,82,80,75 | Group 3: 95,91,89,94
Grand meanF-statisticdf (between, within)p-value
86.5823.172, 90.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.
Note: A significant ANOVA result tells you the groups differ somewhere, not which specific pair. Follow-up (post-hoc) pairwise comparisons are needed to identify exactly which groups differ.

How to Use This Calculator

  1. 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).
  2. Select Calculate.
  3. 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.