One-Way ANOVA Calculator with Tukey, Dunnett, Games–Howell and Letters
Compare the means of three or more groups. Paste one column per group (or a group column and a value column) and get the ANOVA table, Welch’s ANOVA, Levene’s test, Tukey HSD, Games–Howell, Dunnett (vs a control) or Bonferroni/Holm post-hoc tests, significance letters, effect sizes, a publication-ready chart and an APA sentence.
- PriceFree, no login or sign-up needed
- Your dataProcessed in your browser, never uploaded
- Works onPhone, tablet or computer, any modern browser
- Made byDr. Muhammad Aammar Tufail, Codanics
- Published16 November 2026
- Last updated16 November 2026
📚 How to cite this tool
This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.
Tufail, M. A. (2026). One-way ANOVA calculator [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/one-way-anova-calculator/
In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)
The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 16 November 2026.
How to use the one-way anova calculator
- Type or paste each group’s values into its box (one box per group), or use Paste from Excel / Upload CSV / Excel. Both layouts work: one column per group, or a group column plus a value column (long format). Click + Add group for more groups.
- Pick the significance level and the post-hoc test. Automatic uses Tukey HSD when variances are similar and switches to Games–Howell when Levene’s test is significant. Choose Dunnett to compare every treatment with one control group (then pick the control and a two- or one-sided test), or Bonferroni / Holm for adjusted pairwise t-tests.
- Click Run ANOVA. Read the F-test, check Levene’s test, then look at the post-hoc table and the letters to see which groups differ.
- Copy the APA sentence and the tables into your thesis, and download the chart with letters as PNG or SVG.
When to use a one-way ANOVA
Use a one-way ANOVA when you have one categorical factor with three or more groups (for example four fertilizer treatments or three teaching methods) and a continuous outcome (yield, height, test score). It tests whether at least one group mean differs. Running many t-tests instead inflates the chance of a false positive, which is why ANOVA and a post-hoc test are used.
| Situation | Use |
|---|---|
| 3+ independent groups, roughly normal data, similar variances | One-way ANOVA + Tukey HSD |
| 3+ groups, variances clearly unequal (Levene p < .05) | Welch’s ANOVA + Games–Howell |
| Skewed data, ranks or small samples with outliers | Kruskal–Wallis test |
| Two factors (e.g. variety × fertilizer) | Two-way ANOVA |
| Field experiment with replications or blocks (RCBD) | Field-trial ANOVA |
| Only two groups | t-test |
Formulas
Assumptions
- Independence: each observation belongs to one group and does not influence the others.
- Normality: the values in each group (or the residuals) are roughly normal. Check with the normality test calculator. ANOVA is fairly robust with 15–20+ values per group.
- Equal variances: checked with Levene’s test. If it fails, report Welch’s ANOVA and Games–Howell.
Which post-hoc test should I choose?
| Post-hoc test | Compares | Use it when |
|---|---|---|
| Tukey HSD (Tukey–Kramer) | All pairs | The default when variances are similar. Works with unequal group sizes. |
| Games–Howell | All pairs | Variances or group sizes differ (Levene’s test significant). |
| Dunnett’s test | Each group vs one control | You only care whether each treatment differs from the control (for example new fertilizers vs untreated plots). It is more powerful than Tukey for this question because it makes fewer comparisons. |
| Bonferroni t-tests | All pairs | You want a simple, conservative correction that is easy to explain. Raw p-values are multiplied by the number of comparisons. |
| Holm t-tests | All pairs | Same protection as Bonferroni but more power (step-down). Matches R’s pairwise.t.test(). |
Dunnett’s test uses the pooled SD from the ANOVA. The p-values and simultaneous confidence intervals come from the exact multivariate t distribution, the same method as R’s multcomp::glht(mcp(group = "Dunnett")), and they work with unequal group sizes. Use a one-sided Dunnett test only if you decided before seeing the data that treatments can only be better (or only worse) than the control. Dunnett’s test does not produce letters, so the chart marks each group with stars (* p < .05, ** p < .01, *** p < .001) relative to the control.
How to read the letters (compact letter display)
Groups that share a letter are not significantly different. Groups with no letter in common are significantly different. In the example, PGPR gets “a” (highest mean), Biochar and Compost share “b” (they do not differ from each other) and Control gets “c”, so PGPR is higher than every other treatment and Control is lower than every other treatment. A group labelled “ab” does not differ from “a” groups or from “b” groups. Put the letters above the bars in your chart or next to the means in your table, and say which test produced them.
How to report a one-way ANOVA
New to statistics? Start with the free ABC of statistics series, then learn to run ANOVA yourself in R in the R with Aammar course. Not sure ANOVA is the right test? Use the which statistical test tool.
Frequently asked questions
What is the difference between ANOVA and a t-test?
A t-test compares two means. ANOVA compares three or more means in one test, which keeps the overall false-positive rate at your chosen α. With exactly two groups, a one-way ANOVA gives the same p-value as Student’s t-test (F = t²).
Should I use Tukey HSD or Games–Howell?
Use Tukey HSD (Tukey–Kramer when group sizes differ) when the group variances are similar. Use Games–Howell when Levene’s test is significant or the SDs differ a lot, because it does not assume equal variances. The Automatic option picks for you.
What does Welch's ANOVA do?
Welch’s ANOVA tests the same question as the classic ANOVA but does not assume equal variances. It is the safer choice when variances or group sizes differ. Report it together with Games–Howell post-hoc tests.
When should I use Dunnett's test instead of Tukey?
Use Dunnett’s test when your question is only whether each treatment differs from a single control group, not whether the treatments differ from each other. It makes k − 1 comparisons instead of k(k − 1)/2, so it has more power. Pick the control group and a two-sided test (or one-sided if you planned a directional hypothesis in advance).
What is the difference between Bonferroni and Holm corrections?
Both control the family-wise error rate for all pairwise t-tests. Bonferroni multiplies every p-value by the number of comparisons. Holm sorts the p-values and uses a smaller multiplier at each step, so it is always at least as powerful as Bonferroni. Both match R’s pairwise.t.test() with a pooled SD.
What do the letters a, b, ab mean?
They are a compact letter display. Means that share at least one letter are not significantly different at your α. The highest mean is labelled ‘a’. The letters come from the post-hoc test shown below the table.
Is my ANOVA result the same as SPSS or R?
Yes. The ANOVA table, Welch’s ANOVA, Levene’s test (median-centred, as in R’s car::leveneTest), Tukey HSD (R’s TukeyHSD), Games–Howell (rstatix), Dunnett’s test (multcomp/mvtnorm) and Bonferroni/Holm t-tests (pairwise.t.test) were checked against R on balanced and unbalanced data. SPSS uses the mean-centred Levene’s test, so its Levene p-value can differ slightly.
Which effect size should I report?
Eta squared (η²) is the share of total variance explained by the groups and is the most commonly reported. Omega squared (ω²) is less biased in small samples. Rough guide: .01 small, .06 medium, .14 large.
Is my data uploaded?
No. All calculations run in your browser, including files you upload. Nothing is sent to or stored on our server.
Do I need to log in or create an account to use the one-way anova calculator?
No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.
How do I cite this tool in my thesis or paper?
Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). One-way ANOVA calculator [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/one-way-anova-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.
Free guides and courses from Codanics
More free tools
See all free Codanics tools → · Codanics on YouTube · WhatsApp channel