One-Way ANOVA Calculator
Compare the means of three or more groups from raw data. Paste your groups and get the full ANOVA table — sum of squares, degrees of freedom, mean squares, the F-statistic, an exact p-value and effect size (η², ω²) — with a plain-English verdict, computed entirely in your browser.
How it works
One-way ANOVA (analysis of variance) tests one null hypothesis: that every group is drawn from a population with the same mean. It answers this by comparing two independent estimates of the underlying variance — one built from how far the group means sit from the overall mean, the other from the spread inside each group. The method follows the NIST/SEMATECH e-Handbook of Statistical Methods §7.4.3.
Let there be k groups; group i has nᵢ observations and total N = Σ nᵢ. The calculator carries out these steps:
- Means. Compute each group mean x̄ᵢ and the grand mean x̄ over all N values.
- Between-groups sum of squares.
SSB = Σ nᵢ (x̄ᵢ − x̄)²with df = k − 1. This grows when the group means are far apart. - Within-groups (error) sum of squares.
SSW = ΣΣ (xᵢⱼ − x̄ᵢ)²with df = N − k. This is the noise inside the groups. - Mean squares. MSB = SSB / (k − 1) and MSW = SSW / (N − k). Each is a variance estimate; under the null they estimate the same quantity.
- F-statistic.
F = MSB / MSW, referenced to the F distribution with d1 = k − 1 and d2 = N − k degrees of freedom. A large F means the between-group signal beats the within-group noise. - p-value. The upper-tail probability
p = I_{d2/(d2+d1·F)}(d2/2, d1/2), computed exactly through the regularised incomplete beta function (Abramowitz & Stegun §26.6.2) — the same numerical routine that powers this site's t-test tool. The critical value F* at your α is found by inverting the same relation, so it matches a printed F table. - Effect sizes. η² = SSB / SST is the fraction of variation explained by group membership; ω² = (SSB − (k − 1)·MSW) / (SST + MSW) is the less biased version. The identity SST = SSB + SSW is checked both ways and shown as a credibility line under the results.
ANOVA rests on three assumptions: independent observations, approximately normal groups, and roughly equal variances. When variances differ sharply, Welch's ANOVA is safer; for ranked or heavily skewed data, the non-parametric Kruskal–Wallis test applies instead.
Worked examples
Frequently asked questions
Sources & references
- NIST/SEMATECH e-Handbook §7.4.3 — Are the means equal? (one-way ANOVA table)
- NIST/SEMATECH e-Handbook §1.3.6.6.5 — F Distribution
- Abramowitz & Stegun §26.6 — F (variance-ratio) distribution and the incomplete beta
The formulas on this page were last cross-checked against the NIST e-Handbook on 2026-07-08. Both worked examples reconcile to the calculator to at least three significant figures, and the ANOVA-table identity SST = SSB + SSW is verified in the results panel.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a bug, edge case, or want to suggest an improvement?
Email me at [email protected] — most fixes ship within 24 hours.