Practical learning guide

One-Way ANOVA Guide

One-way ANOVA compares variation among group means with variation inside the groups. It is an omnibus test: the result can indicate that the common-mean model fits poorly without identifying which specific group pairs differ.

3 min readStep-by-step methodUpdated 4 Nov 2026Published by LynaraOpen One-Way ANOVA Calculator →

Method

  1. Enter one independent numeric group per line.
  2. Calculate each group mean and the grand mean across all observations.
  3. Split total variation into between-group and within-group sums of squares.
  4. Divide each sum of squares by its degrees of freedom to obtain mean squares.
  5. Compute F = MS between ÷ MS within and use the F distribution with df₁ = k − 1 and df₂ = N − k for the upper-tail p-value.

Worked example

For the sample groups with means 5, 9 and 10, SS between = 84 and SS within = 68.

The resulting F is about 9.2647 with df (2, 15), p about 0.002399 and eta squared about 0.5526.

Notes

Open One-Way ANOVA Calculator

What an F test can tell you, and what it cannot

Suppose three independent groups have observed values 4, 5, 6; 5, 6, 7; and 8, 9, 10. Their sample means are 5, 6 and 9, so the between-group differences are visibly larger than some within-group differences. One-way ANOVA formalizes that comparison by dividing a between-group mean square by a within-group mean square to obtain an F statistic.

Even a statistically small p-value for the overall F test does not identify which specific pair of groups differs. Post-hoc comparisons and multiple-testing control may be needed, and assumptions about independent observations, residual behavior and variance should be checked first. NIST's ANOVA reference explains the decomposition and F test rather than treating the calculation as automatic proof of causation.

ANOVA compares group means through between- and within-group variation

One-way ANOVA asks whether several group means can reasonably be treated as equal under its model. The F statistic compares variability between group means with variability inside the groups. A larger ratio provides more evidence against the equal-means null hypothesis.

The test is omnibus: a significant result indicates that not all means are equal, but it does not identify which specific groups differ.

Check assumptions and follow-up questions separately

Independence comes from the study design, while strong outliers, severe non-normality in very small groups or large variance differences can affect the classical ANOVA approximation. Similar sample sizes can make the method more robust to some departures, but assumptions should still be reviewed.

After a significant omnibus test, use a suitable post-hoc procedure when pairwise differences matter. Report group summaries and an effect-size measure such as eta squared so practical magnitude is not reduced to the p-value alone.

Authoritative references

Primary or authoritative references for the external standard, scoring rule or identifier convention used on this page.

Editorial review and limitations

Content update: Updated with additional worked scenarios or primary-source references on 4 Nov 2026. Institution-specific grading rules, assignment instructions and publisher requirements can override a general example.
Verification: see the methodology and sources & verification pages. To report a reproducible error, use the contact page with the page URL, inputs and expected result.

Continue with the related tools

Use the linked tools for your own inputs and scenarios.

Browse all statistics calculators →

Keep learning

Related guides