Advanced

One-Way ANOVA Calculator

Run a one-way analysis of variance to test whether the means of three or more independent groups differ significantly.
Enter each group on its own line; values separated by spaces or commas.
F statistic
53.4737

p-value: < 0.0001 — significant at α = 0.05

Groups (k)
3
Total observations (N)
15
Grand mean
7.3333
df between
2
df within
12
SS between
67.7333
SS within
7.6
MS between
33.8667
MS within
0.6333
Group 14.8
Group 27.2
Group 310
Step by step
  1. 1

    Grand mean x̄

    7.3333
    Mean of all observations across all groups.
  2. 2

    SS between groups (SSB)

    Σ nⱼ × (x̄ⱼ − 7.3333)² = 67.7333
  3. 3

    SS within groups (SSW)

    ΣΣ (xᵢ − x̄ⱼ)² = 7.6
  4. 4

    MS between (MSB = SSB ÷ df_B)

    67.7333 ÷ 2 = 33.8667
  5. 5

    MS within (MSW = SSW ÷ df_W)

    7.6 ÷ 12 = 0.6333
  6. 6

    F = MSB ÷ MSW

    33.8667 ÷ 0.6333 = 53.4737
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

One-way ANOVA tests whether three or more group means differ. It splits variation into between-group (SSB) and within-group (SSW) parts, forms mean squares by dividing by their degrees of freedom, and computes F = MSB/MSW. A small p-value means at least one group mean is significantly different.

Formula
F = MSB / MSW, where MSB = SSB/(k−1), MSW = SSW/(N−k), SSB = Σ nⱼ(x̄ⱼ−x̄)², SSW = ΣΣ(x−x̄ⱼ)²
How this is calculated

Enter your data with one group per line, separating the numeric observations within a line by spaces or commas. The calculator reads k groups, computes each group mean x̄ⱼ over its nⱼ values, and the grand mean x̄ across all N observations. It then partitions the total variability into a between-groups sum of squares SSB = Σ nⱼ(x̄ⱼ − x̄)² and a within-groups (error) sum of squares SSW = ΣΣ(x − x̄ⱼ)².

The degrees of freedom are df_between = k − 1 and df_within = N − k. Dividing each sum of squares by its degrees of freedom gives the mean squares MSB = SSB/(k−1) and MSW = SSW/(N−k). The test statistic is F = MSB / MSW; under the null hypothesis that all group means are equal it follows an F distribution with (df_between, df_within) degrees of freedom. The reported p-value is the upper-tail probability P(F ≥ observed), evaluated with the regularized incomplete beta function.

One-way ANOVA assumes independent observations, approximately normal residuals, and roughly equal variances across groups. You need at least two groups and at least one more total observation than there are groups (so df_within > 0). A large F with a small p-value (commonly p < 0.05) indicates at least one group mean differs; ANOVA itself does not say which pair differs, so follow a significant result with a post-hoc test.

Frequently asked questions

F is the ratio of variability between group means to variability within groups. Values near 1 suggest the group means are similar; large values suggest real differences. Compare the associated p-value against your chosen significance level.

A small p-value (e.g. below 0.05) means it is unlikely the observed differences arose by chance, so at least one group mean differs from the others. It does not identify which groups differ — use a post-hoc test such as Tukey HSD for that.

Put each group on its own line and separate the numbers within a line by spaces or commas. Groups can have different sizes (unbalanced designs are fine).

Also known as

one way anova
anova calculator
f test
analysis of variance
compare group means
single factor anova
anova f test
between groups variance

APA

TG we-Calculate Editorial Team. (2026). One-Way ANOVA Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/one-way-anova-calculator

Chicago

TG we-Calculate Editorial Team. "One-Way ANOVA Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/one-way-anova-calculator.

IEEE

TG we-Calculate Editorial Team, "One-Way ANOVA Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/one-way-anova-calculator

BibTeX

@misc{wecalculate_one_way_anova_calculator, title = {One-Way ANOVA Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/one-way-anova-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?