Standard Deviation Calculator
Find the population and sample standard deviation and variance of a list of numbers. Add as many values as you need. Runs in your browser.
A free standard deviation calculator that finds both the population and sample standard deviation and variance of a list of numbers. Add as many values as you need, and every statistic updates immediately. Useful for statistics homework, analyzing test scores or measurements, or checking how spread out a dataset is. Everything runs in your browser, and nothing is stored.
How to use this tool
- 01Enter your numbersType each value into its own row. Use "Add number" for more rows.
- 02Read the resultsThe population standard deviation, sample standard deviation, variance, and mean update automatically as you type.
When is this useful?
- Statistics homework and examsCheck a hand-calculated standard deviation, or quickly work through a dataset without redoing the arithmetic by hand.
- Analyzing test scores or measurementsSee how spread out a set of scores or measurements is around the mean — a low standard deviation means values cluster tightly, a high one means they vary widely.
- Quality control and consistency checksMeasure the consistency of repeated measurements (for example, product weights or timing results) by comparing their standard deviation.
Examples
- A classic datasetFor 2, 4, 4, 4, 5, 5, 7, 9: the mean is 5, and the population standard deviation is exactly 2.
- Identical valuesFor 4, 4, 4, 4: the standard deviation is 0, since there is no spread at all.
- A small sampleFor 1, 2, 3, 4, 5: the sample standard deviation (≈1.58) is slightly larger than the population standard deviation (≈1.41), because the sample formula corrects for the bias of estimating from a subset.
Formulas and how the calculation works
Standard deviation measures how spread out a set of numbers is around the mean. First, the mean is subtracted from each value and the result squared; these squared differences are averaged to get the variance, and the square root of the variance is the standard deviation. Population standard deviation divides by the count (n). Sample standard deviation divides by (n − 1) instead, known as Bessel's correction, which corrects for the tendency of a sample to underestimate the true population spread.
Population vs. sample: which one should I use?
Use population standard deviation when your numbers represent the entire group you care about (for example, every student in a specific class). Use sample standard deviation when your numbers are a subset used to estimate a larger, unknown population (for example, a survey of 50 customers used to estimate all customers). When in doubt, most statistics courses and tools default to the sample version.
Inputs, outputs, and assumptions
Enter any list of numbers, including negative numbers and decimals. The tool returns the count, mean, population variance and standard deviation, and sample variance and standard deviation. Sample statistics require at least 2 values, since dividing by (n − 1) is undefined for a single value.
Privacy and local processing
The calculation runs entirely in your browser. The numbers you enter are never uploaded, stored, or shared, and closing the tab clears everything.
Frequently asked questions
What is the difference between population and sample standard deviation?
Population standard deviation treats your numbers as the complete dataset and divides by the count (n). Sample standard deviation treats your numbers as a sample drawn from a larger population and divides by (n − 1), which slightly increases the result to correct for sampling bias.
Why do I need at least 2 numbers for sample standard deviation?
The sample formula divides by (n − 1). With only one value, that becomes division by zero, so sample standard deviation is undefined for a single data point.
What does a standard deviation of 0 mean?
It means every value in your list is identical — there is no variation at all.
What is variance?
Variance is the standard deviation squared. It measures the same spread as standard deviation, but in squared units, which makes standard deviation easier to interpret directly against the original data.
Is my data saved?
No. Everything is calculated in your browser; nothing is sent to a server.
Related tools
- Average CalculatorFind the mean, median, mode, and range of a list of numbers. Add as many values as you need. Runs in your browser.OpenOpen the tool
- Ratio CalculatorSimplify a ratio A:B to its lowest terms, and see it as a decimal and a percentage. Runs in your browser.OpenOpen the tool
- Percentage CalculatorWork out percentages fast: what is X% of a number, what percent one number is of another, the percentage change between two values, and adding or subtracting a percentage from a number.OpenOpen the tool

