One-Way ANOVA Calculator

A one-way ANOVA, short for analysis of variance, tests whether the means of several groups differ by more than you would expect from chance alone. This calculator compares up to three groups: you paste a comma separated list of values for each group, and it works out the F statistic, the degrees of freedom, and the sums of squares that drive the test. The idea is to split the total variation in the data into two parts, the variation between the group means and the variation within each group. Dividing each sum of squares by its degrees of freedom gives a mean square, and the F statistic is the between groups mean square divided by the within groups mean square. A large F means the gaps between group means are large relative to the scatter inside the groups, which points to a genuine difference. New Zealand students, researchers, and analysts use one-way ANOVA to compare, for example, sales across three regions, yields from three methods, or scores from three teaching approaches, all in one test rather than many separate t-tests that would inflate the error rate. To read the result, compare the F statistic against a critical value from an F table using the between and within degrees of freedom; a larger F suggests at least one group mean differs. For sound results, use roughly equal group sizes where you can, check that the groups have similar spread, and follow a significant ANOVA with a post hoc test to find which specific groups differ. Always report the group sizes and means alongside the F value so the comparison can be judged fairly.

27.000
F statistic
df between / within2 / 6
SS between54.000
SS within6.000

F = MS between / MS within, where MS = SS / df. df between = groups - 1, df within = total values - groups.

How it works

The tool finds the mean of each group and the overall grand mean. The between groups sum of squares adds each group size times the squared gap between its mean and the grand mean, while the within groups sum of squares adds the squared gaps of each value from its own group mean. Dividing each by its degrees of freedom and taking the ratio gives F.

Worked example

With groups 1,2,3 then 4,5,6 then 7,8,9 the group means are 2, 5 and 8 and the grand mean is 5. The between sum of squares is 54 and the within sum of squares is 6, with 2 and 6 degrees of freedom. The mean squares are 27 and 1, so F is 27.000.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.