This calculator finds the variance and standard deviation of a data set, and lets you choose whether to treat the data as a complete population or as a sample drawn from a larger group. Variance measures how far the values in a data set are spread from their mean: a small variance means the numbers are tightly clustered, and a large variance means they are widely dispersed. Standard deviation is the square root of variance and is more commonly reported because it is expressed in the same units as the original data, making interpretation more intuitive. The difference between population and sample variance comes down to the denominator: population variance divides by N (the total count) and is correct when your data contains every member of the group; sample variance divides by N minus 1, applying Bessel's correction so that the result is an unbiased estimate of the true population variance. To use the calculator, enter your numbers separated by commas and select whether they represent a population or a sample. You receive the variance, the standard deviation, the mean and the count. Decimals and negative numbers are accepted. This tool suits students studying statistics, researchers checking the spread of their data, quality control engineers measuring process variability, and finance professionals computing the volatility of returns. Results are calculated from the values you enter and do not account for how the data was collected.
The calculator parses your comma-separated list and computes the mean by summing all values and dividing by the count. It then finds the squared deviation of each value from the mean, sums those squared deviations, and divides by N for population variance or by N minus 1 for sample variance. Standard deviation is the positive square root of that result. The mean and count are also displayed so you can cross-check your data entry.
Using the default data set 2, 4, 4, 4, 5, 5, 7, 9: the count is 8 and the sum is 40, so the mean is 5.00. The squared deviations from the mean are: (2-5)²=9, (4-5)²=1, (4-5)²=1, (4-5)²=1, (5-5)²=0, (5-5)²=0, (7-5)²=4, (9-5)²=16. The sum of squared deviations is 32. Population variance is 32 divided by 8 = 4.00. Population standard deviation is the square root of 4 = 2.00. Sample variance would be 32 divided by 7 = 4.57.
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.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
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 by 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-07-27 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.