Variance is one of the most important numbers in statistics because it puts a single figure on something we can all see but struggle to quantify: how spread out a set of values really is. Two data sets can share the same average yet behave completely differently, one tightly clustered and predictable, the other wildly scattered, and variance is what separates them. This calculator takes any list of numbers and returns both the population variance and the sample variance, along with the mean, the standard deviation, the sum of squares and the count, so you can see exactly where the result comes from rather than trusting a black box. Variance works by measuring how far each value sits from the mean, squaring those distances so that positive and negative gaps do not cancel out, and then averaging them. Squaring also gives extra weight to the outliers that pull a data set apart. The only real decision you need to make is whether your numbers are the entire group you care about, in which case you use the population variance and divide by N, or a sample drawn from something larger, in which case you use the sample variance and divide by N minus 1. That small adjustment, known as Bessel's correction, stops a sample from understating the true spread. Paste or type your values below, separated by commas, spaces or new lines, and the calculator updates instantly. It is built for students checking homework, researchers summarising results, analysts cleaning data, and anyone who needs a fast, transparent measure of variability.
Variance is the mean of the squared deviations from the mean. First find the mean, then for each value subtract the mean and square the result, then add those squares together to get the sum of squares (SS). Population variance is SS divided by N. Sample variance is SS divided by N minus 1.
σ² = Σ(x − μ)² / N (population)
s² = Σ(x − x̄)² / (N − 1) (sample)
Take the values 4, 8, 15, 16, 23, 42. The mean is 108 / 6 = 18. The squared deviations are 196, 100, 9, 4, 25 and 576, which sum to 910. The population variance is 910 / 6 = 151.667, and the sample variance is 910 / 5 = 182. The standard deviations are the square roots of those: about 12.32 and 13.49.
This calculator is for students, teachers, researchers and analysts who need the variance of a data set, whether for homework, a report, quality control, or summarising experimental results.
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.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-06-07 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.