Loading...
Standard deviation measures how spread out numbers are from the average. A low standard deviation means data points cluster near the mean; a high standard deviation means they are spread over a wider range. It is one of the most fundamental concepts in statistics.
Standard Deviation (σ (population) or s (sample))
σ = √[ Σ(xᵢ - μ)² / N ]
s = √[ Σ(xᵢ - x̄)² / (n - 1) ]
Add all data values together and divide by the count. For the dataset {4, 8, 6, 5, 3}: Mean = (4+8+6+5+3) / 5 = 26/5 = 5.2
μ = Σxᵢ / NSubtract the mean from each value: (4−5.2)=−1.2, (8−5.2)=2.8, (6−5.2)=0.8, (5−5.2)=−0.2, (3−5.2)=−2.2
xᵢ - μSquare each result to remove negatives: (−1.2)²=1.44, (2.8)²=7.84, (0.8)²=0.64, (−0.2)²=0.04, (−2.2)²=4.84
(xᵢ - μ)²Add up all squared deviations and divide by N (population) or N−1 (sample). Sum = 14.8. Population variance = 14.8/5 = 2.96. Sample variance = 14.8/4 = 3.7
σ² = Σ(xᵢ - μ)² / NThe square root of the variance gives the standard deviation. Population SD = √2.96 ≈ 1.72. Sample SD = √3.7 ≈ 1.92
σ = √(σ²)Use population standard deviation (÷ N) when you have data for the entire group. Use sample standard deviation (÷ N−1) when your data is a sample of a larger population — dividing by N−1 corrects for the bias of estimating from a sample (called Bessel's correction).
Standard deviation is used everywhere: test scores (are students performing consistently?), stock prices (how volatile is an investment?), manufacturing (are products within quality specs?), weather (how variable are temperatures?), and scientific experiments (how reliable are measurements?).
The most common mistake is using N instead of N−1 for sample data. Another is forgetting to square the deviations before averaging — this would give the Mean Absolute Deviation, which is a different measure.
Skip the manual calculations. Use our free Standard Deviation Calculator for instant results.
Open Standard Deviation Calculator →