Standard Deviation Calculator
MathCalculate mean, variance, and standard deviation for any dataset. Enter comma-separated numbers to get population and sample statistics with step-by-step breakdown. Free tool.
Separate numbers with commas, spaces, semicolons, or new lines
Mean (μ)
Population σ
—
Sample s
—
What is a Std Dev?
The Standard Deviation Calculator computes population and sample standard deviation, mean, median, variance, count, sum, minimum, maximum, and range from a list of numbers you enter. Paste any comma-, semicolon-, or space-delimited list of numbers and all statistics appear instantly — no need to format data or set up a spreadsheet.
Standard deviation is the most widely used measure of data dispersion — how spread out values are around their mean. In everyday terms, it answers "how consistent is this data?" A cricket team with a batting average of 40 and standard deviation of 3 is far more consistent than one with the same average and standard deviation of 25. In finance, standard deviation of returns is the standard measure of volatility and investment risk.
In the Indian academic context, standard deviation is a mandatory topic in CBSE Class 11 Mathematics (Statistics chapter) and is central to the undergraduate statistics syllabus. Beyond academics, it appears in manufacturing quality control, clinical research, business analytics, and any data analysis task — understanding it conceptually, and being able to compute it for real datasets without error, is a fundamental quantitative skill.
This calculator computes both population standard deviation (σ, divides by n) and sample standard deviation (s, divides by n−1) simultaneously, so you can use the correct version for your context. For deeper analysis of any individual value within a dataset, pair this with the Z-Score Calculator to compute how many standard deviations that value sits from the mean.
How to use this Std Dev calculator
Enter your numbers — type or paste your dataset into the text area. Values can be separated by commas (12, 15, 11, 18), semicolons (12; 15; 11), or spaces (12 15 11 18). Mixed delimiters are also accepted. Non-numeric characters are silently ignored.
Check the Count — verify the displayed count matches the number of values you intended to enter. If it doesn't, check for accidental extra characters or missing values in your input.
Read Population or Sample SD — for a full population dataset, use Population Standard Deviation (σ). For a sample from a larger population, use Sample Standard Deviation (s). When in doubt, using sample SD (n−1) is the conservative choice for most real-world analysis.
Compare Mean and Median — if they are close, the distribution is roughly symmetric. If they differ substantially (mean much higher than median, for example), the data is skewed and the SD should be interpreted cautiously.
Use the Min, Max, Range — spot potential outliers or data entry errors. If the range seems disproportionately large relative to the mean, investigate whether an extreme value is valid or erroneous.
Take the Z-Score further — copy the mean and SD values and enter them into the Z-Score Calculator along with any specific data point to compute its percentile rank within this distribution.
Formula & Methodology
Mean:μ = Σx / n Population Variance:σ² = Σ(xᵢ − μ)² / n Population Standard Deviation:σ = √(σ²) Sample Variance:s² = Σ(xᵢ − x̄)² / (n − 1) Sample Standard Deviation:s = √(s²) Median:Sort values in ascending order. If n is odd, the median is the middle value. If n is even, the median is the average of the two middle values. Variable definitions: - n — count of values - xᵢ — individual value - μ / x̄ — mean of all values - Σ — sum over all i from 1 to n Worked example — monthly sales figures for a retail store: Monthly sales (₹ lakh) over 10 months: 12, 15, 11, 18, 17, 13, 16, 14, 19, 10 Step 1 — Mean: Σx = 145; μ = 145/10 = 14.5 Step 2 — Median: Sorted: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19; middle two = 14 and 15; Median = 14.5 Step 3 — Squared deviations from mean (14.5):(12−14.5)² = 6.25; (15−14.5)² = 0.25; (11−14.5)² = 12.25; (18−14.5)² = 12.25; (17−14.5)² = 6.25; (13−14.5)² = 2.25; (16−14.5)² = 2.25; (14−14.5)² = 0.25; (19−14.5)² = 20.25; (10−14.5)² = 20.25 Step 4 — Sum of squared deviations: 82.50 Step 5 — Population variance σ² = 82.50 / 10 = 8.25 Step 6 — Population SD: σ = √8.25 ≈ 2.87 lakh Step 7 — Sample SD: s = √(82.50/9) = √9.17 ≈ 3.03 lakh The mean and median both equal ₹14.5 lakh, confirming the distribution is symmetric. The SD of ~₹2.87 lakh means about 68% of months had sales between ₹11.63 and ₹17.37 lakh. Assumption: The standard deviation formulas assume all input values are numeric and finite. Infinite values, NaN, or text entries are ignored. The calculator does not apply any grouping or frequency weighting — all entries are treated as individual data points with equal weight.