Calcumia

Free Standard Deviation Calculator

This standard deviation calculator measures the dispersion and variability of your dataset around its average. Whether you are analyzing experimental laboratory results, processing financial returns, or solving statistics homework, enter your numbers to compute sample standard deviation, population standard deviation, mean, variance, and standard error simultaneously.

Your inputs

Result

Sample standard deviation (s)
—
Population standard deviation (σ)
—
Mean
—
Median
—
Population variance
—
Standard error of the mean
—
Count
—
Minimum
—
Maximum
—

Add this calculator to your site — free

Copy one of the snippets into your page. Please keep the attribution link visible.

How to use the Standard Deviation Calculator

  1. Enter your dataset into the Data values field, separating numbers with commas, spaces, or line breaks.
  2. Review the input numbers to ensure all negative signs and decimals are formatted accurately.
  3. Click Calculate to process your descriptive statistics.
  4. Read your sample standard deviation (s) for sampled data or population standard deviation (σ) for complete sets.
  5. Inspect additional output metrics including mean, median, population variance, and standard error.

How it works

Standard deviation quantifies how closely data points cluster around the arithmetic mean. A small standard deviation indicates that values lie near the average, signifying high consistency and precision. Conversely, a large standard deviation highlights greater variability across the dataset. Together with median and extreme values like the minimum and maximum, standard deviation reveals the overall distribution shape, helping researchers assess consistency, quality, and risk across numerical observations.

Statistical guidelines from organizations such as the International Organization for Standardization (ISO 3534) distinguish between population and sample dispersion. Population standard deviation divides the sum of squared deviations by the total count n because every member is known. In contrast, sample standard deviation divides by n minus 1, utilizing Bessel's correction to eliminate negative bias when estimating population parameters from limited subsets of data.

Because standard deviation relies on squaring deviations from the mean, it is highly sensitive to extreme outliers, which can disproportionately inflate the result. For skewed distributions, comparing standard deviation with the median provides essential context about asymmetry. Always verify whether your dataset represents an entire bounded population or an incomplete sample, as choosing the incorrect formula leads to biased uncertainty estimates in statistical reporting.

Formula

σ = √(Σ(x − μ)² ÷ n); s = √(Σ(x − x̄)² ÷ (n − 1))

Worked example

2, 4, 4, 4, 5, 5, 7, 9 has mean 5 and population SD 2.

Free Standard Deviation Calculator: a closer look

Standard deviation measures how spread out a set of numbers is around its mean. A small value means the numbers cluster tightly; a large one means they are scattered. This calculator gives both the sample and the population version, along with the mean, median, variance and standard error.

How the calculation works

First find the mean. Then square each value's distance from the mean, add the squares and divide. For a whole population you divide by n, and for a sample you divide by n − 1 (Bessel's correction, because a sample tends to underestimate the spread). The square root of that average squared distance is the standard deviation. The standard error of the mean is the sample SD divided by √n.

σ = √(Σ(x − μ)² ÷ n)        s = √(Σ(x − x̄)² ÷ (n − 1))

Worked example 1: The textbook set

For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the median 4.5, the population SD is 2.00 and the sample SD is 2.138.

Worked example 2: Exam scores

Scores of 62, 70, 71, 75, 78, 81 and 95 have a mean of 76 and a sample SD of 10.39. Roughly two thirds of a normally distributed class would fall within one SD, between 66 and 86.

Related calculators and converters

Frequently asked questions

Should I use sample or population standard deviation?+

Use population standard deviation if your dataset contains every individual or item within the entire group of interest. If your data is a subset or sample collected to draw inferences about a broader unseen population, use sample standard deviation, which applies Bessel's correction (n − 1).

What is a z-score and how is it calculated?+

A z-score measures exactly how many standard deviations a specific value lies above or below the mean. It is calculated with the formula: (x − mean) ÷ standard deviation. A positive z-score indicates a value above the mean, while a negative score represents a value below it.

What does the standard error of the mean tell you?+

Standard error of the mean measures how far the sample mean is likely to diverge from the true population mean. It is calculated by dividing the sample standard deviation by the square root of the sample size, reflecting the precision of your sample estimate.

How does variance differ from standard deviation?+

Variance represents the average of the squared differences from the mean, expressed in squared units of measurement. Standard deviation is the square root of the variance, returning the dispersion metric back into the original units of your data for easier, more intuitive interpretation.

Why does sample standard deviation divide by n − 1?+

Sample standard deviation divides by n − 1 rather than n to correct for statistical bias, known as Bessel's correction. Because sample data tends to cluster closer to its own sample mean than to the true population mean, dividing by n systematically underestimates variability.

Should I use the sample or the population SD?+

Use the population SD (σ) only when your numbers are every member of the group, such as all the students in one class. If the numbers are a sample drawn from a bigger group, which is the usual case, use the sample SD (s).

How much can one outlier change it?+

A lot. The values 10, 12, 11, 13, 12, 11 have a sample SD of 1.05. Adding a single 40 raises it to 10.81, roughly ten times larger, because the distance is squared.

What does the 68–95–99.7 rule say?+

For data that follow a normal distribution, about 68% of values lie within one SD of the mean, 95% within two and 99.7% within three. It does not hold for strongly skewed data.

✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators

Results are estimates for information only and are not financial, medical or legal advice.