Audited 05 Aug 2026·Last updated 15 Sept 2026·5 citations·Tier 1·0 uses

ANOVA Calculator

One-way ANOVA calculator: enter three groups of observations and get the F statistic, between- and within-group sums of squares, and degrees of freedom.

ANOVA Calculator

One-way ANOVA F statistic
14
Primary result from the named standard variant.
Between-groups degrees of freedom
2
Within-groups degrees of freedom
9
Between-groups sum of squares
18.6667
Within-groups sum of squares
6

Background.

Do three groups really differ, or did sampling luck spread their averages apart? Analysis of variance answers by comparing two kinds of spread: how far the group means sit from the overall mean (between-group variation) against how much observations scatter inside their own groups (within-group variation). Their ratio — each first divided by its degrees of freedom — is the F statistic this page computes, along with every intermediate quantity a hand check or a homework write-up needs.

The intuition is a signal-to-noise ratio. If the group means differ only because of ordinary sampling noise, the between-group spread should be about the same size as the within-group spread, and F lands near 1. Real differences between groups inflate the numerator only, pushing F upward — an F of 14 says the between-group signal is fourteen times the noise floor, far beyond what chance produces with these sample sizes.

Fisher's construction solved a real problem that repeated t-tests cannot: comparing three groups pairwise runs three tests and compounds their false-positive rates, while ANOVA asks one question — are all means equal? — with one test at one significance level. A significant F licenses the follow-up question of which groups differ (post-hoc comparisons); a nonsignificant one ends the inquiry early.

This page implements the classic one-way, three-group case: paste each group's observations and read F, the degrees of freedom pair, and both sums of squares. The surrounding statistical machinery — p-values from the F distribution, equal-variance assumptions and their Welch remedy, repeated measures, factorial designs — stays with your statistics package, as the scope note says.

What is anova calculator?

One-way ANOVA (analysis of variance) is the standard test of whether several group means are all equal. It decomposes total variation into a between-groups sum of squares (SS_between, driven by group means straying from the grand mean) and a within-groups sum of squares (SS_within, the scatter of observations around their own group means), then forms F = (SS_between/(k−1)) / (SS_within/(N−k)) for k groups and N total observations. Under the null hypothesis of equal means, F hovers near 1; large values are evidence the groups genuinely differ, judged against the F distribution with (k−1, N−k) degrees of freedom.

How to use this calculator.

  1. Enter each group's observations as comma-separated numbers — the groups need not have equal sizes, though this page expects exactly three groups.
  2. Read the F statistic and the two degrees of freedom: df_between = k−1 = 2 here, df_within = N−k.
  3. Look up (or compute in any statistics tool) the p-value for F with those degrees of freedom — at df (2, 9), the 5% critical value is 4.26, so any F above it rejects equal means at that level.
  4. Use SS_between and SS_within to report effect size: η² = SS_between/(SS_between+SS_within) is the share of total variation explained by group membership.
  5. Treat a significant F as an invitation, not a conclusion: it says the means are not all equal — identifying which pairs differ needs post-hoc tests (Tukey HSD and kin), and the validity of all of it rests on independent observations with roughly equal group variances.

The formula.

F = (SSbetween/(k−1)) / (SSwithin/(N−k))

The decomposition is exact bookkeeping: for every observation, (x − grand mean) = (x − group mean) + (group mean − grand mean), and squaring and summing makes the cross-terms vanish, so SS_total = SS_within + SS_between. Each sum of squares is then scaled by its degrees of freedom — k−1 for between (k group means, one constraint from the grand mean), N−k for within (N observations, k fitted group means) — turning sums into mean squares, which are variance estimates. Under the null hypothesis both mean squares estimate the same error variance, so their ratio F = MS_between/MS_within is distributed as F(k−1, N−k) and concentrates near 1; group-mean differences add a positive term to the numerator's expectation only, which is why the test is one-tailed upward. The engine parses the groups, forms the means and both sums of squares, and evaluates F in Decimal arithmetic, rounding once at the output — the textbook computation, with the intermediate quantities exposed rather than hidden.

A worked example.

Example

Three teaching methods are tried on four students each. Scores: method A — 4, 5, 6, 5 (mean 5); method B — 7, 8, 9, 8 (mean 8); method C — 5, 6, 7, 6 (mean 6). The grand mean of all twelve scores is 76/12 = 6.333. Between-groups: each group mean's squared distance from the grand mean, weighted by its 4 students — 4×(5−6.333)² + 4×(8−6.333)² + 4×(6−6.333)² = 7.111 + 11.111 + 0.444 = 18.667 = SS_between, with k−1 = 2 degrees of freedom. Within-groups: every score's squared distance from its own group mean. Each group contributes (1+0+1+0) = 2, so SS_within = 6, with N−k = 12−3 = 9 degrees of freedom. The F ratio: (18.667/2) / (6/9) = 9.333/0.667 = 14. Against the F(2,9) distribution, whose 5% critical value is 4.26, an F of 14 is decisive (p ≈ 0.002): these methods do not share a mean. The effect size confirms it — η² = 18.667/24.667 = 76% of score variation is between methods — and the group means point at method B as the standout, a claim a Tukey post-hoc test would formalise.

group35,6,7,6
group27,8,9,8
group14,5,6,5

Frequently asked questions.

What does the F statistic actually measure?
A signal-to-noise ratio: average between-group variation (per degree of freedom) divided by average within-group variation. Under ‘all means equal’, both numerator and denominator estimate the same sampling noise and F concentrates near 1; genuinely different means inflate only the numerator. The worked example's F = 14 reads as: the groups' means disagree fourteen times more strongly than their internal scatter can explain.
Why not just run t-tests between each pair of groups?
Multiplicity. Three groups make three pairwise tests, and at α = 0.05 each, the chance of at least one false positive climbs toward 14% — worse with more groups. ANOVA asks the single joint question ‘are all means equal?’ at one controlled error rate, and only if that global test rejects do you proceed to pairwise comparisons with methods (Tukey, Bonferroni) that keep the family-wise error honest. It is the statistical version of asking one good question before many small ones.
How do I get a p-value from this F?
Compare F to the F distribution with (df_between, df_within) degrees of freedom — here (2, 9). Any statistics package or spreadsheet does it: in Excel or Sheets, =F.DIST.RT(14, 2, 9) returns about 0.0017. Table lookups work too: the 5% critical value for (2, 9) is 4.26 and the 1% value is 8.02, so F = 14 clears both. Report the triple — F(2, 9) = 14, p ≈ 0.002 — which is the conventional write-up format.
What assumptions does one-way ANOVA make?
Three: observations are independent (the big one — no repeated measurements of the same subjects across groups); residuals are roughly normal (mild non-normality is tolerable at moderate sample sizes); and group variances are approximately equal (homoscedasticity — as a rule of thumb, largest SD under twice the smallest). Unequal variances with unequal group sizes are the dangerous combination, and Welch's ANOVA is the standard replacement there. Repeated-measures and factorial designs need their own machinery entirely.
The F test is significant — which groups differ?
The F alone won't say; it rejects ‘all equal’ without localising the difference. Post-hoc pairwise comparisons — Tukey's HSD being the default — test each pair while controlling the family-wise error rate. In the worked example the group means (5, 8, 6) and small within-group scatter make method B versus A the clearest contrast, and B versus C likely too, but stating that with confidence intervals is precisely what the post-hoc step is for. Reporting η² (here 0.76) alongside tells readers the difference is large, not merely detectable.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
F = (SSbetween/(k−1)) / (SSwithin/(N−k))
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon