Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

ANOVA Calculator

One-way and two-way ANOVA tables, effect sizes and Tukey HSD comparisons.

Free preview, no sign-upIncluded in your pass Pro tool Pro pass: ₹179 / $5.99 for 30 days On this device: nothing is sent
+3 +1 more details No uploadWorks offline once opened Math

Free preview: watermarked charts and the names of each table’s first rows (up to 3), with F, the p-values, the verdict, the Tukey tests and every figure hidden. Locked until you unlock it: download and copy.

Pro pass ₹179 for 30 days or ₹79 for 1 week, one‑time. Pro pass $5.99 for 30 days or $2.99 for 1 week, one‑time. How to unlock

Try before you buy.

  • Free preview: watermarked charts and the names of each table’s first rows (up to 3), with F, the p-values, the verdict, the Tukey tests and every figure hidden.
  • Locked until you unlock it: download and copy.
  • Unlock: Pro pass, ₹179 for 30 days or ₹79 for 1 week, a one-time payment that never renews. Unlock: Pro pass, $5.99 for 30 days or $2.99 for 1 week, a one-time payment that never renews.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

Design
Your data

Start each line with the group’s name and a colon, then its values separated by spaces or commas. For columns, paste them with a first row of names; leave missing values blank.

Examples:

Result

ANOVA

Next steps Done. What next?

Start over

A Pro pass unlocks the full result. See passes

All math calculators & solvers

About the ANOVA Calculator

Compare the means of three or more groups with a one-way ANOVA, or study two factors and their interaction with a two-way ANOVA, with or without replication. Paste raw data — one group per line, columns from a spreadsheet, a spreadsheet’s two-factor grid, or one row per value — or type each group’s n, mean and standard deviation when that is all you have.

You get the full ANOVA table (sums of squares, degrees of freedom, mean squares, F and the p-value), the critical F, the effect sizes η², ω² and partial η², and Tukey’s HSD comparisons of every pair of means with adjusted p-values, confidence intervals and a letter display (the Tukey–Kramer form when group sizes differ). One-way results also include Welch’s ANOVA, which does not assume equal variances, and the Brown–Forsythe test of equal variances. Unbalanced two-way designs get Type III sums of squares (the default of SPSS and SAS) or Type I and II on request. Every result comes with the working, a chart, a plain-language conclusion and an APA-style sentence.

How to use it

  1. Choose One-way or Two-way, and whether you have raw data or each group’s n, mean and SD.
  2. Paste the data. One-way: one group per line (Control: 4.2, 5.1, 5.6) or columns with a first row of names. Two-way: the spreadsheet grid — a column for each level of the second factor and a block of rows for each level of the first — or one row per value (level of A, level of B, value).
  3. For two-way data, name the factors and pick the type of sums of squares (it only matters when the groups have different sizes). Set α (usually 0.05).
  4. Read F, the p-value and the verdict, then the ANOVA table, the Tukey comparisons (groups that share a letter do not differ significantly), the checks of the assumptions and the working.
  5. Copy the result, or download a Word report with the APA write-up, a CSV file or the chart — with a Pro pass or after unlocking this result; without one you see the free preview.

Examples

Plant growth: a control and two treatments, 10 plants each
Input
ctrl: 4.17 5.58 5.18 6.11 4.50 4.61 5.17 4.53 5.33 5.14; trt1: 4.81 4.17 4.41 3.59 5.87 3.83 6.03 4.89 4.32 4.69; trt2: 6.31 5.12 5.54 5.50 5.37 5.29 4.92 6.15 5.80 5.26
Result
F(2, 27) = 4.846, p = 0.0159, η² = 0.26. Tukey: trt2 − trt1 = 0.865, p = 0.012; the other pairs are not significant

Welch’s ANOVA agrees: F(2, 17.13) = 5.18, p = 0.017. The Brown–Forsythe test finds no evidence of unequal variances (p = 0.34).

Three process levels (NIST/SEMATECH e-Handbook)
Input
Level 1: 6.9, 5.4, 5.8, 4.6, 4.0; Level 2: 8.3, 6.8, 7.8, 9.2, 6.5; Level 3: 8.0, 10.5, 8.1, 6.9, 9.3
Result
SS between 27.897 (df 2), SS within 17.452 (df 12), F = 9.59, p = 0.0032
Two-way with replication (NIST/SEMATECH e-Handbook)
Input
2 labs × 3 materials, 3 measurements in each combination
Result
Lab F(1, 12) = 100.28, Material F(2, 12) = 21.81, interaction F(2, 12) = 1.34 (p = 0.30); error SS 0.600
From published summary statistics
Input
ctrl, 10, 5.032, 0.583; trt1, 10, 4.661, 0.794; trt2, 10, 5.526, 0.443
Result
F(2, 27) = 4.84, p = 0.016 — the raw data give 4.85; the small gap is the rounding of the published means and SDs

Common uses

  • Testing whether three or more teaching methods, fertilisers, diets, machines or ad versions give different average results.
  • Finding which pairs of groups differ after a significant ANOVA, with Tukey’s HSD and a letter display for a table or chart.
  • Analysing a two-factor experiment and checking whether the factors interact.
  • Re-checking an ANOVA from a paper when only group sizes, means and standard deviations are reported.
  • Getting an APA-style sentence and a Word report for coursework, a thesis or a lab report.

How one-way ANOVA works

ANOVA splits the total variation into the part between the groups and the part within them. With group means ȳᵢ, sizes nᵢ and standard deviations sᵢ, and the grand mean ȳ:

  • SS between = Σnᵢ(ȳᵢ − ȳ)², with k − 1 degrees of freedom;
  • SS within = Σ(nᵢ − 1)sᵢ², with N − k degrees of freedom;
  • each mean square is SS / df, and F = MS between / MS within.

If every group has the same mean, F follows the F distribution with (k − 1, N − k) degrees of freedom, and the p-value is the chance of an F this large or larger. These are the formulas of Fisher’s Statistical Methods for Research Workers and of the NIST/SEMATECH e-Handbook, whose examples the calculator reproduces. Effect sizes: η² = SS between / SS total, and ω² = (SS between − (k − 1)·MS within)/(SS total + MS within), which corrects η²’s upward bias.

Tukey’s HSD test

A significant F says that the means are not all equal, not which ones differ. Tukey’s honestly significant difference test compares every pair while keeping the chance of any false difference at α: two means differ when |ȳᵢ − ȳⱼ| / SE exceeds the critical value q(α; k, N − k) of the studentized range distribution, with SE = √(MS within / 2 · (1/nᵢ + 1/nⱼ)) — the Tukey–Kramer form, which gives each pair its own standard error when the groups differ in size. The calculator computes the studentized range distribution itself, by numerical integration of its definition, and checks it against the published tables of q.

Unequal variances: Welch and Brown–Forsythe

Classic ANOVA assumes the groups have the same variance. Welch’s ANOVA weights each group by nᵢ/sᵢ² and adjusts the denominator degrees of freedom, so it keeps the right error rate when variances and group sizes differ; when the two tests disagree, Welch’s is the safer one. The Brown–Forsythe test checks the assumption itself: it runs an ANOVA on each value’s distance from its group’s median (Levene’s test with the median), which stays reliable when the data are skewed.

Two-way ANOVA and the types of sums of squares

With two factors A and B, the variation splits into the main effect of A, the main effect of B, their interaction (does the effect of A depend on the level of B?) and the error within each combination (NIST/SEMATECH e-Handbook). When every combination has the same number of values, the split is unique. When they differ, it depends on the order in which the effects are fitted: Type I fits A, then B, then the interaction; Type II tests each main effect after the other; Type III tests each effect after all the others, in sum-to-zero coding, which is what SPSS and SAS report by default. With one value per combination, the interaction cannot be separated from the error, so it serves as the error term and the factors are assumed not to interact.

Assumptions

  • Independent observations, within and between groups.
  • Roughly normal data in each group (or combination). ANOVA is robust to moderate skew with similar group sizes; with small, skewed groups consider a rank test such as Kruskal–Wallis.
  • Equal variances, unless you use Welch’s ANOVA. Unequal variances matter most when the group sizes differ too.

Limitations

  • One-way ANOVA takes up to 40 groups; two-way ANOVA up to 12 levels per factor; up to 200,000 values in all.
  • Two-way ANOVA needs at least one value in every combination of the two factors; Tukey comparisons of the main effects are shown for balanced designs.
  • Both factors are fixed effects; random-effects, repeated-measures and three-way designs are not covered.
  • Standard deviations must be sample standard deviations (n − 1 in the denominator), as software reports them.
  • The calculator does not test normality or remove outliers: look at the data, especially with small groups.

Privacy

On this device: nothing is sent

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

What do I get without a pass?

Without a pass, ANOVA Calculator shows watermarked charts and the names of each table’s first rows (up to 3), with F, the p-values, the verdict, the Tukey tests and every figure hidden. Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.

What does a significant ANOVA result mean?

That the group means are not all equal: at least one differs from the others, more than chance would explain at your α. It does not say which groups differ — Tukey’s HSD comparisons do that. On the plant data, F(2, 27) = 4.85, p = 0.016, and Tukey shows that only trt1 and trt2 differ.

How do I run an ANOVA from means and standard deviations?

Choose n, mean and SD and type one group per line: its name, size, mean and standard deviation. These three numbers are all one-way ANOVA needs, so the table is the same as from the raw data, apart from rounding. The Brown–Forsythe test needs the raw values, so it is shown for raw data only.

When should I use Welch’s ANOVA?

When the groups’ variances may differ, especially if the group sizes differ too. It gives almost the same answer as classic ANOVA when variances are equal and stays accurate when they are not, so many statisticians use it by default. The calculator shows both.

What do the letters in the Tukey column mean?

Groups that share a letter are not significantly different from each other; groups with no letter in common are. With ctrl “ab”, trt1 “b” and trt2 “a”, trt1 and trt2 differ, and ctrl differs from neither.

What is an interaction in a two-way ANOVA?

An interaction means the effect of one factor depends on the level of the other — a fertiliser that helps one crop and not another. In the interaction plot it shows as lines that are far from parallel. When the interaction is significant, look at the cell means rather than the main effects alone.

How do I report an ANOVA in APA style?

Give F with both degrees of freedom, the exact p-value and an effect size: F(2, 27) = 4.85, p = .016, η² = .26. p has no leading zero and very small values are written p < .001. The calculator writes the sentence for you, including the post-hoc results.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.