About Sample Standard Deviation Calculator
This calculator finds the sample standard deviation, written s, for data that is a sample from a larger group. It divides the sum of squared deviations by n - 1 instead of n. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
Dividing by n - 1 is called Bessel's correction. A sample sits closer to its own mean than to the true population mean, so dividing by n would underestimate the spread. Using n - 1 corrects this on average.
You need at least two values. The calculator also shows the variance, the standard error s / sqrt(n) and a margin of error for the mean.
How to use Sample Standard Deviation Calculator
- Paste or type your numbers, separated by commas, spaces or new lines. Use a dot for decimals.
- Pick Sample (n - 1) if the numbers are a sample, or Population (n) if they are the whole group.
- For grouped data, switch Data entry to Frequency table and enter one "value, frequency" pair per line. A class interval such as 10-20, 4 is counted at 15.
- Read the standard deviation at the top, then the variance, mean, sum, count, standard error and margin of error.
- Open the working and the deviations table to see each (x - mean) and its square, and the totals that feed the formula.
Features
- Sample and population standard deviation side by side, with the one you chose as the headline.
- Variance, mean, count, sum, range, standard error and margin of error at 90%, 95% or 99% confidence.
- Step-by-step working in written-out formulas, with a table of deviations and squared deviations.
- Frequency table and class interval input, with a weighted calculation instead of an expanded list.
- Coefficient of variation as a percentage of the mean.
- Copy the results as text. Works with long lists and on a phone.
Sample standard deviation formula
Add up the squared deviations from the mean, divide by n - 1 and take the square root.
s = sqrt( sum((x - mean)^2) / (n - 1) )Worked examples
Heights in cm: 160, 172, 168, 175, 181, 165, 170 gives s = 6.8173
Mean 170.14, sum of squares 278.86, variance 46.476.
Privacy: how it works
- All the arithmetic happens in your browser tab. The numbers you paste are not sent to Ulkaa or to any other server.
Tips
- One extreme value can inflate the standard deviation a lot. Check the deviations table for a very large squared deviation.
- Standard deviation has the same unit as your data. Variance is in squared units, which is harder to interpret.
- To compare spread between data sets with different means or units, use the coefficient of variation.
- A sample needs at least two values. With one value the sample standard deviation is undefined.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your numbers are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your numbers are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
Why divide by n - 1?
A sample is on average closer to its own mean than to the true mean, so dividing by n - 1 gives an unbiased estimate of the variance.
What is the symbol for sample standard deviation?
It is s. The population standard deviation is the Greek letter sigma.
More Standard Deviation Calculator pages
- Standard Deviation CalculatorPaste your numbers to get the sample or population standard deviation, the variance and the working.
- Population Standard Deviation CalculatorPaste the whole population to get the standard deviation sigma, which divides by n.
- Standard Deviation From a Frequency TableEnter each value with its frequency, or class intervals with counts, and get the standard deviation.
- Coefficient of Variation CalculatorPaste your numbers to get the coefficient of variation, the standard deviation as a percentage of the mean.