Anova Calculator - One-Way F-Test Output

Use this anova calculator to enter group means, sample sizes, and standard deviations and read the F-statistic, p-value, and critical F at α = 0.05.

Updated: June 20, 2026 • Free Tool

Anova Calculator

Number of observations in group 1 (must be 2 or more).

Arithmetic mean of group 1.

Sample standard deviation of group 1.

Number of observations in group 2 (must be 2 or more).

Arithmetic mean of group 2.

Sample standard deviation of group 2.

Number of observations in group 3 (must be 2 or more).

Arithmetic mean of group 3.

Sample standard deviation of group 3.

Optional group 4. Leave at 0 to exclude; set to 2 or more to include a fourth group.

Mean of group 4. Used only when n₄ ≥ 2.

Sample standard deviation of group 4.

Optional group 5. Leave at 0 to exclude; set to 2 or more to include a fifth group.

Mean of group 5. Used only when n₅ ≥ 2.

Sample standard deviation of group 5.

Results

F-statistic
0
p-value (right-tailed) 0
Critical F (α = 0.05) 0
Degrees of freedom between 0
Degrees of freedom within 0
Sum of squares between 0
Sum of squares within 0
Active groups (k) 0

What Is Anova Calculator?

An ANOVA calculator turns a set of group summary statistics into a one-way ANOVA F-test result, so you can decide whether three or more group means are likely equal. Use it when you have several groups to compare and a single p-value is more useful than running a chain of pairwise t-tests.

  • Course and lab data: Compare mean exam scores or lab measurements across three or more teaching groups, batches, or conditions.
  • Experiment with several treatments: Test whether any of three or more experimental treatments shifted the outcome compared to a control.
  • Survey or A/B/n results: Compare mean response across several product variants, marketing messages, or design versions.
  • Quality monitoring: Check whether mean output varies across shifts, machines, suppliers, or production days.

The calculator accepts the summary statistics you can pull from a spreadsheet: sample size, mean, and standard deviation for each group. It then rebuilds the ANOVA sums of squares, the F-statistic, the degrees of freedom, the p-value, and the critical F at α = 0.05.

One-way ANOVA answers a single question: is there evidence that at least one group mean differs from the others? It does not, by itself, tell you which group is different. Pair a significant F-test with a follow-up test to identify the responsible group.

If you have exactly two groups, the T-Test Calculator is the more direct test, since the one-way F-statistic reduces to a squared t-statistic in that case.

How Anova Calculator Works

The calculator computes the between-group and within-group sums of squares from each group's summary statistics, then forms an F-ratio and looks up its p-value against the F-distribution.

F = (SSB / (k − 1)) / (SSW / (N − k))
  • k: Number of groups included in the analysis (at least two).
  • N: Total sample size, the sum of nᵢ across the included groups.
  • SSB: Sum of squared deviations of each group mean from the grand mean, weighted by group size.
  • SSW: Sum of (nᵢ − 1) × sdᵢ² across all included groups; the pooled within-group variation.
  • df₁: Between-group degrees of freedom, equal to k − 1.
  • df₂: Within-group degrees of freedom, equal to N − k.

The F-statistic compares the spread of the group means around the grand mean with the spread of observations around their own group means. A large F means the means are spread out compared to the noise inside each group, which is what you see when treatments actually matter.

The p-value is the right-tail area of the F-distribution above the observed F. Critical F at α = 0.05 is the cutoff value your F-ratio must exceed to reject the null at the 5% level with the same degrees of freedom.

Three-group balanced example

Group 1: n = 10, mean = 23, sd = 2.5. Group 2: n = 10, mean = 26, sd = 2.5. Group 3: n = 10, mean = 21, sd = 2.5.

Grand mean = (23 + 26 + 21) / 3 = 23.33. SSB = 10 × (23 − 23.33)² + 10 × (26 − 23.33)² + 10 × (21 − 23.33)² ≈ 126.67. SSW = 9 × 2.5² × 3 = 168.75. F = (126.67 / 2) / (168.75 / 27) ≈ 10.13.

F ≈ 10.13, df₁ = 2, df₂ = 27, p ≈ 0.0005, critical F at α = 0.05 ≈ 3.35.

Because F ≈ 10.13 is larger than the critical value of about 3.35, the calculator rejects the equal-means null at α = 0.05. At least one group mean is likely different from the others.

According to NIST/SEMATECH e-Handbook of Statistical Methods, one-way ANOVA tests whether several group means are equal by comparing the mean square between groups to the mean square within groups and reports the ratio as an F-statistic.

For the p-value and critical-F lookup behind the F-statistic, the F-Distribution Calculator shows the same right-tail probability using the same F-distribution definition.

Key Concepts Explained

A few concepts come up every time you read an ANOVA table. Knowing what they mean helps you sanity-check the calculator output before reporting it.

Sum of squares between groups

SSB measures how far the group means are from the grand mean. A large SSB means the groups sit at clearly different levels.

Sum of squares within groups

SSW pools the variation inside each group using each group's standard deviation. A small SSW means each group is internally consistent.

Mean squares and degrees of freedom

Dividing SSB by (k − 1) gives MSB and dividing SSW by (N − k) gives MSW. Those two denominators are the degrees of freedom for the F-distribution.

F-distribution right tail

The p-value is the area under the F-distribution to the right of the observed F. The critical F at α = 0.05 is the 95th percentile of the same distribution.

If MSW is large, your groups are noisy and the F-test has less power to detect real differences. A small F with a small p-value is rare; if you see it, double-check the within-group SDs for an inflated value.

To see how SSW relates to a single pooled variance estimate, the Pooled Standard Deviation Calculator computes the within-group pooled standard deviation across the same groups.

How to Use This Calculator

Pull the summary statistics from each group, enter them in matching rows, and read the F-statistic and p-value from the anova calculator's result panel.

  1. 1 Decide how many groups: Use 3 to 5 groups. With only 2 groups, the F-test is mathematically equivalent to a squared two-sample t-test, so a t-test is the more direct choice.
  2. 2 Collect group summary statistics: For each group, record the sample size n, the arithmetic mean, and the sample standard deviation (denominator n − 1).
  3. 3 Match units across groups: All groups must use the same measurement unit and the same scale. Do not mix percentages with raw scores, or pre-test means with post-test means.
  4. 4 Enter one row per group: Type the n, mean, and standard deviation for each active group. Leave optional group rows at 0 to exclude them from the analysis.
  5. 5 Read the result panel: Compare the F-statistic with the critical F at α = 0.05 and the p-value against your chosen significance level before drawing a conclusion.

A teaching experiment compares three sections with n = 10, 12, and 9 students. Section means are 78, 82, and 74 with standard deviations around 6. After entering the values, the calculator reports F ≈ 4.6, df₁ = 2, df₂ = 28, and p ≈ 0.018, so at least one section mean is different at the 5% level.

When you only have raw observations and need to produce the per-group means and SDs to enter here, the Statistics Calculator summarizes a data set with sample size, mean, variance, and standard deviation in one step.

Benefits of Using This Calculator

Working from summary statistics lets the anova calculator run a full F-test without re-entering raw observations, which keeps the workflow short and the numbers auditable.

  • Works from mean and SD: No need to paste raw observations; enter each group's n, mean, and standard deviation and get a complete F-test result.
  • Built-in p-value: The right-tail probability against the F-distribution is computed automatically, so you do not have to flip through printed tables.
  • Critical F included: The critical F at α = 0.05 is returned alongside the observed F, which makes reject-or-fail-to-reject decisions fast.
  • Component sums of squares: SSB and SSW are shown separately, so you can write a standard ANOVA table without extra calculations.
  • 3 to 5 groups: Supports up to five groups, which covers the majority of textbook and applied one-way ANOVA use cases.

Use the same period and the same unit for every group so the grand mean and the pooled variance both stay meaningful. If you need a different normalization per group, normalize first and then enter the summary statistics.

Pair a significant F-test with a follow-up test before claiming any specific group is different. The calculator's F-test tells you the means are not all equal; it does not identify the responsible group on its own.

If your groups are defined by a categorical predictor and your response is a count, the Chi-Square Calculator is the matching categorical-data alternative to this calculator.

Factors That Affect Your Results

Several factors change what an ANOVA result really tells you. Review them before you finalize the conclusion.

Group size balance

Balanced designs with equal sample sizes are most robust. Unequal groups work, but very small groups can leave the F-test sensitive to non-normality and unequal variances.

Within-group variability

Falls in MSW raise the F-ratio and lower the p-value. If one group has a much larger SD than the others, double-check that group for outliers or measurement issues.

Number of groups

Adding more groups increases df₁ and changes the F critical value. ANOVA is meant for three or more groups; with exactly two groups, prefer a t-test.

Assumed distributions

ANOVA assumes independent observations, approximately normal groups, and similar variances. Mild deviations are tolerable when groups are balanced; large deviations call for a Welch-style adjustment or a non-parametric test.

  • The calculator uses each group's sample SD with denominator (n − 1). Population SDs, range-based estimates, or standard errors must be converted to a sample SD before entry.
  • The F-test only confirms that not all means are equal. To find which group differs, follow up with a post-hoc test such as Tukey HSD or pairwise t-tests with a multiple-comparison correction.
  • ANOVA does not handle repeated measures, blocking, or covariate adjustment. For those designs use repeated-measures ANOVA, mixed models, or ANCOVA, not the one-way F-test.

When group sizes differ, report the actual sample sizes and SDs alongside the F-statistic so readers can see why the p-value moved. A difference of one or two observations can change df₂ and shift the critical F.

If you suspect strong non-normality or unequal variances, switch to Welch ANOVA in your statistical software. The result should agree with this calculator on direction and broad significance.

According to Handbook of Biological Statistics (McDonald), one-way ANOVA assumes observations within each group are normally distributed and homoscedastic, and balanced designs tolerate moderate heteroscedasticity while unbalanced designs are much more sensitive to unequal standard deviations.

ANOVA calculator with group sample size, mean, and standard deviation inputs producing F-statistic, p-value, and critical F at α = 0.05
ANOVA calculator with group sample size, mean, and standard deviation inputs producing F-statistic, p-value, and critical F at α = 0.05

Frequently Asked Questions

Q: What does an ANOVA calculator do?

A: An ANOVA calculator computes a one-way ANOVA F-test from each group's sample size, mean, and standard deviation. It returns the F-statistic, the between-group and within-group degrees of freedom, the p-value from the F-distribution, and the critical F at α = 0.05 so you can decide whether at least one group mean is different.

Q: How is the F-statistic computed in one-way ANOVA?

A: The calculator computes the between-group sum of squares SSB from each group mean and the grand mean, the within-group sum of squares SSW from each group's SD, then divides SSB by (k − 1) and SSW by (N − k). The F-statistic is the ratio of those two mean squares.

Q: What are the degrees of freedom in ANOVA?

A: The between-group degrees of freedom equal the number of groups minus one (k − 1). The within-group degrees of freedom equal the total sample size minus the number of groups (N − k). Together they specify which F-distribution the calculator uses for the p-value and critical F.

Q: What is a good F-statistic in ANOVA?

A: An F-statistic is large enough when it exceeds the critical F at your chosen significance level for the same df₁ and df₂, or when the right-tailed p-value drops below your threshold (commonly 0.05). The numeric size of F on its own does not indicate significance; only the comparison with the F-distribution cutoff does.

Q: What is the difference between ANOVA and a t-test?

A: A t-test compares the means of two groups; one-way ANOVA compares the means of three or more groups at once. With exactly two groups, the ANOVA F-statistic equals the squared t-statistic, so a t-test is the more direct and equally powerful choice.

Q: When should I not use a one-way ANOVA?

A: Avoid one-way ANOVA when observations are not independent, when groups have strongly different variances with very unequal sizes, when the response is categorical, or when the same subject contributes data to more than one group. For those cases use repeated-measures ANOVA, Welch ANOVA, chi-square, or a mixed model.