ANOVA Calculator

Perform one-way ANOVA analysis online. Compute F statistic, p-value, eta-squared, omega-squared, and full ANOVA table with group summaries and visual comparison.

ANOVA Calculator

F Statistic
12.6667
F(2, 12) — ratio of between-group to within-group variance
p-Value
0.0010
Significant at α = 0.05
Decision
Reject H₀
At least one group mean differs significantly
η² (Eta-Squared)
0.6786
67.9% of variance explained by group membership
ω² (Omega-Squared)
0.6087
Less biased effect size estimate than eta-squared
Grand Mean
31.2667
Overall mean across all 15 observations in 3 groups

ANOVA Table

SourceSSdfMSFp-value
Between Groups124.1333262.066712.66670.0010
Within Groups58.8000124.9000
Total182.933314

Group Summary

GroupnMeanVarianceStd DevSS
Group 1528.40007.30002.701929.2000
Group 2535.20003.70001.923514.8000
Group 3530.20003.70001.923514.8000

Visual Comparison

Group 1
28.40
Group 2
35.20
Group 3
30.20
Planning notes, formulas, and examples

About the ANOVA Calculator

Analysis of Variance (ANOVA) is a powerful statistical method that tests whether the means of three or more groups differ significantly from each other. Rather than running multiple pairwise t-tests — which inflates the chance of a Type I error — ANOVA uses a single F-test to evaluate all groups simultaneously.

This calculator performs one-way ANOVA, partitioning total variability into between-group and within-group components. Enter your data for each group, set the significance level, and quickly receive the F statistic, p-value, full ANOVA source table, and effect sizes like eta-squared and omega-squared.

ANOVA is indispensable in experimental research, agriculture (comparing fertilizer treatments), medicine (comparing drug dosages), education (comparing teaching methods), and manufacturing (comparing machine outputs). Understanding whether observed differences are real or due to chance is fundamental to data-driven decision making. Use the example to confirm how a significant F-test points to group-level differences before you compare specific pairs with post-hoc tests.

When This Page Helps

Running multiple t-tests to compare several groups dramatically increases your false positive rate. For example, comparing 4 groups pairwise means 6 t-tests, each with a 5% error rate, leading to roughly a 26% chance of at least one false positive. ANOVA keeps the overall error rate at your chosen alpha. This calculator also provides effect size metrics and a complete ANOVA source table, eliminating tedious hand calculations and reducing arithmetic errors.

How to Use the Inputs

  1. Select the number of groups you want to compare (2 to 10).
  2. Enter comma-separated data values for each group, or load a preset data set.
  3. Set your significance level alpha (default 0.05).
  4. Review the F statistic, p-value, and reject/fail-to-reject decision.
  5. Examine effect sizes (eta-squared, omega-squared) to gauge practical significance.
  6. Study the full ANOVA source table for sum of squares, degrees of freedom, and mean squares.
  7. Compare group means visually using the bar chart and summary table.
Formula used
One-Way ANOVA: F = MSB / MSW Where: SSB = Σ nᵢ(x̄ᵢ − x̄)² (between-group sum of squares) SSW = Σ Σ (xᵢⱼ − x̄ᵢ)² (within-group sum of squares) MSB = SSB / (k − 1) (mean square between) MSW = SSW / (N − k) (mean square within) k = number of groups, N = total observations Effect size: η² = SSB / SST ω² = (SSB − (k−1)·MSW) / (SST + MSW)

Example Calculation

Result: F(2, 12) = 13.1818, p = 0.0009

Three groups of 5 observations each produce an F statistic of 13.18 with 2 and 12 degrees of freedom. The p-value of 0.0009 is well below 0.05, so we reject the null hypothesis and conclude that at least one group mean differs significantly from the others.

Tips & Best Practices

  • ANOVA assumes equal variances across groups (homoscedasticity). If violated, consider Welch's ANOVA or a non-parametric alternative like Kruskal-Wallis.
  • A significant F-test tells you that at least one mean differs, but not which ones. Follow up with post-hoc tests like Tukey's HSD or Bonferroni correction.
  • Eta-squared (η²) tells you the proportion of total variance explained by group membership, but it tends to overestimate — omega-squared (ω²) is less biased.
  • ANOVA also assumes observations are independent and residuals are approximately normally distributed within each group.
  • With only two groups, ANOVA yields the same result as an independent two-sample t-test (F = t²).
  • Balance your group sizes when possible — unequal group sizes reduce power and make the test more sensitive to variance violations.

Understanding the ANOVA Table

The ANOVA source table decomposes total variability into two components. The Between-Groups row captures variation due to differences among group means, while the Within-Groups row captures variation within each group (random error). If the between-group variation is large relative to within-group variation, the F ratio will be large and the p-value small, leading to rejection of the null hypothesis.

Effect Size Interpretation

Statistical significance alone doesn't tell you how large the effect is. Eta-squared (η²) and omega-squared (ω²) quantify the proportion of total variance attributable to the grouping variable. As a rough guide, η² around 0.01 is small, 0.06 is medium, and 0.14+ is large (Cohen's benchmarks). Omega-squared provides a less biased estimate, especially with small samples.

Post-Hoc Analysis and Multiple Comparisons

After a significant ANOVA, post-hoc tests identify which specific group pairs differ. Tukey's Honestly Significant Difference (HSD) is the most common, controlling the familywise error rate while comparing all pairs. Bonferroni correction is more conservative, dividing alpha by the number of comparisons. Dunnett's test is used when comparing each treatment group against a single control group.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The null hypothesis (H₀) states that all group population means are equal: μ₁ = μ₂ = … = μk. The alternative is that at least one mean differs. ANOVA does not specify which mean is different — only that not all are the same.