01
How to use the ANOVA calculator
- Paste the values for each group into its own box. A column copied from Excel works. Groups can have different sizes.
- Press “Add a group” for a fourth group or more.
- Read the ANOVA table. It updates as you type.
- If the result is significant, read the pairwise comparisons below the table to see which groups differ.
02
How one-way ANOVA works
ANOVA splits the total variation in the data into the part between the group means and the part within the groups, with k groups and N values in all:
SS between = Σ nᵢ (group meanᵢ − grand mean)²
SS within = Σ Σ (x − its group mean)²
F = (SS between ÷ (k − 1)) ÷ (SS within ÷ (N − k))
If the groups come from populations with the same mean, the two mean squares estimate the same variance and F is near 1. A large F means the group means are further apart than chance would explain.
03
Worked example
The calculator opens with three groups: 1, 2, 3; 2, 3, 4; and 5, 6, 7. Their means are 2, 3 and 6, and the grand mean is 3.67.
| Source | SS | df | MS | F | p |
|---|---|---|---|---|---|
| Between | 26 | 2 | 13 | 13.00 | 0.0066 |
| Within | 6 | 6 | 1 | ||
| Total | 32 | 8 |
Reported as: F(2, 6) = 13.00, p = .007, η² = .81. The groups do not all share one mean.
04
Eta squared
η² = SS between ÷ SS total
Eta squared is the share of the total variation that group membership accounts for: 26 ÷ 32 = 0.81 in the example. Cohen (1988) suggested 0.01, 0.06 and 0.14 as small, medium and large. In small samples η² overstates the population effect.
05
Assumptions and next steps
- Independent observations: each subject is in one group and measured once. Repeated measurements on the same subjects need a repeated-measures ANOVA.
- Roughly normal data in each group, or groups large enough for that not to matter. For skewed data in small groups, use the Kruskal-Wallis test calculator.
- Similar spread in each group. Compare the SDs the calculator lists; if the largest is more than about twice the smallest, use Welch’s ANOVA.
- A significant F is not the end. It says the means are not all equal. The pairwise table under the result shows which pairs differ, two ways: Tukey’s HSD, which is built for comparing every pair and uses the Tukey-Kramer form when group sizes differ, and t-tests on the pooled within-group variance with a Bonferroni correction. Report one of them, and say which.
- With exactly two groups, ANOVA gives the same p value as Student’s t-test (F = t²); the t-test calculator adds the confidence interval.
06
Common mistakes with one-way ANOVA
- Running every pair as its own t-test. Five groups need ten tests, and at α = .05 the chance of at least one false positive is then 1 − 0.95¹⁰ = 0.40, if the tests were independent and every null were true.
- Reading a significant F as “every group differs”. In the worked example F is significant, but Tukey’s HSD finds that groups 1 and 2 do not differ (p = .48); only group 3 stands apart (p = .006 and p = .024).
- Treating eta squared as the population effect. The example’s η² is 0.81; omega squared, which corrects for the small sample, is (26 − 2 × 1) ÷ (32 + 1) = 0.73.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). ANOVA calculator. Zebra Nine Studio Inc. https://sciloom.si/anova-calculator
Frequently asked questions
What does ANOVA tell you?
Whether the means of several groups are all equal. A small p value means at least one group mean differs; it does not say which one.
Why not run several t-tests instead?
Each test has its own chance of a false positive, and they add up: three groups need three t-tests, five groups need ten. ANOVA makes one test at the chosen error rate.
What are the degrees of freedom in ANOVA?
Between groups: the number of groups minus one. Within groups: the total number of values minus the number of groups. Both are reported with F, as in F(2, 6).
Do the groups need the same number of values?
No. One-way ANOVA works with unequal group sizes, though equal sizes make it more robust to unequal variances.