Standard Deviation Calculator

🔒 Local only Education & Statistics Tools

Paste a set of numbers to get population and sample standard deviation and variance, plus mean, median, mode and range.

The default is the first worked example below: five exam scores 62, 68, 70, 75, 85 with mean 72, population SD 7.7201 and sample SD 8.6313. Both versions are shown; choose according to the role of your data.

Tool area

Count0
Sum--
Mean--
Median--
Mode--
Min--
Max--
Range--
Population variance--
Population SD--
Sample variance--
Sample SD--

Enter at least one valid number.

What standard deviation is

Standard deviation describes how far numbers sit from their mean, in the same unit as the data. Larger means more spread out. The NAER Educational Encyclopedia notes that dividing the sum of squared deviations by N is used in descriptive statistics and by N−1 in inferential statistics.

How to calculate it: worked example

Steps: mean; deviations; squares; sum; divide by n (population) or n−1 (sample); square root. Example 1 (tool default, made-up scores): 62, 68, 70, 75, 85. Mean = 360 / 5 = 72, sum of squared deviations = 298. Population: variance 298 / 5 = 59.6, SD = 7.7201. Sample: variance 298 / 4 = 74.5, SD = 8.6313.

Example 1 deviations (mean 72)
Score xx − 72Squared
62−10100
68−416
70−24
7539
8513169
Total0298

Population or sample?

Use population SD (divide by n, Excel STDEV.P) when your numbers are the whole group you want to describe; use sample SD (divide by n−1, Excel STDEV.S) when they are a sample used to infer a larger group. With one value the sample SD is undefined and the tool shows “--”.

To see how many SDs a score is from the mean, use the Z score calculator.

Same mean, different spread: example 2

Group A: 60, 60, 80, 80; group B: 68, 70, 70, 72. Both means are 70. Population SD is 10 for A and 1.4142 for B.

To put scores on one scale, use the T score calculator.

Scientific calculator and Excel

Key names vary by model; follow your manual. Generally: enter statistics mode (1-VAR), clear old data, enter each value, open the result menu and choose σx (population) or sx (sample), as in the Casio online manual. Check with Casio’s example data 55, 54, 51, 55, 53, 53, 54, 52: σx = 1.316956719, sx = 1.407885953.

Population SD (7.7201)
=STDEV.P(A2:A6)
Sample SD (8.6313)
=STDEV.S(A2:A6)

Formula and calculation

Population: σ² = Σ(xᵢ−x̄)² / n; Sample: s² = Σ(xᵢ−x̄)² / (n−1); SD = √variance

xᵢ is each valid value, x̄ the mean and n the count of valid values.

Method and sources

APA / research reporting tip

Example: “The class of 30 had a mean of 74.2 and a population SD of 8.6.” If the 30 are a sample, report the sample SD and state the sampling method.

How to use

  1. Paste or type numbers separated by commas, spaces or new lines.
  2. Read count, mean, median, mode and range, and both population and sample variance and SD.
  3. Choose population for a whole group and sample for sampled data.

Use cases

  • Check how spread out a class’s exam scores are.
  • Compare two groups with the same mean (example 2).
  • Verify scientific-calculator key presses against a manual’s sample data.

FAQ

What is the difference between population and sample standard deviation?
Population SD divides by n and sample SD by n−1. Use population for a whole group and sample for sampled data.
Can I enter decimals or negative numbers?
Yes. A comma is a separator, so 3,5 is read as 3 and 5, not 3.5.
Is my data uploaded?
No. All calculations run locally in your browser.

Privacy & local processing

🔒 This tool runs entirely in your browser. No data is uploaded to any server.

All statistics run locally in your browser; the numbers you enter are not uploaded.

Trust & usage note

This tool runs mainly in your browser. Your input is not actively uploaded to a server. Avoid entering highly sensitive data. Results are for reference only.

Last updated:

Embed this tool

Get updates

New tools and practical tips, straight to your inbox. No spam, unsubscribe anytime.