One-Way ANOVA Calculator

Compare two to ten independent group means with a complete ANOVA table, F statistic, p-value, effect sizes, diagnostics, and calculation steps.

F StatisticP-ValueANOVA TableEffect SizesVariance Visuals
Share this tool

Group observations

Enter independent observations separated by commas, spaces, semicolons, or new lines.

observations
observations
observations
observations
observations
observations
observations
observations
observations
observations
Quick Load:

Calculating ANOVA...

Enter at least two groups to compare their means with a one-way ANOVA.

What Is a One-Way ANOVA Calculator?

A one-way analysis of variance calculator compares the means of two or more independent groups defined by one categorical factor. The null hypothesis states that all population means are equal. The alternative states that not all means are equal; it does not identify a particular group or pair.

This calculator accepts raw observations, calculates stable group summaries, partitions total variability, and evaluates an F statistic against the F distribution. It reports the upper-tail p-value, critical F value, effect sizes, and complete ANOVA table. A small p-value provides evidence against equal means when the study design and model assumptions are appropriate.

ANOVA is an inferential procedure, not proof of a causal relationship. Random assignment, representative sampling, measurement quality, and the scientific context determine what conclusions the result can support.

How One-Way ANOVA Splits Variability

ANOVA asks whether separation among group means is large compared with ordinary variation among observations inside the groups.

How One-Way ANOVA Splits VariabilityTotal variability branches into between-group and within-group sums of squares, which form the mean-square F ratio.Total variabilitySS totalBetween groupsGroup means differ from the grand meanSS betweenWithin groupsObservations vary inside each groupSS withinF = MS between ÷ MS withinsignal relative to noise

Signal

Between-group mean separation contributes to the numerator.

Noise

Within-group dispersion supplies the comparison baseline.

F ratio

A larger ratio indicates stronger separation relative to within-group variation.

How to Calculate the ANOVA F Statistic

First calculate each group mean and the grand mean weighted by group sample sizes. SSbetween sums each squared group-mean deviation from the grand mean, weighted by that group's size. SSwithin sums squared deviations of observations from their own group mean.

Divide SSbetween by k−1 to obtain MSbetween, where k is the group count. Divide SSwithin by N−k to obtain MSwithin, where N is the total observation count. The F statistic is MSbetween divided by MSwithin.

The upper-tail p-value is the probability, under the equal-means null model, of observing an F statistic at least this large. Reject H₀ when p is smaller than α; otherwise fail to reject it. Failing to reject is not the same as proving equality.

How to Read an ANOVA Table

The between-groups row represents variation associated with mean differences. The within-groups row represents residual variation not explained by group membership. Their sums of squares add to total variation, subject only to tiny floating-point rounding.

Degrees of freedom account for estimated means and convert sums of squares into mean squares. F and p belong to the between-groups comparison; they are not repeated on within or total rows.

Statistical significance depends on effect size, sample size, and variability. A large sample can detect a small effect, while a practically important effect may remain uncertain with sparse or noisy data.

One-Way ANOVA Assumptions

Observations should be independent within and across groups. Independence comes from the sampling or experimental design and cannot be established from a list of numbers. Repeated measurements, matched data, clusters, or multiple observations from one subject require methods that represent that dependence.

Errors within each population should be approximately normal, and population variances should be reasonably similar. Classical ANOVA is often fairly robust to moderate nonnormality when samples are balanced and not extremely small, but strong skew, outliers, unequal sizes, and unequal variances can combine badly. Plots and residual analysis are more informative than relying on one descriptive ratio.

The displayed largest-to-smallest sample-variance ratio is only a prompt for investigation. It is not Levene's test and does not certify the homogeneity assumption. Welch's ANOVA may be more appropriate when variances are materially unequal.

ANOVA Effect Sizes

Eta-squared, η², is the proportion of observed total variation attributed to between-group differences. Omega-squared, ω², adjusts for degrees of freedom and is commonly treated as a less biased population estimate. A sample omega-squared estimate can be negative; this calculator displays a practical lower bound of zero and discloses truncation.

Cohen's f transforms eta-squared to a standardized scale. Rough η² landmarks of .01, .06, and .14 are sometimes called small, medium, and large, but they are not universal standards. Report the numerical estimate and interpret it using domain knowledge, measurement units, costs, risks, and prior research.

After a significant omnibus test, a post-hoc procedure such as Tukey's method can examine pairwise differences while addressing multiple comparisons. Do not infer a particular differing pair from the omnibus p-value alone.

ANOVA Terms and Symbols

SymbolMeaningInterpretation
SSSum of squaresAmount of variability from a stated source
dfDegrees of freedomIndependent information associated with an SS
MSMean squareSS divided by its degrees of freedom
FF statisticMSbetween divided by MSwithin
pUpper-tail p-valueEvidence measure under the null model
η²Eta-squaredObserved proportion of variance explained
ω²Omega-squaredBias-adjusted explained-variance estimate

One-Way ANOVA Calculator FAQ

What does a one-way ANOVA test?

It tests the null hypothesis that all population means across levels of one categorical factor are equal. A significant result supports the conclusion that at least one mean differs, without identifying which one.

How do I interpret the ANOVA F statistic?

F compares variation among group means with variation inside groups. Larger values provide stronger evidence against equal means when assumptions hold, but degrees of freedom are needed to translate F into a p-value.

What does the p-value mean in ANOVA?

It is the probability, assuming equal population means and the ANOVA model, of obtaining an F statistic at least as large as observed. It is not the probability that the null hypothesis is true.

What are the assumptions of one-way ANOVA?

Observations should be independent, model errors approximately normal within groups, and population variances reasonably similar. The response is numerical and the single factor is categorical.

What is the difference between SSbetween and SSwithin?

SSbetween measures weighted separation of group means from the grand mean. SSwithin measures observations' deviations from their own group means and represents residual variability.

What should I do after a significant ANOVA?

Check diagnostics, report the effect size, and use an appropriate multiplicity-adjusted post-hoc analysis if specific group comparisons matter. Choose that method based on the design and variance assumptions.

What effect size should I report for ANOVA?

Eta-squared describes the sample's explained variation, while omega-squared offers a bias-adjusted estimate. Reporting both with context is often more useful than assigning a threshold label alone.

Related Calculators