One-Way ANOVA Calculator

Test equality of 3 or 4 group means simultaneously using Fisher's F-test with exact p-values, ANOVA table metrics, and Eta-squared (η²).

Calculation Mode
Calculation Inputs

Compare means across 3 independent sample groups from summary metrics.

Auto-Computed
Statistical Visualizations & Distributions

Interactive, data-driven visualization computed from your current input values.

F-Distribution Sampling Distribution (df₁ = 2, df₂ = 42)

H₀: μ₁ = μ₂ = μ₃. Observed F = 10.16

Null Distribution H₀P-Value Area (0.00025)Observed (10.16)
F: 10.1602.557.51012.515F-StatisticDensity f(F)
Statistical Analysis SummaryStatistically Significant
F-Statistic
10.1621
P-Valueα = 0.05
0.00025
p < 0.05 (Significant at α)
Eta-Squared (η²)0.3261Large effect
Degrees of Freedom (df)2, 42
Sample Size (N)45

Step-by-Step Mathematical Derivation

Detailed derivation with exact formulas, user input substitutions, and statistical interpretations.

Step 1

Calculate Grand Mean

Formula
X = ∑ nj xjNtotal
Substitution & Values
X = 15 × 24.2 + 15 × 28.1 + 15 × 21.945
Result:
X = 24.7333

Weighted average of all 45 observations across the 3 groups.

Step 2

Between-Group Sum of Squares (SSB)

Formula
SSB = k∑j=1 nj (xj − X)2, dfB = k − 1
Substitution & Values
15(24.2 − 24.73)2 + 15(28.1 − 24.73)2 + 15(21.9 − 24.73)2
Result:
SSB = 294.7, dfB = 2

Quantifies variability attributable to differences between the group means.

Step 3

Within-Group (Residual) Sum of Squares (SSW)

Formula
SSW = k∑j=1 (nj − 1) sj2, dfW = N − k
Substitution & Values
(15 − 1) × 3.52 + (15 − 1) × 4.12 + (15 − 1) × 3.82
Result:
SSW = 609, dfW = 42

Quantifies unexplained random error within individual treatment groups.

Step 4

Mean Squares & F-Statistic

Formula
MSB = SSBdfB, MSW = SSWdfW, F = MSBMSW
Substitution & Values
F = 147.3514.5
Result:
F = 10.1621

Ratio of between-group treatment variance to within-group error variance.

Step 5

P-Value & Omnibus Interpretation

Formula
p = P(FdfB, dfW ≥ Fcalc), η2 = SSBSST
Substitution & Values
F = 10.1621, df1 = 2, df2 = 42
Result:
p = 0.00025, η2 = 0.3261

Reject H₀ at α = 0.05 (Statistically Significant Omnibus Group Difference). Eta-squared (η² = 0.326) indicates 32.6% of total outcome variance is explained by group membership. Note: Omnibus ANOVA test detects if any mean differs; pairwise post-hoc tests (Tukey/Bonferroni) are required to determine which pairs differ.

Statistical Interpretation & Assumptions

Evaluation & Analysis Guidelines

Statistical Decision: Reject H₀ at α = 0.05 (Statistically Significant Omnibus Group Difference)
Required Assumptions:
  • Continuous dependent variable
  • Independent random sampling
  • Homogeneity of variance across groups (homoscedasticity)
  • Approximate normality within each group
Practical Consideration: Omnibus Test: A significant result indicates at least two means differ, but does not pinpoint individual pairwise contrasts.

Analysis of Variance (ANOVA) Mathematical Model

Sum of squares partitioning, F-ratios, between-group vs within-group mean squares, and variance accounted for (η²).

One-Way ANOVA F-Ratio & Mean Squares

F = MSBMSW = SSB / (k − 1)SSW / (N − k)

Partitions total variance into between-group variance (treatment effect) and within-group variance (pooled error). Under the null hypothesis of equal group means, MS_B and MS_W are approximately equal and F hovers near 1.

Worked Example: Comparing 3 diets (n=15 each): Mean₁=24.2, Mean₂=28.1, Mean₃=21.9. SS_B = 295.47, df_B = 2, SS_W = 612.36, df_W = 42. F = 10.13, p = 0.00025 (Significant).

Total Sum of Squares & Eta-Squared Effect Size

SSTotal = SSB + SSW, η2 = SSBSSTotal

Eta-squared (η²) represents the proportion of total outcome variance explained by group membership, matching R² in regression. General benchmarks define 0.01 as small, 0.06 as medium, and 0.14 as a large effect.

Worked Example: If SS_B = 295.47 and SS_W = 612.36, SS_Total = 907.83 and η² = 295.47 / 907.83 = 0.325 (32.5% variance explained).

How One-Way ANOVA Partitions Variance Across 3 or More Groups

Computes the omnibus F-ratio directly from group sample sizes (n), means (x̄), and standard deviations (s) without needing raw participant spreadsheets.

  1. 1

    Enter Summary Statistics for 3 or 4 Groups

    Provide n, group mean, and sample standard deviation for each experimental arm or categorical cohort.

  2. 2

    Inspect Between-Group (MSB) vs. Within-Group (MSW) Mean Squares

    The F-ratio measures whether variation between group averages exceeds residual within-group variation expected by random sampling.

  3. 3

    Review F-Curve, Group Whiskers & Eta-Squared (η²)

    Compare group means visually with pooled MSW confidence intervals and examine η² for percentage of outcome variance explained.

One-Way ANOVA Variance Table & Eta-Squared Effect Benchmarks

Standard ANOVA decomposition components alongside practical variance-explained conventions.

Source of VariationSum of Squares (SS)Degrees of Freedom (df)Mean Square (MS) & FEta-Squared (η²) Guide
Between Groups (Factor)SS_B = Σ n_j(x̄_j − X̄)²df_B = k − 1MS_B = SS_B ÷ df_Bη² ≈ 0.01 (Small effect)
Within Groups (Error)SS_W = Σ (n_j − 1)s_j²df_W = N − kMS_W = SS_W ÷ df_Wη² ≈ 0.06 (Medium effect)
Total VariationSS_Total = SS_B + SS_Wdf_Total = N − 1F = MS_B ÷ MS_Wη² ≥ 0.14 (Large effect)

Omnibus Interpretation & Variance Assumptions

Omnibus Significances Require Post-Hoc Pairwise Testing

Rejecting H₀ (μ₁ = μ₂ = ... = μ_k) proves at least one group differs, but does NOT prove every pair differs. Conduct Tukey HSD or Bonferroni pairwise tests afterward.

Homogeneity of Variance (Homoscedasticity)

Standard ANOVA assumes comparable variances across groups (rough rule: largest s / smallest s ≤ 2). Severe variance imbalance across unequal group sizes warrants Welch's ANOVA.

One-Way ANOVA Calculator — Worked Examples

Real-world scenarios and verified benchmark inputs for the One-Way ANOVA Calculator.

Clinical Drug Dosage Comparison (3 Groups)

Comparing blood pressure reductions across Placebo, 10 mg, and 20 mg dosage cohorts (n = 15 per group).

ResultF = 10.13, p-value = 0.00025 (Reject H₀)

Regional Retail Performance (4 Stores)

Testing whether average daily ticket values differ across 4 store layouts (n = 20 transactions per store).

ResultF = 4.65, df = (3, 76), p = 0.0049 (Reject H₀)

Non-Significant Process Baseline Check

Evaluating three production shifts with close mean cycle times and overlapping variance.

ResultF = 0.43, p-value = 0.650 (Fail to Reject H₀)

One-Way ANOVA Calculator — Frequently Asked Questions

Explanations of omnibus hypothesis testing, homoscedasticity assumptions, post-hoc tests, and effect sizes.

What does it mean that One-Way ANOVA is an omnibus test?

An omnibus test evaluates an overall global hypothesis across all groups simultaneously (H₀: μ₁ = μ₂ = ... = μ_k). A significant p-value proves that at least one pair of group means differs, but does NOT tell you which specific pairs differ. Follow up with post-hoc tests such as Tukey HSD or Bonferroni corrections.

What are the core assumptions of One-Way ANOVA?

Classical One-Way ANOVA assumes: 1) Independent observations across and within groups, 2) Approximate normality within each group, and 3) Homogeneity of variance (homoscedasticity) across groups. If group variances differ sharply, Welch's ANOVA or the non-parametric Kruskal-Wallis test should be used.

Why use ANOVA instead of running multiple T-tests?

Comparing 4 groups requires 6 separate pairwise T-tests. At α = 0.05 per test, the cumulative Type I error rate (probability of at least one false positive) inflates to 1 − (0.95)⁶ ≈ 26.5%. ANOVA controls the overall Type I error rate at exactly α.

How is Eta-Squared (η²) interpreted?

Eta-squared (SS_Between / SS_Total) measures practical effect size between 0 and 1. Cohen's guidelines classify η² = 0.01 as small, 0.06 as medium, and 0.14 or higher as a large effect.

Why does ANOVA compute variance ratios using an F-distribution instead of a t-distribution?

Variance ratios of two independent chi-square-scaled sums of squares follow Fisher's F-distribution governed by two degrees-of-freedom parameters: df₁ = k − 1 (between groups) and df₂ = N − k (within groups). For exactly two groups (k = 2), F equals t² and produces the exact same p-value as a pooled Student's t-test.

Can ANOVA be computed from summary means and standard deviations without raw data?

Yes. Between-group sum of squares depends only on group sizes (n_j) and group means (x̄_j), while within-group sum of squares depends only on (n_j − 1) and sample standard deviations (s_j). Summary-based ANOVA yields exact identical F and p-values to raw-data ANOVA.

Related Calculators

Explore connected statistics & probability and related computation tools.

Browse all Statistics & Probability calculators
Statistics & Probability

T-Test Calculator

Available
Statistics & Probability

P-Value Calculator

Available
Statistics & Probability

Sample Size Calculator

Available
Available