Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Standard Deviation Calculator

Standard Deviation Calculator

Find the standard deviation of any dataset, sample (s) and population (σ) at once, with step-by-step working and the mean, variance, and range alongside.

Measure Data Spread with Standard Deviation

Standard deviation tells you how far your values sit from the mean. This calculator works out both sample (s) and population (σ) at the same time and shows the full step-by-step working, so you can check every stage of the math. Everything runs in your browser.

A low standard deviation means values cluster tightly around the mean; a high value means they are widely scattered.

Where Standard Deviation Is Used

Lab & Research

Quantify how consistent repeated experimental readings are.

Finance & Risk

The standard deviation of returns is a classic measure of volatility.

Quality Control

Track process variation to keep output within tolerance.

How to Calculate Standard Deviation

1

Enter Your Numbers

Type or paste your values into the input, separated by commas, spaces, semicolons, tabs, or new lines. A live counter shows how many numbers were read.

2

Pick Sample or Population

Choose Sample (n − 1) when your data is a subset of a larger group, or Population (n) when you have every data point. Sample is selected by default.

3

Show the Steps

Click Show Steps to reveal the mean, each squared difference, the variance, and the final square root that produces the answer.

4

Read the Summary

The summary panel lists 16 related statistics at once — mean, median, mode, variance, quartiles, range, min, max, and more.

The Standard Deviation Formulas

Population: σ = √[ Σ(xᵢ − x̄)² / n ]  •  Sample: s = √[ Σ(xᵢ − x̄)² / (n − 1) ]. The sample formula divides by n − 1 (Bessel's correction) for an unbiased estimate.
DatasetPopulation (σ)Sample (s)
2, 4, 4, 4, 5, 5, 7, 9σ = 2s ≈ 2.14
10, 10, 10, 10σ = 0s = 0
1, 100σ = 49.5s = 70

Features

Sample & Population

Reports both s (n − 1) and σ (n) so you always have the right measure at hand.

Step-by-Step Solution

Shows the mean, every squared difference, the variance, and the final square root.

Flexible Input

Accepts numbers separated by commas, spaces, semicolons, tabs, or new lines.

Adjustable Precision

Round the result to 2, 4, 6, or 8 decimal places (4 by default).

Full Statistics Summary

16 statistics computed at once — mean, median, mode, variance, quartiles, range, and more.

Private by Design

All math runs locally in your browser — your data never leaves your device.

Same units as your data: because standard deviation is the square root of the variance, it is expressed in the original units, which makes it easy to interpret.

Frequently Asked Questions

What is the difference between sample and population standard deviation?

Population standard deviation (σ) divides by n and describes a group you have measured in full. Sample standard deviation (s) divides by n − 1 and estimates the spread of a larger population from a subset of it. This tool shows both.

When should I use n − 1 instead of n?

Use n − 1 (sample) whenever your data is a subset used to generalize beyond it — for example, surveying 50 students from a school of 2,000. Use n (population) only when the dataset already includes every member of the group you are describing.

Why does sample standard deviation divide by n − 1?

This is Bessel's correction. A sample's values naturally cluster closer to their own mean than to the true population mean, so dividing by n would underestimate the real spread. Dividing by n − 1 corrects that bias and gives an unbiased estimate.

How is standard deviation related to variance?

Standard deviation is the square root of the variance. Variance is expressed in squared units, while taking the square root returns the value to the original units of the data, which makes it easier to interpret. The summary reports both.

What does a standard deviation of 0 mean?

A standard deviation of 0 means there is no spread at all — every value in the dataset is identical, so each one equals the mean. Both σ and s are 0 in that case.

How do I enter my data?

Type or paste your numbers into the input box, separated by commas, spaces, semicolons, tabs, or new lines. You can mix separators freely, and a live counter confirms how many values were read before you calculate.

Enter Data
Data Type
Decimals
Arithmetic Mean
-
x̄ = (Σxᵢ) / n
Median
-
Middle value of sorted data
Mode
-
Most frequent value(s)
Sample Standard Deviation
-
s = √[Σ(xᵢ - x̄)² / (n - 1)]
Sample Variance
-
s² = Σ(xᵢ - x̄)² / (n - 1)
Summary Statistics
Count -
Sum -
Min -
Max -
Range -
Mean -
Median -
Mode -
Std Dev (S) -
Std Dev (P) -
Variance (S) -
Variance (P) -
Q1 -
Q2 -
Q3 -
IQR -
Sample (s) divides by n − 1 (Bessel's correction) for an unbiased estimate of a larger group
Population (σ) divides by n when your data covers every member of the group
Standard deviation measures how far values are spread out from the mean, in the same units as the data
Separate values with commas, spaces, semicolons, tabs, or new lines — a live counter shows how many were read
Set decimal precision to 2, 4, 6, or 8 places (default 4)
Want to learn more? Read documentation →
1/6
Start typing to search...
Searching...
No results found
Try searching with different keywords