Free online formula calculators

Standard Deviation Calculator

Paste a list of numbers to calculate its standard deviation and variance, treating the data either as a sample or as the entire population.

Standard Deviation Calculator
Separate values with commas, spaces or new lines.
Result
Standard deviation1.8257
Variance3.3333
Mean6
Sum of squared deviations30
Coefficient of variation30.43%
Count10

Link to this calculation

Formula

Sample: s = √( Σ(x − x̄)2 ÷ (n − 1) )
Population: σ = √( Σ(x − μ)2 ÷ N )
SymbolMeaning
s, σSample and population standard deviation
xEach individual value
x̄, μMean of the data
n, NNumber of values

How to Use This Calculator

  1. Type or paste the Data set. Numbers separated by commas, spaces or new lines.
  2. Choose the Data represents (A sample (divide by n − 1), The whole population (divide by N)).
  3. Press Calculate. Results also update automatically as you type.

Worked Example

Using the values pre-filled in the calculator above:

Inputs
Data set4, 8, 6, 5, 3, 7, 9, 5, 6, 7
Data representsA sample (divide by n − 1)
Results
Standard deviation1.8257
Variance3.3333
Mean6
Sum of squared deviations30
Coefficient of variation30.43%
Count10

About This Calculation

Standard deviation measures how far values typically sit from their mean. A small standard deviation means the data cluster tightly around the average; a large one means they are widely scattered. It is expressed in the same units as the data, which makes it easier to interpret than the variance, its square.

The most common mistake is choosing the wrong formula. If your numbers are the entire group you care about, such as the scores of every student in one class, use the population version and divide by N. If they are a sample used to estimate a larger population, such as 50 customers surveyed out of thousands, divide by n − 1 instead. This adjustment, known as Bessel's correction, compensates for the fact that a sample's own mean sits slightly closer to its values than the true population mean does.

For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean and about 95% within two. Standard deviation is used to judge investment volatility, manufacturing tolerances, test score spread and measurement error. The coefficient of variation (standard deviation divided by the mean) lets you compare spread between data sets with very different averages.

Frequently Asked Questions

What is the difference between sample and population standard deviation?
The population formula divides by N, the sample formula by n − 1. Use the sample version whenever your data are a subset used to estimate something about a larger group, which is the usual case in research.
Can standard deviation be negative?
No. It is the square root of an average of squared distances, so it is always zero or positive. It is zero only when every value is identical.
How does standard deviation relate to z-scores?
A z-score expresses how many standard deviations a value lies from the mean. You can convert any value with the z-score calculator.

Category: Statistics & Probability. Found a problem with this calculator? Let us know.