ANOVA Calculator
One-way ANOVA from your group data: sums of squares, degrees of freedom, mean squares, the F statistic, its p-value and eta squared.
Result…
How it's calculated
SSb = Σ nᵢ (x̄ᵢ − x̄)², SSw = Σ Σ (x − x̄ᵢ)² MSb = SSb ÷ (k − 1), MSw = SSw ÷ (N − k) F = MSb ÷ MSw, p = P(F(k − 1, N − k) ≥ F) η² = SSb ÷ (SSb + SSw)
One-way analysis of variance tests whether the means of several groups could plausibly be equal, by comparing the spread between the group means with the spread of the values inside each group. If the groups really share one mean, the two mean squares estimate the same variance and F is near 1; a large F means the groups differ by more than their own scatter explains. With exactly two groups it gives the same p-value as a pooled (Student) t-test, with F = t². Eta squared is the share of the total variation explained by the groups; omega squared, in the steps, is a less biased version for small samples.
Your numbers, step by step
About the ANOVA calculator
This ANOVA calculator runs a one-way analysis of variance on your raw data: paste each group on its own line and it compares the spread between the group means with the spread inside the groups. It returns the sums of squares between and within groups, the degrees of freedom, the mean squares, the F statistic, the p-value, the critical F and eta squared, with omega squared in the steps. Students use it to check ANOVA tables for coursework; researchers and analysts use it to compare three or more teaching methods, diets, machines or ad versions on one measured outcome. Groups can have different sizes. The p-value comes from the F distribution through the regularised incomplete beta function, not a printed table, and every line of the working uses your own numbers.
How to use it
- Type or paste your data into “Groups (one per line)”: one group per line, values separated by commas or spaces.
- Choose the “Significance level (α)”, usually 0.05.
- Read the p-value, the F statistic and the degrees of freedom (between, within).
- Check the sums of squares, mean squares and eta squared in the results and steps to build an ANOVA table.
- If the result is significant, follow up with a post-hoc test to see which groups differ.
Worked example
Three groups of five scores: 18, 21, 24, 20, 22 (mean 21); 25, 27, 23, 29, 26 (mean 26); and 19, 17, 22, 20, 18 (mean 19.2). The grand mean is 22.067. SS between = 124.13 with 3 − 1 = 2 df, so MS between = 62.07; SS within = 54.8 with 15 − 3 = 12 df, so MS within = 4.567. F = 62.07 ÷ 4.567 = 13.59, the p-value is 0.000825 and the critical F at 0.05 is 3.885, so at least one group mean differs. η² = 124.13 ÷ 178.93 = 0.694: the groups explain about 69% of the variation.
Updated
Questions people ask
How do I calculate one-way ANOVA by hand?
Find each group mean and the grand mean. SS between adds up group size × (group mean − grand mean)²; SS within adds up (value − its group mean)². Divide each by its degrees of freedom (k − 1 and N − k) to get mean squares, and F is their ratio.
What does the F statistic mean in ANOVA?
F compares the variation between group means with the variation inside groups. If all groups share the same true mean, F is usually close to 1; a large F, with a small p-value, says the means differ by more than chance scatter would explain.
Is ANOVA with two groups the same as a t-test?
Yes: with two groups, one-way ANOVA gives the same p-value as the pooled (Student) t-test, and F equals t². The t-test calculator also offers Welch's test when the spreads differ.
What is a common mistake after a significant ANOVA?
Assuming you know which groups differ. ANOVA only says the means are not all equal; a post-hoc test such as Tukey's HSD, or planned comparisons, tells you which pairs differ while controlling the error rate.
What are the limits of one-way ANOVA?
It assumes independent observations, roughly normal data within each group and similar spreads, and it handles one factor only. With unequal group sizes and unequal spreads, Welch's ANOVA is safer, and the size of the effect matters as much as the p-value; see the effect size calculator for two-group comparisons.