ANOVA Calculator

One-Way ANOVA F-Test & Effect Size Box Plots Free ยท No Signup

Free online one-way ANOVA calculator. Compare means of multiple groups with F-statistic, p-value, complete ANOVA table, eta-squared effect size, interactive box plots, and Python scipy export.

ANOVA โ€” Analysis of Variance
Enter numbers separated by commas, spaces, or newlines
Group 1
Group 2
Group 3

Result

๐Ÿ“Š

Enter group data and click Calculate

Compare means of multiple groups with one-way ANOVA.

Box Plots & F-Distribution

Python Compiler

What Is ANOVA?

Analysis of Variance (ANOVA) is a statistical method that tests whether the means of three or more groups are significantly different. Instead of running multiple t-tests, ANOVA compares the variance between groups to the variance within groups using a single F-test.

Group 1 Group 2 Group 3 xฬ„
๐Ÿ“Š

Compare Multiple Groups

Test whether 3 or more group means differ significantly in a single test, avoiding multiple comparison problems.

๐Ÿ“ˆ

F-Statistic

The ratio of between-group variance to within-group variance. A large F indicates the group means are spread apart more than expected by chance.

๐Ÿ”„

Beyond T-Tests

Running multiple t-tests inflates Type I error. ANOVA controls the overall error rate while testing all groups simultaneously.

ANOVA Table Explained

The ANOVA table summarizes the decomposition of total variance into between-group and within-group components.

SourceSSdfMSF
BetweenSSBk โˆ’ 1MSBF = MSB / MSW
WithinSSWN โˆ’ kMSW
TotalSSTN โˆ’ 1

Key: k = number of groups, N = total number of observations. SST = SSB + SSW. The F-statistic follows an F-distribution with (kโˆ’1, Nโˆ’k) degrees of freedom.

Key Formulas

Sum of Squares Between (SSB):  SSB = โˆ‘ ni(xฬ„i โˆ’ xฬ„)2
Sum of Squares Within (SSW):  SSW = โˆ‘โˆ‘ (xij โˆ’ xฬ„i)2
Mean Squares:  MSB = SSB / (k โˆ’ 1)     MSW = SSW / (N โˆ’ k)
F-Statistic:  F = MSB / MSW
Worked Example: Three groups: A = {4, 5, 6}, B = {8, 9, 7}, C = {5, 6, 4}. Grand mean xฬ„ = 6.0.
xฬ„A = 5, xฬ„B = 8, xฬ„C = 5
SSB = 3(5โˆ’6)ยฒ + 3(8โˆ’6)ยฒ + 3(5โˆ’6)ยฒ = 3 + 12 + 3 = 18
SSW = (1+0+1) + (0+1+1) + (1+0+1) = 6
MSB = 18 / 2 = 9,   MSW = 6 / 6 = 1
F = 9 / 1 = 9.0,   df = (2, 6),   p = 0.0156

Effect Size: Eta-Squared

Eta-squared (ฮทยฒ) measures how much of the total variance in the data is explained by group membership. It complements the p-value by indicating practical significance.

ฮทยฒ = SSB / SST  โ€”  proportion of variance explained by between-group differences
0.01
Small effect
0.06
Medium effect
0.14
Large effect
SSB SSW Between (ฮทยฒ) Within

Assumptions & Alternatives

๐Ÿ”—

Independence

Observations must be independent within and across groups. Random sampling or random assignment satisfies this.

๐Ÿ“‰

Normality

Data within each group should be approximately normally distributed. ANOVA is robust to moderate violations, especially with larger samples.

โš–๏ธ

Homogeneity of Variances

Group variances should be roughly equal. Use Leveneโ€™s test to check. If violated, consider Welch ANOVA.

Alternatives & Post-Hoc Tests

Non-parametric:
Kruskal-Wallis test (no normality assumption)
Unequal variances:
Welch ANOVA (robust to heteroscedasticity)
Pairwise comparisons:
Tukey HSD (controls family-wise error rate)
Conservative correction:
Bonferroni (ฮฑ / number of comparisons)

Frequently Asked Questions

One-way ANOVA tests whether the means of three or more independent groups are significantly different. It compares between-group variance to within-group variance using the F-statistic. If the result is significant, at least one group mean differs from the others.
ANOVA assumes independence of observations, normal distribution within each group, and homogeneity of variances across groups. ANOVA is robust to moderate violations of normality, especially with larger sample sizes.
A significant ANOVA tells you at least one group differs, but not which ones. Use post-hoc tests like Tukey HSD to find specific pairwise differences while controlling the family-wise error rate.
Eta-squared measures the proportion of total variance explained by group membership. Guidelines: 0.01 is a small effect, 0.06 is medium, and 0.14 is large. It helps assess practical significance beyond the p-value.
One-way ANOVA has one independent variable (factor). Two-way ANOVA has two factors and can test for interaction effects between them. This calculator performs one-way ANOVA.
If normality is violated, consider the Kruskal-Wallis non-parametric test. If variances are unequal, use Welch ANOVA. For small samples, consider bootstrapping or exact permutation tests.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site โ€” you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.