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.
Frequency summary
| Value | Count | Share |
|---|
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.
When to use this
- A class set of scores, lab readings or timing results needs a spread figure next to its average for a write-up.
- You are comparing two groups with similar means and need to know which one is actually more consistent.
- A spreadsheet column is too long to work by hand, so the numbers come in as a pasted list or a CSV export.
- An assignment specifically asks for both the population and the sample standard deviation of the same dataset.
How to use it, step by step
- Paste your numbers into the data box, separated by commas, spaces, semicolons or line breaks — stray words are ignored.
- 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.
- Press Calculate statistics and read the headline pair: the population value first, then the sample value after the slash.
- Scroll the summary table for the mean, median, mode, both variances, the minimum, maximum and range that go with your dataset.
- 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
| Input | What it is | Typical values |
|---|---|---|
| Your data | The list of numbers to summarize, in any order | A handful of readings up to a full class or survey column |
| CSV / text file | An 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.
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.