Free calculator

Standard Deviation Calculator

How spread out are your numbers? Paste your values below.

The formula

Sample standard deviation:

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

The n − 1 (Bessel’s correction) makes s an unbiased estimate of the population SD when you only have a sample. Divide by n instead for the population SD.

How the calculation works

  1. Find the mean (x̄) of your values.
  2. Subtract the mean from every value and square each difference.
  3. Sum the squared differences.
  4. Divide by n − 1 (sample) or n (population).
  5. Take the square root.

Assumptions to check

  • The values should be at least roughly symmetric, SD describes spread best for bell-shaped data.
  • Outliers inflate the SD dramatically; report median/IQR alongside if present.

The calculator runs the test regardless, but the result is only trustworthy if the assumptions hold. DataTistics checks these automatically on full datasets.

Worked example

Ten delivery times in minutes: 10, 12, 11, 14, 13, 15, 12, 11, 13, 12.

Mean = 12.3, sample SD ≈ 1.49. Most deliveries fall within roughly 12.3 ± 1.49 minutes, the ±1 SD range.

How to interpret the result

The SD is the typical distance of a value from the mean. For bell-shaped data, about 68% of values lie within ±1 SD and 95% within ±2 SD. Compare SD with the mean for context: a SD of 5 is large for a mean of 20 but tiny for a mean of 2,000.

Sample vs population SD, SD vs IQR

The sample SD divides by n − 1 to estimate the population spread; the population SD divides by n and describes a complete dataset. For skewed data, the IQR (quartiles) describes spread more honestly than the SD.

Frequently asked questions

Why divide by n − 1?

Using n underestimates the population SD because the sample mean is already the best fit to the sample. Bessel’s correction (n − 1) fixes that bias.

What is a 'good' standard deviation?

It depends on the scale. Always judge the SD relative to the mean, a common rule of thumb is the coefficient of variation (SD ÷ mean).

SD vs IQR?

SD for symmetric data without outliers. IQR for skewed data or when outliers are present, it ignores the extremes.

Related calculators

standard deviation explained step by step, definitions, diagrams and real examples.
Open the Learn guide

Want this on your full dataset?

Upload a file and DataTistics runs the whole analysis suite on every column, descriptive stats, tests, charts, assumptions and a PDF report.