Standard Deviation Calculator - Sample & Population

Enter a list of numbers to calculate the standard deviation, variance, mean, sum, and range — with a choice of sample or population formulas.

Paste comma- or space-separated values, choose sample or population, and get a full set of descriptive statistics instantly.

Standard Deviation Calculator - Sample & Population
Enter a list of numbers to calculate the standard deviation, variance, mean, sum, and range — with a choice of sample or population formulas.

About the standard deviation calculator

Standard deviation is the most widely used measure of how spread out a set of numbers is. It tells you, on average, how far each value sits from the mean. A small standard deviation means the data points cluster tightly around the average; a large one means they are scattered over a wider range. Because it is expressed in the same units as the original data, standard deviation is easy to interpret and forms the backbone of statistics, quality control, finance, science, and the social sciences. The calculation follows a clear sequence. First, find the mean (average) of all the values. Next, subtract the mean from each value and square the result — squaring removes negative signs and gives larger deviations proportionally more weight. Sum those squared deviations to get the total squared error. Divide that sum by the number of data points (or by one less than that count) to get the variance, and finally take the square root of the variance to return to the original units. That square root is the standard deviation. The key choice this calculator gives you is between sample and population formulas. Use the population formula, which divides by n, when your data set includes every member of the group you care about — for example, the ages of all employees in a single department. Use the sample formula, which divides by n − 1, when your numbers are only a sample drawn from a larger population and you want to estimate that population's spread. Dividing by n − 1 (known as Bessel's correction) makes the sample standard deviation an unbiased estimator, which is why it is the default in most statistical work. For the same data, the sample standard deviation is always slightly larger than the population value. Alongside the standard deviation, the calculator reports the variance (the squared version of the spread), the mean, the count of values, the sum, and the minimum and maximum so you can see the range at a glance. Variance is useful in its own right — it is additive and underlies techniques like ANOVA and portfolio risk models — but standard deviation is usually the more intuitive figure to quote because it shares the data's units. Standard deviation appears everywhere: a teacher uses it to see how consistent test scores are, a manufacturer monitors it to keep product weights within tolerance, an investor reads it as the volatility of returns, and a scientist reports it as the uncertainty around a measurement. In a roughly normal distribution, about 68% of values fall within one standard deviation of the mean and about 95% within two, which is why it is central to confidence intervals, z-scores, and hypothesis testing. Enter your numbers above to compute all of these statistics at once.

Standard deviation examples

Click any example button under the calculator to load these data sets.

Data setStandard deviationDetails
Sample: 85, 92, 78, 88, 94s ≈ 6.31Five student test scores. Mean = 87.4, sample variance = 39.8, so the sample standard deviation is about 6.31.
Population: 25, 30, 32, 45, 28, 38, 41σ ≈ 6.79Ages of an entire department (a full population). Mean ≈ 34.14, population variance ≈ 46.12, σ ≈ 6.79.
Sample: 15.5, 17.2, 14.8, 16.5, 18.1, 13.9, 15.7s ≈ 1.43A week of high temperatures treated as a sample. Mean ≈ 15.96, sample variance ≈ 2.05, s ≈ 1.43.

How to use the standard deviation calculator

  1. Enter your numbers in the data box, separated by commas, spaces, or new lines.
  2. Choose Sample if your data is a subset of a larger group, or Population if it includes every member.
  3. Click Calculate to compute the standard deviation, variance, mean, count, sum, and range.
  4. Read the standard deviation to judge how spread out your values are around the mean.
  5. Click Reset to clear the data, or load an example to see a worked data set.

Standard deviation FAQ

What is standard deviation?
Standard deviation measures how spread out a set of numbers is around their mean. A low value means the data clusters near the average; a high value means it is widely scattered. It is expressed in the same units as the data, which makes it easy to interpret.
What's the difference between sample and population standard deviation?
Population standard deviation divides the sum of squared deviations by n and is used when your data covers the entire group. Sample standard deviation divides by n − 1 (Bessel's correction) and is used when your data is a sample meant to estimate a larger population. The sample value is always slightly larger.
How is standard deviation calculated?
Find the mean, subtract it from each value and square the result, add up those squared deviations, divide by n (population) or n − 1 (sample) to get the variance, then take the square root. That square root is the standard deviation.
What is the difference between variance and standard deviation?
Variance is the average of the squared deviations from the mean, while standard deviation is its square root. Variance is in squared units; standard deviation is in the same units as the data, so it is usually the more intuitive figure to report.
Should I use sample or population for my data?
Use population when your numbers represent every member of the group you care about. Use sample when they are only a portion of a larger group and you want to estimate the whole. When in doubt with real-world sampled data, the sample formula is the standard choice.
Why is a low standard deviation considered good?
It depends on context. In manufacturing or testing, a low standard deviation signals consistency and reliability. In investing, low standard deviation means lower volatility and risk. A high standard deviation simply indicates greater variability, which may be desirable or undesirable depending on your goal.