Standard Deviation Calculator — Step-by-Step Solutions
Your calculations will appear here
The Standard Deviation Calculator computes key statistical measures for any dataset. It calculates both population and sample standard deviation, variance, mean, median, range, and sum.
Enter your data values separated by commas and get comprehensive statistics instantly. The calculator clearly shows the difference between population and sample calculations.
How to Use the Standard Deviation Calculator
- Enter your data values separated by commas (e.g. 4, 8, 6, 5, 3, 7, 2, 9).
- The calculator computes both population and sample standard deviation, variance, mean, median, range, and sum.
- Population standard deviation divides by N; sample standard deviation divides by N-1 (Bessel's correction).
Formula and Theory
Standard deviation measures how spread out values are from the mean. A low standard deviation means data points cluster near the mean; a high standard deviation means they are more dispersed.
The calculation involves: (1) find the mean, (2) subtract the mean from each value and square the result, (3) find the average of those squared differences (variance), (4) take the square root. For a sample, divide by N-1 instead of N to correct for bias.
Worked Examples
Example 1: Population standard deviation
Problem: Find the standard deviation of {2, 4, 4, 4, 5, 5, 7, 9}
Solution: Mean = 40/8 = 5. Variance = ((2-5)^2 + (4-5)^2 + ... + (9-5)^2) / 8 = 4. SD = sqrt(4)
Answer: SD = 2
Example 2: Sample vs population
Problem: For the sample {3, 7, 7, 19}, find the sample standard deviation
Solution: Mean = 36/4 = 9. Sum of squared deviations = 36+4+4+100 = 144. Sample variance = 144/3 = 48
Answer: Sample SD = 6.93
Frequently Asked Questions
When should I use population vs sample standard deviation?
What is variance?
What does a standard deviation of 0 mean?
What is Bessel's correction?
Related Statistics Calculators
Variance Calculator
Calculate population and sample variance, frequency table variance, and grouped data variance. Step-by-step solutions with formulas. Free online variance calculator.
Mean, Median & Mode Calculator
Calculate mean, median, mode, and range for any dataset. Free online central tendency calculator with step-by-step solutions.
Z-Score Calculator
Calculate z-scores, find values from z-scores, and determine probabilities. Free online z-score calculator with bell curve visualisation.
Coefficient of Variation
Calculate the coefficient of variation (CV) from a dataset or from mean and standard deviation. Compare relative variability between datasets. Free online tool.
Normal Distribution Calculator
Calculate probabilities for normal distributions. Find areas under the bell curve, percentiles, and inverse values. Free online tool.
Outlier Calculator
Detect outliers using IQR, Z-score, or Modified Z-score methods. Free online outlier calculator with box plot visualisation and step-by-step analysis.