ANOVA Calculator

One-way analysis of variance to compare means of multiple groups

Group Data

One-Way ANOVA: Compare means of 3 or more independent groups
Group 1
Group 2
Group 3

Results

Enter group data to see ANOVA results

Understanding ANOVA

Analysis of Variance (ANOVA) is a statistical method used to compare means of three or more groups simultaneously.

One-Way ANOVA

Tests whether there are significant differences between group means for a single independent variable.

Hypotheses:

  • H₀ (Null): μ₁ = μ₂ = μ₃ = ... (all group means are equal)
  • H₁ (Alternative): At least one group mean differs

ANOVA Table Components

Source SS (Sum of Squares) df MS (Mean Square) F-statistic
Between Groups SSB k - 1 MSB = SSB / (k-1) F = MSB / MSW
Within Groups SSW N - k MSW = SSW / (N-k)
Total SST N - 1

Where: k = number of groups, N = total sample size

Key Formulas

SST = Σ(xᵢ - x̄)² (Total variation)
SSB = Σnⱼ(x̄ⱼ - x̄)² (Between-group variation)
SSW = Σ(xᵢⱼ - x̄ⱼ)² (Within-group variation)
F = MSB / MSW

Interpreting Results

  • If p-value ≤ α: Reject H₀ (at least one group mean differs significantly)
  • If p-value > α: Fail to reject H₀ (no significant differences between group means)
  • Larger F-statistic: Indicates greater variation between groups relative to within groups

Assumptions

  • Independence: Observations are independent within and between groups
  • Normality: Data in each group are approximately normally distributed
  • Homogeneity of Variance: All groups have equal variances (Levene's test can check this)

Post-Hoc Tests

If ANOVA is significant, conduct post-hoc tests to determine which specific groups differ:

  • Tukey HSD: Controls family-wise error rate, compares all pairs
  • Bonferroni: Conservative, adjusts α for multiple comparisons
  • Scheffé: Most conservative, allows any contrast

Effect Size: Eta-Squared (η²)

η² = SSB / SST
  • Small effect: η² ≈ 0.01
  • Medium effect: η² ≈ 0.06
  • Large effect: η² ≈ 0.14

Real-World Applications

  • Medicine: Compare effectiveness of multiple treatments
  • Psychology: Test differences across experimental conditions
  • Agriculture: Compare crop yields under different fertilizers
  • Education: Evaluate teaching methods across multiple classrooms
  • Manufacturing: Compare product quality from different production lines
Tip: If ANOVA assumptions are violated, consider non-parametric alternatives like the Kruskal-Wallis test. Always visualize your data with box plots before running ANOVA.

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.

ANOVA Calculator: FAQ

One‑way vs two‑way ANOVA?

One‑way compares means across levels of a single factor; two‑way adds a second factor and can test interaction between factors.

Key assumptions?

Independence, normality of residuals, and homogeneity of variances. Inspect residual plots and use Levene’s test when needed.

What about post‑hoc tests?

If ANOVA is significant, use post‑hoc comparisons (e.g., Tukey HSD) to find which group means differ while controlling family‑wise error.

How to interpret effect size?

Report η² or partial η² to quantify practical significance (e.g., ~0.01 small, ~0.06 medium, ~0.14 large), alongside F and p‑value.