Browse All Calculators

Standard Deviation Calculator

Free standard deviation calculator for sample and population data. Get the standard deviation, variance, mean, median and z-scores with step-by-step working.

100% Free
No Sign-up
Instant Results
Works on Mobile

Standard Deviation Calculator

Sample or population, with variance, mean and working

Separate numbers with commas, spaces or new lines. Decimals and negatives are fine.
Data type
2
Try an example
Sample standard deviation (s)
8.29
n = 10, mean = 24.7, variance = 68.68
0%30%60%+
Spread relative to the mean (coefficient of variation)
Mean
24.7
Variance (s²)
68.68
Count (n)
10
Sum
247
Median
24.5
Range
26
Std. error
2.62
Coeff. of variation
33.55%
Population σ
7.86
Distribution of your data
mean 24.71238
ValuesMeanWithin 1 standard deviation
Working
Mean x̄ = Σx ÷ n = 247 ÷ 10 = 24.7
Σ(x − x̄)² = 618.1
Variance s² = Σ(x − x̄)² ÷ (n − 1) = 618.1 ÷ 9 = 68.68
Standard deviation s = √68.68 = 8.29
#Value xx − mean(x − mean)²
112-12.7161.29
215-9.794.09
318-6.744.89
422-2.77.29
524-0.70.49
6250.30.09
7294.318.49
8305.328.09
9349.386.49
103813.3176.89
Total2470618.1
What the numbers say
6 of 10 values (60%) are within 1 standard deviation of the mean and 10 (100%) are within 2. A normal distribution would have about 68% and 95%.
No outliers by the 1.5 × IQR rule (fences 2.88 to 45.88).
Quartiles: Q1 = 19, Q3 = 29.75, interquartile range = 10.75.
Dividing by n − 1 corrects for the fact that a sample tends to understate the spread of the whole group.
Standard deviation is in the same units as your data. Type one value in the z-score box to see how far it sits from the mean.
Standard Deviation Calculator — Free Sample and Population Standard Deviation Calculator on HighCalc

Standard Deviation Calculator: Sample and Population Statistics

This free standard deviation calculator finds the standard deviation, variance, mean, median, range and more for any list of numbers. Paste your data separated by commas, spaces or new lines, choose sample or population, and the answer appears as you type. Under the result you get the working step by step, a table of each value's distance from the mean, a chart that shows the spread, and plain-language notes about what the numbers mean, including possible outliers.

Quick answer: for the values 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the population standard deviation is 2 and the sample standard deviation is 2.138. Use the population figure when your data covers everyone or everything in the group, and the sample figure when it is only part of a larger group.

What Is Standard Deviation?

Standard deviation tells you how far values typically sit from their average. If every value is close to the mean, the standard deviation is small, and if they are spread widely, it is large. Because it is in the same units as your data, it is easy to read: a standard deviation of 3 cm means measurements usually differ from the mean by about 3 cm. Test scores, product measurements, daily temperatures and investment returns are all described this way.

Standard Deviation Formulas

Sample standard deviations = √( Σ(x − x̄)² ÷ (n − 1) )
Population standard deviationσ = √( Σ(x − μ)² ÷ n )
VarianceVariance = (standard deviation)²
Standard error of the meanSE = s ÷ √n
Z-scorez = (x − mean) ÷ standard deviation

Here x̄ is the mean, n is how many values you have, and Σ means add them all up. The calculator shows each of these steps with your own numbers.

Sample or Population?

Use population when your list contains every member of the group you care about, such as the scores of all 30 students in one class. Use sample when your list is only part of a larger group, such as 30 people surveyed out of a whole city. The sample version divides by n − 1 instead of n, which corrects for the fact that a sample usually understates the true spread. When in doubt, sample is the usual choice in research and coursework.

Examples

Data setValues (n)MeanPopulation σSample s
Classic 8 values8522.14
Exam scores1024.77.868.29
Measurements105.160.570.6
Even steps1112515.8116.58
Temperatures1021.6622.11

For the exam scores, the mean is 24.7, the sample variance is 68.68 and the sample standard deviation is 8.29. The two columns are close here because there are ten values, but the gap grows for small data sets.

How to Read the Results

In a bell-shaped distribution, about 68% of values fall within one standard deviation of the mean, 95% within two and 99.7% within three. The calculator counts how many of your values fall within one and two standard deviations so you can compare your data with that pattern. It also lists possible outliers using the interquartile range rule. To see the middle values of a data set, use the mean median mode calculator, and for percentages of totals the percentage calculator is a quick companion.

Limits and Things to Know

The calculator needs at least two numbers for a sample and one for a population. A single extreme value can raise the standard deviation a lot, so check the outlier note. The 68-95-99.7 pattern applies to normal distributions and may not describe skewed data. Enter raw values rather than grouped data, and repeat a value if it occurs more than once. Entries that are not numbers are ignored and listed above the results.

Who Can Use This Calculator?

Students and teachers use it to check statistics homework and to see the method behind an answer. Researchers, analysts and quality engineers use it to describe variation in measurements, and teachers use it to explain grades. Investors and sports analysts use it to compare consistency, since a lower value means more predictable results.

How to Use This Standard Deviation Calculator

1

Enter your data

Type or paste your numbers separated by commas, spaces or new lines, or tap an example to load one.

2

Choose sample or population

Pick Sample (n − 1) if your data is part of a larger group, or Population (n) if it covers the whole group.

3

Set the decimals

Choose how many decimal places to show. Add a value in the z-score box to see how far it is from the mean.

4

Read the result and working

See the standard deviation, variance, mean, chart, step-by-step working and notes on spread and outliers.

Features

Instant Results
Everything updates as you type or paste
Sample and Population
Both versions, with the other one shown beside it
Distribution Chart
A histogram with the mean and one-deviation band
Step-by-Step Working
See every value's distance from the mean
Works Everywhere
Fully responsive on phone, tablet, and desktop
Private & Secure
All calculations run in your browser — nothing is stored
Frequently Asked Questions
Common questions about the Standard Deviation Calculator.
What is standard deviation?
Standard deviation is a measure of the amount of variation or dispersion in a set of values. A low standard deviation indicates that values tend to be close to the mean, while a high standard deviation indicates that values are spread out over a wider range.
What is the difference between sample and population standard deviation?
Sample standard deviation divides by n - 1 (Bessel's correction) and is used when your data is a sample of a larger group. Population standard deviation divides by n and is used when you have data for the entire group. For the values 2, 4, 4, 4, 5, 5, 7, 9 they are 2.138 and 2.
How do I interpret standard deviation results?
In a normal distribution, about 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three. A larger standard deviation means more variability, and it is always in the same units as your data.
What is variance in statistics?
Variance is the average of the squared differences from the mean. Standard deviation is the square root of the variance. Variance is in squared units, while standard deviation is in the same units as the original data.
How do I calculate standard deviation by hand?
Find the mean, subtract it from each value, square each result and add them up. Divide by n - 1 for a sample or n for a population to get the variance, then take the square root. The working box under the result shows each of these steps for your data.
Can I calculate standard deviation for grouped data?
This calculator works with raw data, so enter every value separately. For a frequency table, repeat each value as many times as it occurs, or use a grouped-data formula that accounts for class midpoints and frequencies.