Standard Deviation Calculator
The Standard Deviation Calculator gives the sample or population standard deviation of a list of numbers, along with the variance, mean, median, range and standard error. It shows the working and each value's distance from the mean, so you can check it against your notes.
Separate with commas, spaces or new lines. You can paste a column from a spreadsheet. Up to 100,000 values.
Type or paste at least two numbers.
| Measure | Value |
|---|
| Value (x) | x − mean | (x − mean)² |
|---|
What is the Standard Deviation Calculator?
The Standard Deviation Calculator measures how spread out a set of numbers is. Paste numbers from a spreadsheet or type them with commas, choose whether they are a sample from a bigger group or the whole population, and it gives the standard deviation, the variance and the steps in between: the mean, each value's deviation from it, the sum of squared deviations, and the division by n − 1 for a sample or n for a population. It also lists the median, minimum, maximum, range, standard error of the mean and coefficient of variation. Students in statistics, science and business courses, researchers and quality analysts use it. It runs in your browser.
Who it is for: Students in statistics, science, psychology and business courses, teachers marking work, researchers, and analysts checking spreadsheet results.
How to use the Standard Deviation Calculator
- Paste or type your numbers into the box.
- Choose sample if the numbers are part of a bigger group, or population if they are every member.
- Read the standard deviation, variance, mean and count.
- Check the working line and the table of deviations from the mean.
- Copy the result if you need it elsewhere.
Why use it
- Sample or population, clearlyA single choice switches between dividing by n − 1 (Excel STDEV.S) and by n (STDEV.P), and both results appear in the table.
- Working you can followA line shows the mean, the sum of squared deviations, the variance and the square root, with the real numbers.
- Paste straight from a spreadsheetCopy a column and paste it. Commas, spaces, tabs and new lines all separate values, and anything that is not a number is listed as ignored.
- More than one figureMedian, range, minimum, maximum, standard error and coefficient of variation are worked out from the same list.
At a glance
- What you put in
- A list of numbers (up to 100,000) and whether they are a sample or the whole population
- What you get
- Standard deviation, variance, mean, median, sum, minimum, maximum, range, standard error, coefficient of variation and a deviation table
- Limits
- One list at a time; no frequency tables or grouped data; deviation table shows the first 200 values
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
Your numbers: 2, 4, 4, 4, 5, 5, 7, 9; Your numbers are: A sample
Sample standard deviation (s): 2.138089935 Sample variance (s²): 4.571428571 Mean: 5 Count (n): 8 Population standard deviation (σ): 2
The mean is 40 ÷ 8 = 5. The squared deviations are 9, 1, 1, 1, 0, 0, 4 and 16, which add up to 32. For a sample, 32 ÷ 7 = 4.571428571, and its square root is 2.138089935. Treated as a whole population, 32 ÷ 8 = 4 and the standard deviation is exactly 2.
When to use something else
- The tool takes a plain list. For a frequency table (value and how many times it occurs), type each value as many times as it occurs, or use a spreadsheet.
- Standard deviation describes spread; it does not test whether two groups differ. For that you need a t-test or similar, in a statistics package.
- Results are worked out in standard double-precision arithmetic, which is plenty for coursework and business data but not for extreme scientific values with more than 15 significant digits.
Questions people ask
Should I use sample or population standard deviation?
Use population when your list holds every member you care about, such as the marks of all 30 students in your class. Use sample when the list is part of a bigger group and you want to estimate that group's spread, such as 30 students picked from a whole school. Most coursework and research data is a sample.
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 understate the spread. Dividing by n − 1, known as Bessel's correction, makes the sample variance an unbiased estimate of the population variance.
Which Excel function matches this calculator?
STDEV.S (or the older STDEV) gives the sample standard deviation, and STDEV.P (or STDEVP) gives the population one. VAR.S and VAR.P give the matching variances. Google Sheets uses STDEV and STDEVP.
What is the difference between variance and standard deviation?
Variance is the average of the squared deviations from the mean, so it is in squared units, such as marks squared. Standard deviation is its square root, which brings it back to the original units, so it is easier to read.
What is a good or bad standard deviation?
There is no fixed rule; it depends on the mean and the subject. The coefficient of variation, the standard deviation as a percentage of the mean, helps compare spread across data with different sizes. For roughly bell-shaped data, about 68% of values lie within one standard deviation of the mean.
What is the standard error of the mean?
It is the sample standard deviation divided by the square root of n. It tells you how much the mean itself would vary between samples, and it shrinks as the sample grows. It is used to build confidence intervals.
Is the Standard Deviation Calculator free and private?
Yes. It is free with no subscriptions, and the numbers you paste stay in your browser. Once the page has loaded it also works without a connection.