Standard Deviation Calculator
Calculate sample and population standard deviation, variance, standard error of the mean, sum of squares, and step-by-step deviations table for any dataset.
Adjust Parameters
Separate numbers using commas, spaces, tabs, or newlines. At least 2 numbers required.
Variance: 27.4286 | Mean: 18 (N = 8)
Calculation Breakdown
- 1. Calculate Mean (x̄): Sum of all values ÷ N = 144 ÷ 8 = 18
- 2. Calculate Deviations: Subtract mean from each data point (x_i − x̄).
- 3. Square Each Deviation: (x_i − x̄)², ensuring all values are positive.
- 4. Sum of Squared Deviations (SS): SS = 192
- 5. Sample Variance (s²): SS ÷ (N − 1) = 192 ÷ 7 = 27.4286
- 6. Sample Standard Deviation (s): √s² = √27.4286 = 5.2372
How Standard Deviation Calculator is Calculated
Transparent mathematical formulas and assumptions used across our financial engines.
Variables & Legend
Step-by-Step Calculation
- Mean Calculation:
\bar{x} = \sum x_i / nAdd all data points and divide by sample size.
- Deviations:
d_i = x_i - \bar{x}Subtract the mean from each data point.
- Square Deviations:
d_i^2 = (x_i - \bar{x})^2Square each deviation to remove negative signs.
- Variance:
s^2 = \sum d_i^2 / (n - 1)Sum the squares and divide by degrees of freedom.
- Square Root:
s = \sqrt{s^2}Take the square root to return to original units.
Conventions & Assumptions
- Use Sample Standard Deviation (s) when your data represents a sample of a larger group.
- Use Population Standard Deviation (σ) only when you have collected data from every single member of the population.
Frequently Asked Questions
Related Calculators & Scenarios
Explore AlternativesCalculate arithmetic mean, median, mode, and range.
Calculate single event odds, independent intersections, and binomial distributions.
Calculate percentage changes, increases, and differences.