σ

Standard Deviation Calculator

-
Standard Deviation
-
Mean
-
Variance
-
Count

No sign-up required · Runs entirely in your browser · Your data is never stored

✓ Last reviewed: June 2026 · Methodology

Standard deviation measures how spread out values are from the mean. Low std dev: values cluster tightly. High std dev: values are widely dispersed. The 68-95-99.7 rule: for a normal distribution, 68% of values fall within 1 std dev of the mean, 95% within 2, and 99.7% within 3.

Mean, variance, and standard deviation

Use this when: you need a quick, accurate result from standard deviation calculator without sign-up or tracking. All calculations run in your browser and no data is stored.

What is Standard Deviation?

Standard deviation is a measure of how spread out numbers are from their average (mean). A low standard deviation means the data points are close to the mean, while a high standard deviation means the data points are spread over a wider range. It is one of the most commonly used statistics in data analysis, science, finance, and quality control. Use the scientific calculator for related calculations. See also: the Average Calculator and the Probability Calculator.

Population vs Sample Standard Deviation

Population standard deviation is used when you have data for an entire population. Sample standard deviation is used when you have a subset (sample) of a larger population. The key difference is in the denominator: population uses N, while sample uses N-1 (known as Bessel's correction) to provide an unbiased estimate.

How Standard Deviation is Calculated

The calculation involves five steps: (1) find the mean of the dataset, (2) subtract the mean from each number to find deviations, (3) square each deviation, (4) find the average of the squared deviations (this is the variance), and (5) take the square root of the variance. The result is the standard deviation.

Practical Applications

In finance, standard deviation measures investment volatility and risk. In manufacturing, it is used for quality control to determine if products meet specifications. In science, it quantifies experimental uncertainty. In education, it helps understand test score distributions. The 68-95-99.7 rule states that about 68% of data falls within one standard deviation of the mean, 95% within two, and 99.7% within three.

How does this calculator help in real situations?

The Standard Deviation Calculator is built for people who want a fast answer without losing context. It keeps the calculation simple, shows the result clearly, and helps you understand what the number means before you use it in a real decision.

This calculator is designed to make a specific everyday calculation faster and clearer. It gives a structured result so you can compare options, check assumptions, or plan the next step with less manual work.

Standard deviation formula and step-by-step calculation

Standard deviation measures how spread out or dispersed values are around the mean (average) of a data set. A low standard deviation means values are clustered close to the mean. A high standard deviation means values are spread widely. It is one of the most important statistics in data analysis, finance, quality control, and scientific research because it quantifies variability — something the mean alone cannot capture.

Two data sets can have identical means but completely different standard deviations: {50, 50, 50, 50} has mean 50 and standard deviation 0. {20, 40, 60, 80} also has mean 50 but standard deviation 22.4 — very different data despite the same average.

Population vs sample standard deviation

Population standard deviation (σ): Used when you have data for the entire group (population). Divides by N.

Sample standard deviation (s): Used when you have data from a subset (sample) of a larger population. Divides by (N–1). The N–1 correction (Bessel's correction) removes bias when estimating the population standard deviation from a sample.

In practice: if your data represents all possible values (e.g., scores from an entire class), use population SD. If your data is a sample from a larger group (e.g., a survey of 200 people from a city of millions), use sample SD.

How to calculate standard deviation step by step

Data set: 4, 7, 13, 2, 1

  1. Find the mean: (4+7+13+2+1) ÷ 5 = 27 ÷ 5 = 5.4
  2. Subtract mean from each value and square: (4–5.4)² = 1.96 | (7–5.4)² = 2.56 | (13–5.4)² = 57.76 | (2–5.4)² = 11.56 | (1–5.4)² = 19.36
  3. Sum the squared differences: 1.96 + 2.56 + 57.76 + 11.56 + 19.36 = 93.2
  4. Divide by N (population) or N–1 (sample): Population variance = 93.2 ÷ 5 = 18.64 | Sample variance = 93.2 ÷ 4 = 23.3
  5. Take the square root: Population SD = √18.64 = 4.32 | Sample SD = √23.3 = 4.83

Standard deviation in finance — investment risk

In investing, standard deviation measures the volatility of returns. A stock with annual returns of 8%, 12%, –3%, 15%, 10% over 5 years has a mean return of 8.4% and standard deviation of approximately 6.5%. A stable bond fund with returns of 5%, 6%, 5.5%, 6%, 5.8% has mean 5.66% and SD of approximately 0.4% — much less volatile.

Higher SD = higher risk = higher potential reward (and loss). Portfolio theory uses SD to compare investments and construct diversified portfolios that balance expected return against risk.

The 68-95-99.7 rule (Empirical Rule)

For normally distributed data (bell curve):

Example: Human heights for adult global men have a mean of approximately 165 cm and SD of approximately 6 cm. Therefore: 68% of men are 159–171 cm. 95% are 153–177 cm. 99.7% are 147–183 cm.

Coefficient of variation — comparing SD across different scales

Standard deviation cannot be directly compared between data sets with different units or scales. The coefficient of variation (CV) normalises SD as a percentage of the mean:

CV = (Standard Deviation ÷ Mean) × 100%

A stock with mean return 15% and SD 8%: CV = (8/15) × 100 = 53%. A bond with mean return 6% and SD 1%: CV = (1/6) × 100 = 17%. The bond has lower relative variability despite both having low absolute SDs.

Advanced linear algebra? Use the matrix calculator for operations on 2×2 and 3×3 matrices.

Population vs sample standard deviation: when to use each

Population SD (σ) uses N in the denominator — use when you have data for the entire population. Sample SD (s) uses N−1 (Bessel's correction) — use when your data is a sample from a larger population. Example: measuring heights of all 30 students in a class = population SD. Measuring heights of 30 randomly selected Indian adults to estimate the national average = sample SD. Most real-world statistics use sample SD because complete population data is rarely available.

Standard deviation in finance: measuring investment volatility

In investing, standard deviation measures how much a fund's monthly returns deviate from its average. A Nifty 50 index fund with 12% average annual return and 18% annualised standard deviation will typically fall within −6% to +30% in any given year (average ±1 SD). Lower SD = more consistent returns but often lower growth. Higher SD = higher potential return but more volatile. Use SD alongside Sharpe Ratio (return per unit of risk) for complete fund comparison.

Frequently asked questions

When should I use variance instead of standard deviation? Variance (SD²) is used when mathematical operations require it — particularly in ANOVA (Analysis of Variance), linear regression, and probability theory. Standard deviation is preferred for description and interpretation because it is in the same units as the original data.

What does a standard deviation of 0 mean? A standard deviation of 0 means all values in the data set are identical — there is no variability whatsoever. For example, {7, 7, 7, 7} has a standard deviation of 0.

How is standard deviation used in quality control? Manufacturing uses control charts where product measurements must stay within ±3σ (three standard deviations) of the target specification. A process producing more than 0.3% defects (beyond 3σ) triggers investigation. Six Sigma quality programmes aim for ±6σ — fewer than 3.4 defects per million opportunities.

The 68-95-99.7 empirical rule

RangeData CoverageInterpretation
Mean ± 1 standard deviation68.27%About 2 in 3 values fall here
Mean ± 2 standard deviations95.45%About 19 in 20 values fall here
Mean ± 3 standard deviations99.73%Almost all values — outliers beyond here
Mean ± 4 standard deviations99.994%Extreme outliers only
Mean ± 6 standard deviations99.9999998%Six Sigma quality standard

Standard deviation interpretation guide

Coefficient of VariationVariability LevelExamples
CV < 10%Very low variabilityManufacturing tolerances, precision instruments
CV 10–20%Low variabilityConsistent exam scores, stable stock portfolios
CV 20–30%Moderate variabilityHuman height in a population
CV 30–50%High variabilityIndividual income, growth stock returns
CV > 50%Very high variabilityCryptocurrency prices, startup revenues

Sources & References

Sources: NIST/SEMATECH e-Handbook of Statistical Methods, Section 1.3.5.15; Fisher, R.A. Statistical Methods for Research Workers (1925); Bessel's correction — Bessel, F.W. (1838).

Related calculators

Formula reviewed by Mayra · Methodology · Last reviewed: June 2026