Calculator via Loan Estimates
Advertisement

Standard Deviation Calculator

Paste any list of numbers — or upload a CSV file and let the browser do the parsing, free (paid sites charge for file uploads) — and get the full statistics summary, not just the standard deviation.

Every number in the file is used. The file is read on your device only — nothing is uploaded to a server.
The example loaded (2, 4, 4, 4, 5, 5, 7, 9) is the classic textbook dataset — its population SD is exactly 2.
Standard deviation (population / sample)
—
Advertisement

Frequency summary

ValueCountShare

How it works

The mean is the sum divided by the count. The standard deviation measures spread around that mean: square each value's distance from the mean, average the squares (that is the variance), then take the square root. Two flavors: divide by N for the population SD — when your data IS the whole group — or by N−1 for the sample SD (Bessel's correction) when your data is a sample of something bigger; sample SD is always a bit larger. The median is the middle value, and the mode is the most frequent.

Your data never leaves your device — parsing and math all run in this page. Sample SD needs at least 2 values; with 1 value it is undefined and shows —.

When to use this

How to use it, step by step

  1. Paste your numbers into the data box, separated by commas, spaces, semicolons or line breaks — stray words are ignored.
  2. Or choose a CSV or text file and let the browser pull every number out of it; the file is read on your device and never uploaded.
  3. Press Calculate statistics and read the headline pair: the population value first, then the sample value after the slash.
  4. Scroll the summary table for the mean, median, mode, both variances, the minimum, maximum and range that go with your dataset.
  5. Check the frequency table when you suspect repeats are driving the result — it lists each value, its count and its share of the data.

What the inputs mean

InputWhat it isTypical values
Your dataThe list of numbers to summarize, in any orderA handful of readings up to a full class or survey column
CSV / text fileAn optional file whose numbers are extracted in file order.csv, .txt and .tsv files; a header row of words is fine

Another worked example

Six quiz scores — 68, 72, 75, 80, 85, 90. The count is 6, the sum is 470 and the mean is 78.3333, with a median of 77.5 and no mode, since nothing repeats. The population standard deviation is 7.5425 (population variance 56.8889), while the sample standard deviation for the same numbers is larger, at 8.2624 (sample variance 68.2667) — the gap between the two is exactly the divide-by-6 versus divide-by-5 difference, and the range runs from 68 to 90, a spread of 22.

Frequently asked questions

Should I use population or sample standard deviation?

Use population SD when the data you have is everything you care about (all 30 students in THIS class). Use sample SD when your numbers are a sample meant to describe a bigger group (30 voters polled to estimate a city). Most published research reports the sample version.

How do I calculate standard deviation by hand?

Find the mean, subtract it from every value, square each difference, average the squares, and take the square root. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the squared distances sum to 32, variance is 32 ÷ 8 = 4, and SD = √4 = 2.

What does a CSV upload accept?

Any plain text or CSV file — every number found in the file becomes a data point, in file order. A header row is fine: words are simply ignored. The file is parsed by your browser on your device; it is never sent anywhere.

What if every number is different — is there still a mode?

No: when no value repeats, there is no mode, and the calculator says so. When two values tie for most frequent, both are listed (the dataset is bimodal).

🎓 Working with class data?

The Final Grade Calculator shows the exam score you need — or your course grade for any what-if score.

Check my grade math

What does a standard deviation of 0 mean?

Every value in the dataset is identical, so no value sits any distance from the mean and there is no spread to measure. Both the population and sample figures come out at 0 — it usually means a constant measurement, a single repeated entry, or data that was rounded much too aggressively before it reached the tool.

How many numbers do I need for a result?

One number is enough for the mean, the median and the population standard deviation (which will be 0 for a single value). The sample standard deviation needs at least two values, because it divides by the count minus one — with a single value it is undefined, and this calculator shows a dash for the sample lines instead of inventing a number.

Advertisement