On this page
What a one-way ANOVA tests
A classical one-way analysis of variance (ANOVA) tests whether the means of three or more independent groups are all equal under a shared-variance model. “One-way” means the comparison uses one grouping factor. The method divides observed variation into a between-groups part and a within-groups part, then compares their mean squares with an F statistic.
The resulting test is omnibus: a small p-value is evidence against the model in which all group means are equal, subject to the design and assumptions. It does not tell you which pair of groups differs, how large a difference matters, or whether a treatment caused an outcome. A non-significant result is not proof that the means are identical.
Enter each independent group separately
Paste at least three groups into the calculator, placing a blank line between groups. Within a group, separate numeric observations with line breaks, spaces, commas or semicolons. Each group needs at least two observations. The constructed example has three independent groups: 1, 2, 3; 4, 5, 6; and 7, 8, 9.
A row in one group is not matched to a row in another. If the same participants are measured repeatedly, or each observation has a meaningful matched partner, use a method that accounts for that dependence rather than treating the values as independent groups. Group sample sizes may differ, but unequal sizes do not remove the model assumptions.
Read the ANOVA table from variation to F
The between-groups sum of squares measures how far each group mean is from the grand mean, weighted by its group size. The within-groups sum of squares adds each observation’s squared distance from its own group mean. Their degrees of freedom are k − 1 and N − k, where k is the number of groups and N is the total number of observations. Dividing each sum of squares by its degrees of freedom gives the corresponding mean square.
The F statistic is the between-groups mean square divided by the within-groups mean square. The p-value is the upper-tail probability for that F statistic under the equal-means model and the stated degrees of freedom. The calculator also reports eta squared as a descriptive share of the total sample variation associated with the group separation; it is not a causal effect or a substitute for context.
Supporting reading: [1]
Check the design and assumptions before interpreting the result
The classical model assumes independent observations, approximately normal errors within groups and a common population variance across groups. The calculator computes the requested summary from entered values; it does not test independence, diagnose normality, establish equal variances, detect data-entry errors or decide whether the sampling design supports the intended inference.
Inspect the study design and group distributions before relying on the F test. Strong outliers, skew in small groups, unequal spreads or a clustered/repeated-measures design may call for a different method or a more careful analysis. If common variance is not plausible, choose a method designed for unequal variances rather than treating this classical result as interchangeable with it.
Read the pairwise comparisons with the omnibus result
The calculator now lists every pair of entered groups using pooled pairwise t comparisons: each mean difference uses the ANOVA within-group mean square and its N − k residual degrees of freedom. It reports the unadjusted two-sided p-value and the Holm-adjusted p-value across the complete set of pairs. Holm adjustment controls the family-wise error rate and remains valid under arbitrary dependence among the tests.
These comparisons use the same independence and common-variance model as the classical ANOVA. They are not Tukey HSD, Games–Howell or a repeated-measures procedure, and the page does not calculate simultaneous confidence intervals. A preplanned contrast may call for a different family of comparisons. If the pairs were chosen after inspecting the data, describe them as exploratory and do not present that choice as pre-specified.
Report the group summaries, F statistic, numerator and denominator degrees of freedom, omnibus p-value, comparison method and relevant assumption checks. Explain the practical meaning in the subject area; a p-value alone does not measure the size, importance or replicability of a difference.
Free classical ANOVA calculator
Compare three or more independent groups
Enter at least three groups. Separate groups with a blank line and separate observations with line breaks, spaces, commas or semicolons.
Group 1: 1 · 2 · 3
Group 2: 4 · 5 · 6
Group 3: 7 · 8 · 9
Your calculation stays in this browser tab. Avoid entering identifiable or confidential measurements on a shared device.
The constructed example has 3 groups and 9 observations. Edit the values, then calculate.
One-way ANOVA summary
F statistic
Omnibus p-value
Eta squared (η²)
Groups · observations
On narrow screens, focus a table and use the arrow keys or swipe to view every column.
| Group | n | Mean | Sample SD |
|---|
| Source | Sum of squares | df | Mean square | F | p |
|---|
| Groups | Mean difference | Standard error | t | Raw p | Holm-adjusted p |
|---|
Each comparison uses the ANOVA pooled within-group variance estimate and N − k residual degrees of freedom. Holm adjustment covers all displayed pairs. This is not Tukey HSD; interpretation still depends on independent observations and a common-variance model.
Questions about this topic
How many groups do I need for a one-way ANOVA?
This tool is intended for at least three independent groups, with at least two numeric observations in each group. A two-group comparison is usually addressed with a method such as an independent-samples t-test.
Does ANOVA show which groups differ?
The omnibus F test does not identify a differing pair. This calculator also reports pooled pairwise t comparisons with Holm-adjusted p-values across all pairs. They rely on the classical equal-variance model, are not Tukey HSD, and do not replace a comparison plan suited to the study design.
Does one-way ANOVA require equal variances?
The classical one-way ANOVA calculated here uses a common-variance model. If the group spreads differ substantially, consider a method designed for unequal variances and check whether its assumptions fit the design.
Can I use this for before-and-after measurements on the same people?
Not by treating each time point as an independent group. Repeated measurements from the same people are dependent; use an analysis that accounts for that structure.
Are my values uploaded?
No. The calculation runs in this browser tab. The calculator code does not send the values to AI Essay.
Sources and editorial notes
The supporting reading below informs our editorial guidance. Exercises and scenarios illustrate a method; they do not report a completed product test or measured learning outcome. Read our editorial policy or send a correction with a supporting source to info@ai-essay.com.
- NIST/SEMATECH e-Handbook: one-way ANOVA formulas and table
- NIST/SEMATECH e-Handbook: one-way ANOVA model assumptions
- SciPy documentation: one-way ANOVA, equal-variance and Welch methods
- Penn State STAT 500: one-way ANOVA and follow-up multiple comparisons
- R stats documentation: Holm adjustment and family-wise error control