Skip to content

One-Way ANOVA Calculator

Enter each group's values, separated by semicolons. The calculator computes the between-group and within-group variation, the F statistic, the p-value, and eta squared. Three groups of four values with means of 12.75, 19.75, and 24.75 give F = 40.558, p = 0.00003, and an eta squared of 0.90.

Updated 2026-11-19 Editorial estimate Calccc Editorial Team Free · No sign-up

Separate groups with a semicolon and values within a group with commas or spaces.

Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

An analysis of variance compares the means of several groups at once. Instead of running a series of two-group tests, which inflates the chance of a false positive, it asks a single question: is the variation between the group means large compared with the variation inside the groups? If the groups were drawn from the same population, their means would differ by roughly the amount the within-group spread predicts. If they differ by much more, the F statistic becomes large and the p-value becomes small. The method is called one-way because there is one grouping factor, such as a treatment, a region, or a machine. It is one of the most widely used tests in experimental work, and it is also one of the most widely misused: independence, approximate normality, and similar spread all matter, and a significant result says that at least one mean differs, not which one. This calculator reports the full table so the result can be checked.

How to use it

  1. Enter each group's values separated by commas or spaces.
  2. Separate the groups with a semicolon.
  3. Use at least two values per group, and at least two groups.
  4. Read the F statistic and the p-value from the secondary results.
  5. Check eta squared to see how much of the variation the grouping explains.
  6. If the result is significant, follow up with a post-hoc comparison to find which groups differ.

How it works

Between-group sum of squares = the sum over groups of n × (group mean - grand mean) squared. Within-group sum of squares = the sum over all values of (value - group mean) squared. F = (SS between / (k - 1)) / (SS within / (N - k)), where k is the number of groups and N is the total number of values. Eta squared = SS between / (SS between + SS within). In the default case F = 40.558 with 2 and 9 degrees of freedom and p = 0.00003.

Example calculations

Example 1: Three groups of four

The default groups are 12, 15, 14, 10; 18, 20, 19, 22; and 25, 24, 23, 27. Their means are 12.75, 19.75, and 24.75, and the grand mean is 19.08. The between-group sum of squares is 290.67 and the within-group sum of squares is 32.25, so F = 145.33 / 3.58 = 40.56 with 2 and 9 degrees of freedom. The p-value is about 0.00003, and eta squared is 0.90, meaning the grouping explains about 90% of the variation.

Example 2: Two groups

With two groups, a one-way ANOVA gives the same p-value as a two-sample t-test, and F equals the square of the t statistic. If the groups are 10, 11, 12 and 20, 21, 22, the means are far apart relative to the spread, so F is large and the p-value is small. The method still works, but the two-group t-test is usually the more familiar choice.

Example 3: Groups that overlap

If the three groups are 10, 12, 14; 11, 13, 15; and 9, 13, 17, the means are close and the within-group spread is similar, so F is small and the p-value is large. The data are consistent with the groups having the same mean. A large p-value does not prove the means are equal; it means the data do not provide strong evidence that they differ.

What the result means

The p-value answers a narrow question: if the groups came from populations with the same mean, how often would a result at least this extreme appear? A small p-value makes that explanation less plausible, but it does not measure the size of the effect or the probability that the groups are the same. Eta squared does measure the share of variation explained by the grouping, and it is often more useful for deciding whether the result matters. A significant result with a tiny eta squared may be statistically detectable but practically unimportant. A non-significant result with a large eta squared may simply reflect too few observations. After a significant ANOVA, a post-hoc test such as Tukey's HSD compares the pairs while controlling the family-wise error rate; running several ordinary t-tests instead is a common and avoidable mistake.

Common mistakes

  • Using a one-way ANOVA for repeated measurements on the same subjects.
  • Running several two-group t-tests instead of one ANOVA and a post-hoc test.
  • Ignoring unequal variances when the group sizes are very different.
  • Treating a non-significant result as proof that all means are equal.
  • Reading a small p-value as evidence that the effect is large.
  • Entering values in the wrong group or forgetting a separator.

Assumptions and limits

  • Observations are independent within and between groups.
  • Each group is approximately normally distributed.
  • The groups have similar variances.
  • The outcome is measured on a continuous scale.
  • There is one grouping factor, not several.
  • The groups are defined before the data are examined.

Frequently asked questions

What does a one-way ANOVA test?

It tests whether the means of three or more groups are all equal against the alternative that at least one differs. It does this by comparing the variation between the group means with the variation within the groups.

What is the F statistic?

F is the mean square between groups divided by the mean square within groups. A larger F means the group means are more separated relative to the spread inside the groups, which makes the equal-means explanation less plausible.

What p-value is significant?

The conventional threshold is 0.05, but it is a convention rather than a law. Report the p-value and the effect size together, and consider the context and the cost of a wrong decision rather than applying a fixed cut-off mechanically.

Do I need a post-hoc test after ANOVA?

Yes, if the ANOVA is significant and you want to know which groups differ. A post-hoc test such as Tukey's HSD compares the pairs while controlling the chance of false positives across the set of comparisons.

What if the group variances are very different?

The standard F test assumes similar variances. With very different spreads and unequal group sizes, a Welch ANOVA or a non-parametric alternative such as the Kruskal-Wallis test may be more appropriate.

Can I use ANOVA to compare two groups?

Yes, but it is equivalent to a two-sample t-test, and F equals t squared. Most people use the t-test for two groups because it is simpler and gives the direction of the difference directly.

Sources

This calculator is an educational planning tool, not financial, legal, insurance, medical, or professional advice. Results depend on the inputs and on rules that vary by place and provider. Confirm important decisions with a qualified professional and the relevant documents.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Calccc Editorial Team · Updated 2026-11-19

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; not a licensed professional review.