One-way ANOVA calculator

Type each group as a list of numbers and separate the groups with semicolons or new lines. You get the F statistic, the p-value, degrees of freedom, between and within sums of squares, mean squares and eta squared.

One group per list, groups separated by semicolons or new lines. For example 6, 8, 4; 8, 12, 9; 13, 9, 11. From 2 to 12 groups.
Used only for the verdict line. 0.05 is the usual choice.
F statistic9.2647059
p-value0.0023987773
Degrees of freedom (between, within)
2, 15
Sum of squares between groups
84
Sum of squares within groups
68
Total sum of squares
152
Mean square between groups
42
Mean square within groups
4.5333333
Eta squared (η²)
0.55263158
Grand mean
8
At your α
p < α: the group means are not all equal

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Type the values of each group, separated by commas or spaces.
  2. Put a semicolon or a new line between groups.
  3. Read F and the p-value. Compare p with your α.

How it works

The total variation splits into two parts. SSB = Σ nᵢ(x̄ᵢ − x̄)² measures how far the group means are from the grand mean. SSW = Σ (x − x̄ᵢ)² measures the spread inside each group. Dividing by their degrees of freedom (k − 1 and N − k) gives the mean squares, and F is their ratio. The p-value is the upper tail of the F distribution with those degrees of freedom. Eta squared is SSB / (SSB + SSW).

Worked example

Groups 6, 8, 4, 5, 3, 4; 8, 12, 9, 11, 6, 8; 13, 9, 11, 8, 7, 12 have means 5, 9 and 10 and a grand mean of 8.

  • SSB = 6 × (9 + 1 + 4) = 84, SSW = 16 + 24 + 28 = 68
  • Degrees of freedom: 2 and 15, so MSB = 42 and MSW ≈ 4.533
  • F ≈ 9.265 and p ≈ 0.0024

Tips

  • With two groups, ANOVA gives the same p-value as a pooled two-sided t-test (F = t²).
  • A significant F does not tell you how large the difference is. Look at eta squared and the group means.

Frequently asked questions

What does a one-way ANOVA test?

Whether the means of several groups are all equal. The null hypothesis says they are; a small p-value says at least one group mean differs.

How is F calculated?

F = (SSB / (k − 1)) / (SSW / (N − k)), where SSB is the variation of group means around the grand mean, SSW is the variation inside the groups, k is the number of groups and N the number of values.

Which group differs if p is small?

ANOVA only says that some difference exists. To find which pairs differ you need a follow-up such as Tukey's test, which this calculator does not do.

What assumptions does the test make?

Independent observations, roughly normal values within each group and similar variances across groups. It is fairly robust when group sizes are equal.

More in Math

All tools in this category: Math ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.