ANOVA calculator

This ANOVA calculator runs a one-way analysis of variance: it tests whether the means of three or more independent groups are all equal. Paste each group’s values and read the full ANOVA table, the F statistic, the p value and eta squared, with a sentence ready for your results section.

Your numbers are calculated in your browser. Nothing you enter is sent or stored.

The numbers stay in your browser; nothing is uploaded.

At least one group mean differs from the others (p = .007).

SourceSSdfMSFp
Between26213130.0066
Within661
Total328
Eta squared (η²)
0.813
Group 1
M = 2.00, SD = 1.00, n = 3
Group 2
M = 3.00, SD = 1.00, n = 3
Group 3
M = 6.00, SD = 1.00, n = 3

To report

F(2, 6) = 13.00, p = .007, η² = .81

Pairwise comparisons (Tukey HSD and Bonferroni)

PairDifferencetTukey pBonferroni p
1 vs 2-1-1.2250.48270.7997
1 vs 3-4-4.8990.00650.0081
2 vs 3-3-3.6740.02420.0312

t-tests on the pooled within-group variance; each p is multiplied by the number of comparisons. Read them only if the overall F is significant.

Check your result: the sums of squares must add up: SS between plus SS within equals SS total, 26 + 6 = 32 in the example, and the two degrees of freedom add up to N − 1 (2 + 6 = 8). F is MS between divided by MS within: 13 ÷ 1 = 13.00.
groups per analysis
2–10
groups per analysis
F in the worked example, p = .0066
13.00
F in the worked example, p = .0066
eta squared in the example
0.81
eta squared in the example
pairwise methods: Tukey HSD and Bonferroni
2
pairwise methods: Tukey HSD and Bonferroni
  • One-way ANOVA, 2 to 10 groups
  • Full table: SS, df, MS, F, p
  • Eta squared effect size
  • Tukey HSD and Bonferroni pairwise tests
  • Runs in your browser, free

01

How to use the ANOVA calculator

  1. Paste the values for each group into its own box. A column copied from Excel works. Groups can have different sizes.
  2. Press “Add a group” for a fourth group or more.
  3. Read the ANOVA table. It updates as you type.
  4. If the result is significant, read the pairwise comparisons below the table to see which groups differ.
07.815145%test statistic
A right-tail p value. Statistics such as chi-square, F and H can only be zero or positive, and larger values mean a worse fit to the null hypothesis. The p value is the area to the right of your statistic. The curve shown has 3 degrees of freedom; 5% of its area lies beyond 7.815.

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.

SourceSSdfMSFp
Between2621313.000.0066
Within661
Total328

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

Read the full methodology · Who makes Sciloom

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.

Only two groups? The t-test calculator gives the confidence interval of the difference as well.
Free to start, no sign-up.
Back to the tool ↑

More research tools