Enter a dataset and instantly get mean, median, mode, variance, population and sample standard deviation, range, and coefficient of variation with bell curve visualization.
Standard deviation is the most widely used measure of how spread out the values in a dataset are around the mean. A small standard deviation means the values are clustered closely together; a large one means they are widely dispersed. Understanding standard deviation is essential for statistics in the UK (GCSE and A-Level) and the US (AP Statistics), as well as for data science, finance, quality control, and scientific research.
Standard deviation (Ο for population, s for sample) measures the average distance of each data point from the mean. Formally, it is the square root of the variance. A low standard deviation indicates data points tend to be close to the mean; a high standard deviation indicates they are spread over a wider range.
This is the most important distinction in standard deviation calculations:
Population SD (Ο): Use when you have data for the ENTIRE population. Divide the sum of squared deviations by n (the total count).
Sample SD (s): Use when you have a SAMPLE from a larger population. Divide by nβ1 (Bessel's correction) to get an unbiased estimate.
| Type | Symbol | Denominator | When to Use |
|---|---|---|---|
| Population SD | Ο (sigma) | n | You have every value in the population (census data, entire class grades) |
| Sample SD | s | n β 1 | You have a sample from a larger population (survey, scientific experiment) |
| Population Variance | ΟΒ² | n | Square of population SD |
| Sample Variance | sΒ² | n β 1 | Square of sample SD (unbiased estimator) |
Population standard deviation:
Ο = β[ Ξ£(xα΅’ β xΜ)Β² / n ]
Sample standard deviation:
s = β[ Ξ£(xα΅’ β xΜ)Β² / (n β 1) ]
Where: xα΅’ = each value, xΜ = mean, n = count
Step-by-step process:
When data follows a normal (bell-shaped) distribution, the standard deviation tells you how data is spread relative to the mean through the empirical rule:
| Range | % of Data (Normal Distribution) | Example (mean=100, Ο=15) |
|---|---|---|
| Mean Β± 1Ο | ~68.27% | 85 to 115 |
| Mean Β± 2Ο | ~95.45% | 70 to 130 |
| Mean Β± 3Ο | ~99.73% | 55 to 145 |
IQ scores are a classic example: mean = 100, SD = 15. About 68% of people have IQ between 85 and 115, 95% between 70 and 130, and 99.7% between 55 and 145.
A z-score tells you how many standard deviations a particular value is from the mean:
z = (x β xΜ) / Ο
A z-score of +2 means the value is 2 standard deviations above the mean. Z-scores allow comparison across different datasets and scales. In a normal distribution, z-scores directly correspond to percentile positions in standard normal tables.
In finance, standard deviation is the primary measure of risk/volatility for investments. Daily, monthly, or annual returns are collected and their standard deviation calculated. A stock with annualised SD of 15% is more volatile than one with 8%. Portfolio theory (Markowitz, 1952) uses SD to quantify risk and find optimal asset allocations.
The Six Sigma methodology (developed at Motorola, popularised by GE) uses standard deviations directly: a process operating at "Six Sigma" quality produces fewer than 3.4 defects per million opportunities, corresponding to being within 6 standard deviations of the target. The term literally means 6Ο from the process mean to the nearest specification limit.
At GCSE Mathematics (UK), standard deviation is not part of the standard syllabus but appears in GCSE Statistics. At A-Level Mathematics and Statistics, standard deviation is a core topic. Students are expected to calculate both population and sample standard deviation, understand the effect of adding a constant or multiplying all values, and interpret standard deviation in context. A-Level Further Mathematics includes deeper treatment of distributions.
AP Statistics in the US covers standard deviation extensively in Unit 1 (Exploring One-Variable Data). Students must understand the calculation, interpret meaning, understand the sample vs population distinction, and know when standard deviation is appropriate vs other spread measures like IQR. The AP exam frequently asks for comparisons between distributions using mean and SD.
The coefficient of variation (CV) = (SD / mean) Γ 100%. It expresses standard deviation as a percentage of the mean, allowing comparison of spread between datasets with different units or scales. A CV below 15% generally indicates low variability; above 30% indicates high variability.
Population SD (Ο) divides by n and is used when you have data for the entire population. Sample SD (s) divides by nβ1 (Bessel's correction) and is used when you have a sample. The nβ1 denominator makes the sample SD an unbiased estimator of the true population SD. For large samples (n > 30) the difference is negligible.
A high standard deviation means data is widely spread out around the mean β high variability. A low standard deviation means data is clustered closely around the mean β low variability. "High" and "low" are relative to the mean and context: SD of 5 is low for a dataset with mean 1000, but high for one with mean 10.
For normally distributed data: ~68% of values fall within 1 standard deviation of the mean, ~95% within 2 SD, and ~99.7% within 3 SD. This empirical rule is used extensively in quality control, finance, and exam score analysis.
1. Find the mean. 2. Subtract the mean from each value. 3. Square each difference. 4. Sum the squares. 5. Divide by n (population) or nβ1 (sample). 6. Take the square root. The result is the standard deviation.
Variance is the average of the squared deviations from the mean. Standard deviation is simply the square root of variance. Variance is in squared units (e.g., cmΒ²), while SD is in the original units (cm), making SD more interpretable. Both measure spread.
Standard deviation is not in the core GCSE Mathematics syllabus in England. It appears in GCSE Statistics (a separate qualification) and is a core topic in A-Level Mathematics and Statistics. Students first encounter it formally at A-Level or in GCSE Statistics.
A z-score measures how many standard deviations a value is from the mean: z = (x β mean) / SD. A z-score of 2 means the value is 2 SDs above the mean. Z-scores allow comparison of values from different distributions and are used to find percentiles using normal distribution tables.
The coefficient of variation (CV) = (SD / mean) Γ 100%. It expresses spread relative to the mean as a percentage, enabling comparison between datasets with different units or scales. A CV below 15% is generally low variability; above 30% is high.
Results are for educational and informational purposes. Statistical calculations depend on correct data entry. For professional statistical analysis consult qualified statisticians.