Standard Deviation Calculator
Compute sample and population standard deviation and variance from a pasted list of numbers, with the mean and formulas shown.
Result
How to use this calculator
- Paste your numbers separated by commas, spaces, or new lines.
- Read the sample standard deviation (the usual choice) front and center.
- Use the population standard deviation only if your data is the whole population.
- Check the variance and sum of squared deviations in the breakdown for the working.
About this calculator
Standard deviation measures how spread out a set of numbers is around their mean: a small standard deviation means the values cluster tightly around the average, a large one means they are widely scattered. It is the square root of the variance, which is the average of the squared distances from the mean. There are two versions. The population standard deviation divides by N and is used when your data covers the entire population. The sample standard deviation divides by n โ 1 (Bessel's correction) and is the right choice when your data is a sample drawn from a larger population โ the most common situation. This calculator reports both, along with the variance, mean, and sum of squared deviations, from a list you paste in any common format.
How it works โ the formula
Mean ฮผ = ฮฃx รท n
Population: ฯยฒ = ฮฃ(xโฮผ)ยฒ รท N, ฯ = โฯยฒ
Sample: sยฒ = ฮฃ(xโxฬ)ยฒ รท (nโ1), s = โsยฒBoth square the distance of each value from the mean, average those squares, and take the root. The only difference is dividing by N (population) versus nโ1 (sample).
Worked examples
- Inputs:
- data=2,4,4,4,5,5,7,9
- Output:
- mean 5, pop SD 2, sample SD 2.138
- Inputs:
- data=10,12,14,16,18
- Output:
- mean 14, pop SD 2.828, sample SD 3.162
- Inputs:
- data=5,5,5,5
- Output:
- SD 0 (no spread)
Limitations
- Sample SD requires at least two values.
- Treats the input as raw, unweighted data.
- Very large datasets are summarized in full precision but rounded for display.
Reports the spread of the entered data; inferential use requires a representative sample.
Frequently asked
What is the difference between sample and population standard deviation?+
Why divide by n โ 1 for a sample?+
What is variance versus standard deviation?+
How do I interpret the standard deviation?+
Can standard deviation be negative?+
How many values do I need?+
Related calculators
More tools you might like
Hand-picked tools that pair well with this one โ same audience, same intent.
Paste a list of numbers to get the mean, median, mode, range, count, and sum โ the core measures of central tendency.
Build a confidence interval for a population mean from the sample mean, standard deviation, size, and confidence level using the t-distribution.
z = (x โ ฮผ) / ฯ โ how many standard deviations a value is above or below the mean.
Compute sample (nโ1) and population (n) standard deviation from a list of numbers.
Sample (nโ1) and population (n) variance โ the square of standard deviation.
US federal income tax owed using the 2024, 2025, or 2026 IRS brackets โ by filing status (Single / MFJ / MFS / HoH). Shows marginal rate, effective rate, tax owed, take-home pay, and an optional auto-subtract of the standard deduction.