Data & CSV

Standard Deviation Calculator

Standard Deviation Calculator

Sample or population standard deviation and variance with the full step-by-step working.

About this tool

About Standard Deviation Calculator

This calculator does more than print a number: it shows the working you would write out by hand, which makes it useful for checking homework, preparing a lesson or understanding where a figure in a report comes from. Enter your values and choose whether they are a sample or the whole population. You get the standard deviation and the variance, then the steps: the mean, a table listing each value x, its deviation from the mean and the squared deviation, the sum of squares, the division by n − 1 or N, and the square root. The formula is written with the right symbols for each case, s and x̄ for a sample, σ and μ for a population. The working table can be downloaded as CSV for a spreadsheet. Numbers can be separated by commas, spaces or line breaks, so a column pasted from Excel works directly, and anything that isn't a number is listed rather than silently dropped. Results match Excel's STDEV.S and STDEV.P. An optional AI explanation, using your own key, describes what the spread means.

Built and maintained by Abhi JainUpdated

How to Calculate Standard Deviation

  1. 1

    Enter the data

    Type or paste your numbers into the Data box, or click Sample.

  2. 2

    Choose Sample or Population

    Select Sample (n − 1) for data drawn from a larger group, or Population (N) when you have every value.

  3. 3

    Follow the working

    Read the result, the five steps and the table of deviations. Download the table as CSV if you need it.

Standard Deviation Calculator: questions and answers

What is the formula for standard deviation?

Sample: s = √( Σ(x − x̄)² / (n − 1) ). Population: σ = √( Σ(x − μ)² / N ). Find the mean, subtract it from each value, square the results, add them up, divide, and take the square root.

Why does the sample formula divide by n − 1?

A sample's values sit closer to their own mean than to the true population mean, so dividing by n would underestimate the spread. Dividing by n − 1 (Bessel's correction) removes that bias in the variance.

What is the difference between variance and standard deviation?

Variance is the average squared deviation; standard deviation is its square root. The standard deviation is in the same units as the data, which makes it easier to interpret.

What is a good or high standard deviation?

It depends on the scale of the data. Compare it to the mean: the coefficient of variation (SD ÷ mean) shows the relative spread. About 68% of normally distributed values lie within one SD of the mean and 95% within two.

Does this match Excel?

Yes. Sample matches STDEV.S (and the older STDEV) and Population matches STDEV.P. The variance matches VAR.S and VAR.P.

Can AI explain what my standard deviation means?

Yes. Click AI for a plain-English reading of the spread relative to the mean. The results are sent, plus the numbers themselves only if there are 60 or fewer. It's optional and uses your own AI key (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint), sent straight from your browser to that provider; KissThePDF never sees it. Without a key the tool works exactly the same.

Ready-made Standard Deviation Calculator presets