Standard Deviation Calculator

Calculate mean, median, mode, variance, and standard deviation for any set of numbers.

5 numbers parsed

Standard Deviation

15.8114

Count (n)5
Sum150
Mean (Average)30
Median30
ModeNone
Variance ()250
Std Dev (s)15.8114
Range40
Min / Max10 / 50
IQR (Q3-Q1)20

How to Calculate Standard Deviation

  1. Enter your data set. Type or paste numbers separated by commas, spaces, or semicolons. Example: 85, 90, 78, 92, 88. You need at least 2 values. The calculator handles up to hundreds of data points.
  2. Choose sample or population. Use "Sample" (divides by n-1) when your data represents a subset of a larger group, like surveying 100 customers to estimate all customers. Use "Population" (divides by N) when you have data for every single member of the group.
  3. Read the statistics. Results include mean, median, mode, range, variance, standard deviation, and interquartile range (IQR). The sorted data view helps spot outliers.

Example: test scores 70, 75, 80, 85, 90 have mean = 80, sample SD = 7.91. About 68% of scores would be expected between 72.09 and 87.91 in a similar test.

Standard Deviation Formula and Statistics

Mean (μ):         μ = Σxᵢ / n

Population SD (σ): σ = √(Σ(xᵢ - μ)² / N)
Sample SD (s):     s = √(Σ(xᵢ - x̄)² / (n-1))

Variance:         σ² or s² (SD squared)

Steps to calculate by hand:
1. Find the mean
2. Subtract mean from each value, square each difference
3. Sum all squared differences
4. Divide by N (population) or n-1 (sample)
5. Take the square root

Worked example: data = 2, 4, 4, 4, 5, 5, 7, 9

Mean(2+4+4+4+5+5+7+9) / 8 = 40/8 = 5
Squared differences9, 1, 1, 1, 0, 0, 4, 16 (sum = 32)
Population variance32/8 = 4
Population SD√4 = 2
Sample SD√(32/7) = √4.57 = 2.14

Frequently Asked Questions

Standard deviation measures how spread out data points are from the mean. A low SD means values cluster tightly around the average. A high SD means values are spread widely. In a normal distribution: about 68% of data falls within 1 SD of the mean (between μ-σ and μ+σ), 95% within 2 SDs, and 99.7% within 3 SDs. This is called the empirical rule or 68-95-99.7 rule. If test scores have mean 75 and SD 10, about 68% of students scored between 65 and 85.

Related Calculators