📊
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

One-Way ANOVA Calculator

Compare the means of 2 to 10 groups with the F test, the full ANOVA table and eta squared

Updated October 2026

🧮
700+ calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com
One-way ANOVA tests whether several group means are equal by comparing the variation between groups with the variation within them: F = MS(between) ÷ MS(within). For the NIST/SEMATECH e-Handbook’s resistor data (three temperatures, five resistors each), the calculator gives F(2, 12) = 9.59, p = 0.00325, matching the handbook, and η² = 0.615. Since 9.59 is above the critical value of 3.89 at α = 0.05, the means are not all equal.

How ANOVA Is Calculated

With k groups and N values in total: the between-groups (treatment) sum of squares is Σ nᵢ(meanᵢ − grand mean)², with k − 1 degrees of freedom; the within-groups (error) sum of squares is the squared deviations of each value from its own group mean, with N − k degrees of freedom; the two add to the total sum of squares. Each sum of squares divided by its degrees of freedom is a mean square, and F = MST ÷ MSE. The p-value is the chance of an F at least that large from the F distribution with (k − 1, N − k) degrees of freedom if all population means were equal.

Worked example (NIST 7.4.3.4). Group totals are 26.7, 38.6 and 42.8, the grand total 108.1, so the correction for the mean is 108.1² ÷ 15 = 779.041. The raw sum of squares is 829.390, giving SS(Total) = 45.349. SST = 26.7²/5 + 38.6²/5 + 42.8²/5 − 779.041 = 27.897, and SSE = 45.349 − 27.897 = 17.452. MST = 27.897 ÷ 2 = 13.949, MSE = 17.452 ÷ 12 = 1.454, and F = 9.59 with p = 0.00325.

The ANOVA Table Explained

SourceSSdfMSF
Treatments (between)27.897213.9499.59
Error (within)17.452121.454
Total (corrected)45.34914

If the group means were all equal, both mean squares would estimate the same error variance and F would be near 1. A large F says the group means differ more than the scatter within groups would explain.

Example Results

DatadfFpη²
NIST resistor example (3 temperatures, n = 5 each)2, 129.590.003250.615
Three teaching methods (made-up test scores, n = 6 each)2, 1531.634.16e-060.808
Unequal group sizes (made-up, n = 4, 7, 3)2, 117.070.010630.562
No real difference (made-up, n = 5 each)2, 120.050.948000.009

The last three data sets are made up to show the patterns: well-separated means give a huge F, unequal group sizes are handled by weighting each group mean by its n, and overlapping groups give F below 1 and a large p.

When to Use ANOVA, and Its Assumptions

Use one-way ANOVA to compare the means of three or more independent groups on one numeric outcome, such as yields under several fertilizers. With exactly two groups it gives the same answer as the pooled two-sample t-test (F = t²). The test assumes independent observations, roughly normal data within each group and similar variances across groups. Check by plotting each group and comparing standard deviations; with very unequal variances, Welch’s ANOVA is safer, and with strongly non-normal data or ranks, the Kruskal–Wallis test.

Effect Size

A small p-value says the means differ; it does not say by how much. Eta squared, η² = SS(between) ÷ SS(total), is the share of the total variation explained by group membership: 0.615 in the NIST example. With large samples, tiny differences become significant, so report η² (or the group means themselves) alongside p.

Post-Hoc Tests and Two-Way ANOVA

A significant F says at least one mean differs, not which one. Tukey’s honestly significant difference test compares every pair while holding the overall error rate at α; running many separate t-tests instead inflates false positives. If you have two grouping factors, such as fertilizer and watering level, use a two-way ANOVA, which also tests their interaction. This calculator does not run post-hoc tests or two-way designs.

Common Mistakes

Running many t-tests instead of one ANOVA. Three pairwise tests at 0.05 have a much larger combined chance of a false positive.

Using it for repeated measures. The same subjects measured several times need a repeated-measures design.

Reading “not significant” as “equal.” A large p means the data cannot show a difference, not that none exists.

Ignoring very unequal variances, especially with unequal group sizes.

Frequently Asked Questions

How is ANOVA calculated?
Split the total sum of squares into between-groups and within-groups parts, divide each by its degrees of freedom (k − 1 and N − k) to get mean squares, and take F = MS(between) ÷ MS(within). The p-value comes from the F distribution.
How do I use this ANOVA calculator?
Type or paste each group’s values on its own line, separated by commas or spaces, choose a significance level and run it. You get the ANOVA table, F, p, the critical F and η².
What is the difference between one-way and two-way ANOVA?
One-way ANOVA has one grouping factor. Two-way ANOVA has two factors and also tests whether they interact.
One-way ANOVA vs t-test: which should I use?
For two groups they are equivalent (F = t² for the pooled t-test). For three or more groups use ANOVA, which tests all means at once instead of inflating errors with many t-tests.
One-way ANOVA vs Kruskal–Wallis?
Kruskal–Wallis compares groups using ranks and does not assume normal data; ANOVA compares means and is more powerful when its assumptions hold.
What does a significant ANOVA result mean?
At least one group mean differs from the others. A post-hoc test such as Tukey’s HSD shows which pairs differ.
What is a good eta squared?
It depends on the field; it is the share of variation explained by the groups. Report it with the group means so readers can judge the size of the difference.

How to Use This Calculator

  1. Enter each group on its own line — values separated by commas or spaces.
  2. Choose a significance level — 0.05 is the usual choice.
  3. Run the ANOVA — for the table, F and p.
  4. Read the effect size — and the group means before drawing conclusions.
📚 Sources & References
  1. [1] NIST/SEMATECH e-Handbook of Statistical Methods, 7.4.3.3 The ANOVA table and tests of hypotheses about means. Accessed Oct 22, 2026. www.itl.nist.gov
  2. [2] NIST/SEMATECH e-Handbook of Statistical Methods, 7.4.3.4 One-way ANOVA calculations. Accessed Oct 22, 2026. www.itl.nist.gov
✅ Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author