Statistics & probability

One-way ANOVA calculator

Compare the means of two or more groups with an F test and an ANOVA table.

One-way ANOVA calculator
Esc to restore

Your inputs

Separate values with commas or spaces. 2 to 50 groups, up to 10,000 values each.

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Splits total variation into between-group and within-group sums of squares. F = (SSB ÷ (k − 1)) ÷ (SSW ÷ (N − k)) and the p-value is the upper tail of the F distribution. η² = SSB ÷ SST is the share of variance explained by group. Assumes independent observations, approximately normal residuals and similar group variances; unequal group sizes are allowed. A significant result does not say which groups differ.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Groups, one per line as “name: values”
Group A: 6, 8, 4, 5, 3, 4
Group B: 8, 12, 9, 11, 6, 8
Group C: 13, 9, 11, 8, 7, 12

Example result

Example result
SourceSum of squaresdfMean squareFp-value
Between groups842429.264705882350.00239877732939
Within groups68154.53333333333
Total15217

Group means: Group A 5 (n = 6); Group B 9 (n = 6); Group C 10 (n = 6). Assumes independent observations, roughly normal residuals and similar variances between groups. A significant F says only that at least one mean differs; follow up with a post-hoc test to find which.