Standard Deviation Calculator
Calculate mean, median, mode, std dev, and more
One-Click Descriptive Statistics
Descriptive statistics summarise a dataset with a small set of numbers that capture its centre, spread, and shape. This calculator computes all key metrics in one step: mean, median, mode, variance, standard deviation, quartiles, IQR, range, and skewness. Just paste your numbers separated by commas, spaces, or new lines.
Measures of Central Tendency: Mean, Median, Mode
The three classic measures of the "centre" of a distribution each tell a different story about a typical value:
- Mean (arithmetic average): (sum of all values) Γ· (count). Sensitive to extreme values β a single very large outlier pulls the mean substantially upward.
- Median: The middle value when data is sorted. For an even count, it is the average of the two middle values. The median is robust to outliers β it does not change if the largest value doubles.
- Mode: The most frequently occurring value. A dataset can be unimodal (one mode), bimodal, or multimodal. If no value repeats, there is no mode.
For nearly symmetric data (e.g., height, test scores), mean β median β mode. For right-skewed data (e.g., income, house prices), mean > median > mode, and the median better represents the typical value.
Measures of Spread: Variance, Standard Deviation, Range, IQR
Central tendency alone does not describe a distribution. Two datasets can have the same mean but very different spreads:
- Range: max β min. Simple but highly sensitive to outliers.
- Variance (ΟΒ²): Average of squared deviations from the mean. Squaring emphasises large deviations but changes the unit (e.g., metresΒ² instead of metres).
- Standard deviation (Ο or s): Square root of variance. In the original unit. The primary spread statistic for normally distributed data.
- IQR (Interquartile Range): Q3 β Q1. The range of the middle 50% of data. Robust to outliers β used in box plots and outlier detection rules.
- Coefficient of Variation (CV): (Sample std dev Γ· |mean|) Γ 100. A dimensionless measure of relative variability β useful for comparing spread across datasets with different units or scales.
Population vs. Sample Standard Deviation
The distinction matters whenever you are drawing conclusions about a larger group from a subset:
- Population Ο: Divide sum of squared deviations by n. Use only when you have data for every member of your entire group of interest.
- Sample s: Divide by n β 1 (Bessel's correction). Use when your data is a sample and you want to estimate the true population standard deviation. This is the correct choice in almost all real-world research and data analysis.
When n is large (100+), the difference between Ο and s becomes negligible. For small samples (n < 30), using the wrong formula can meaningfully affect results.