Standard Deviation Calculator — Population & Sample SD | CalcifyAll
Free · No Sign-up · Step-by-Step Working

Standard Deviation Calculator

Calculate population and sample standard deviation with full variance breakdown, step-by-step working, and data visualisation. Essential for stats students and data analysis.

📊 Population SD 🔬 Sample SD 📐 Variance 📈 Mean & Median 🔢 Full Breakdown Table 📉 Data Visualisation ⚡ Step-by-Step Working
Standard Deviation Calculator
·
Population & Sample SD
·
Variance Breakdown
·
Mean, Median, Mode
·
Step-by-Step Working
·
Data Visualisation
·
100% Free
·
Z-Scores & Outliers
·
Range & IQR
·
Standard Deviation Calculator
·
Population & Sample SD
·
Variance Breakdown
·
Mean, Median, Mode
·
Step-by-Step Working
·
Data Visualisation
·
100% Free
·
Z-Scores & Outliers
·
Range & IQR
·
📊 Standard Deviation & Variance Calculator
Choose Mode
Population (σ)
Use when your data IS the entire population. Divides by N.
Sample (s)
Use when your data is a sample from a larger population. Divides by N−1 (Bessel’s correction).
Enter Your Data
💡 Tip: You can paste data from a spreadsheet. Commas, spaces, tabs, and new lines all work as separators.
Quick Examples
📐 Step-by-Step Working
📐 Z-Score Calculator
Enter Values
📐
📐 Step-by-Step Working
📐 Standard Deviation Formulas Reference
Population SD (σ): σ = √[ Σ(xᵢ − μ)² / N ] Sample SD (s): s = √[ Σ(xᵢ − x̄)² / (N−1) ] Population Var (σ²): σ² = Σ(xᵢ − μ)² / N Sample Var (s²): s² = Σ(xᵢ − x̄)² / (N−1) Mean: x̄ = Σxᵢ / N Z-Score: z = (x − μ) / σ Coefficient of CV = (σ / μ) × 100% Variation (CV): Range: max(x) − min(x)

The key difference between population and sample standard deviation is the denominator: population divides by N (all data points), while sample divides by N−1. This correction (Bessel’s correction) adjusts for the fact that a sample tends to underestimate the true spread of the full population. When in doubt about which to use: if your data is a subset drawn from a larger group, use sample SD.

💡 How to Use This Calculator

Standard Deviation: Enter your numbers separated by commas or spaces, choose population or sample mode, and click Calculate. You’ll see the SD, variance, mean, median, range, and a full breakdown table showing how each value contributes to the spread.

Z-Score Lookup: Enter a single data value, the mean, and the standard deviation to find how many standard deviations that value lies from the mean. Useful for identifying outliers, standardising scores, and comparing across different distributions.

Which mode to use? Use Population (σ) when your dataset contains every member of the group you’re studying. Use Sample (s) when your dataset is a subset taken from a larger group — this is by far the more common scenario in research and data analysis.

💎 6 Key Rules for Standard Deviation
1
Standard deviation measures spread, not size. A larger SD means data points are more spread out from the mean; a smaller SD means they are clustered closely. Two datasets can have the same mean but very different SDs — always report both.
2
Use sample SD (s) for most real-world work. Unless you have data on every single member of a population (rare!), you’re working with a sample. Sample SD uses N−1 in the denominator (Bessel’s correction) to give an unbiased estimate of the true population spread.
3
Variance is just standard deviation squared. Variance (σ² or s²) is the average of squared deviations from the mean. It’s useful in formulas and theoretical work, but SD is easier to interpret because it’s in the same units as your original data (e.g. cm, dollars, seconds).
4
The 68–95–99.7 rule (Empirical Rule) applies to normal distributions. For a normally distributed dataset, about 68% of values fall within 1 SD of the mean, 95% within 2 SDs, and 99.7% within 3 SDs. A Z-score beyond ±3 is typically considered an outlier.
5
Outliers inflate standard deviation significantly. Because deviations are squared, extreme values have a disproportionately large effect on SD. Always inspect your data for outliers before reporting — even a single extreme value can make SD misleadingly large.
6
The Coefficient of Variation (CV) makes SDs comparable. Divide the SD by the mean and multiply by 100 to get CV as a percentage. This lets you compare the relative spread of datasets measured in different units or with very different means — e.g. comparing variability in test scores vs. heights.
Frequently Asked Questions
Standard deviation (SD) is a measure of how spread out the values in a dataset are around the mean. A low SD means the values are clustered close to the average; a high SD means they are spread widely. For example, if two classes both average 70% on a test but one has SD = 5 and the other SD = 20, the second class has much more varied performance. SD is reported in the same units as the original data, making it intuitive to interpret.
Population SD (σ) is used when your dataset contains every member of the group you’re studying (e.g. all employees at a company, all students in a class). It divides the sum of squared deviations by N. Sample SD (s) is used when your data is a subset of a larger population (e.g. a survey of 500 people from a city of millions). It divides by N−1, which is called Bessel’s correction — this adjustment makes the sample SD an unbiased estimator of the true population SD. In practice, use sample SD unless you explicitly have the complete population.
There are five steps: (1) Find the mean — add all values and divide by N. (2) Find each deviation — subtract the mean from each value (xᵢ − x̄). (3) Square each deviation — (xᵢ − x̄)². (4) Find the average of squared deviations — sum them and divide by N (population) or N−1 (sample); this is the variance. (5) Take the square root of the variance — this is the standard deviation. This calculator performs all five steps and shows every calculation in the breakdown table.
A Z-score (or standard score) tells you how many standard deviations a particular value is above or below the mean. Formula: Z = (x − μ) / σ. A Z-score of 0 means the value equals the mean; +1 means one SD above; −2 means two SDs below. Z-scores are used to: compare values from different datasets, identify outliers (|Z| > 3 is a common threshold), convert raw scores to percentiles using the standard normal distribution, and standardise data for statistical tests.
Variance is the average of the squared deviations from the mean. Standard deviation is simply the square root of variance: SD = √Variance. Variance is always in squared units (e.g. cm², dollars²), which makes it hard to interpret directly but very useful in mathematical formulas, statistical tests like ANOVA, and probability theory. Standard deviation “undoes” the squaring and returns a value in the original units, making it much easier to communicate and understand in practical contexts.
The Empirical Rule applies to data that follows a normal (bell-curve) distribution. It states that: approximately 68% of data falls within 1 standard deviation of the mean (between μ−σ and μ+σ); approximately 95% falls within 2 standard deviations; and approximately 99.7% falls within 3 standard deviations. This rule is a quick way to understand the spread of normally distributed data — for instance, if test scores have a mean of 70 and SD of 10, about 95% of students scored between 50 and 90.
Outliers can dramatically inflate standard deviation because deviations are squared before averaging — so a value far from the mean contributes disproportionately to the total. For example, the dataset [2, 3, 4, 5, 6] has SD ≈ 1.41, but adding a single outlier to get [2, 3, 4, 5, 6, 100] raises the SD to about 34.9. This sensitivity to extremes means SD should always be considered alongside a check for outliers (e.g. using Z-scores or box plots). The median and IQR are more robust measures of spread when outliers are present.
The Coefficient of Variation (CV) expresses standard deviation as a percentage of the mean: CV = (SD / Mean) × 100%. It is a relative measure of spread that allows you to compare variability across datasets with different units or scales. For example, if Dataset A has mean = 10 and SD = 2 (CV = 20%), and Dataset B has mean = 1000 and SD = 200 (CV = 20%), both have the same relative spread despite very different absolute values. CV is widely used in finance (volatility), biology, and quality control.