Przejdź do treści
Liczbnik

Standard Deviation Calculator

Enter numbers separated by commas or spaces, choose the type (sample or population), and the calculator will compute standard deviation, variance, mean and count.

Reviewed byRedakcja Liczbnik
Calculator
ResultStandard deviation2.14
Variance
4.57
Arithmetic mean
5
Count
8

How we calculate standard deviation

We compute the arithmetic mean, then the sum of squared deviations from it. Variance = sum of squares / n (population) or / (n−1) (sample). Standard deviation = √variance. Results are rounded to 6 decimal places.

Example: dataset {2, 4, 4, 4, 5, 5, 7, 9}

For numbers 2, 4, 4, 4, 5, 5, 7, 9 the mean = 5. Population variance = 4, population standard deviation = 2. For sample: variance ≈ 4.571, standard deviation ≈ 2.138.

Frequently asked questions

What is the difference between standard deviation and variance?

Variance is the average sum of squared deviations from the mean — it expresses data spread but in squared units. Standard deviation is the square root of variance and is expressed in the same units as the data, making it much easier to interpret. For example, if measuring heights in cm, variance is in cm² but standard deviation is in cm.

When should I use the sample formula (n−1) vs population formula (n)?

Use the divisor n−1 (Bessel's correction) when analysing a random sample — you want to estimate the standard deviation of the whole population from a subset. Use n when you have the complete population (all possible observations). For large n the difference is minimal, but for small samples (e.g. n=5) it matters significantly.

How do I interpret the value of standard deviation?

Standard deviation σ tells you how far values typically deviate from the mean. Small σ means data clusters near the mean (low variability). Large σ indicates high variability. Example: the set {5, 5, 5, 5} has σ=0, while {1, 5, 5, 9} has σ≈2.83, even though both have the same mean (5).

What is the 68-95-99.7 rule (empirical rule)?

For a normal distribution: about 68% of observations fall within (mean ± 1σ), about 95% within (mean ± 2σ), and about 99.7% within (mean ± 3σ). This rule helps quickly assess whether a value is "typical" or "unusual". A value more than 3σ from the mean is considered an outlier.

How do I calculate standard deviation step by step?

Step 1: Calculate the arithmetic mean. Step 2: For each value, find the difference from the mean and square it. Step 3: Sum all the squared deviations. Step 4: Divide by n (population) or n−1 (sample) — this is the variance. Step 5: Take the square root of the variance — this is the standard deviation.

What are practical applications of standard deviation?

Standard deviation is widely used in finance (measuring investment risk, price volatility), medicine (analysis of clinical trial results), manufacturing quality control (checking dimensional tolerances), social sciences (analysing survey and test results), and meteorology (temperature variability). Anywhere data spread needs to be quantified.

Indicative result

The result is for calculation purposes only. For statistical data with measurement uncertainty, consult a specialist.
  • Mean, Median and Mode Calculator

    Calculate the mean, median, mode, range, sum and count for any set of numbers. Enter values separated by commas or spaces. Free, instant, no signup required.

    Statistics