Standard deviation calculator
Paste numbers separated by commas, spaces or new lines. You get the sample and population standard deviation, the mean, the range and the CV.
- Checked against reference values
- Free, no sign-up
- Nothing leaves your browser
Numeric sample
Enter numbers separated by commas, spaces or new lines
Interpretation
Collect real answers in a SurveyNinja survey and see them in charts in the report.
Use this template See the questions firstData is not stored — calculation runs in your browser.
Ready-made template
Do it with your own respondents
The “Likert scale survey” template already has the questions. Put in your company name, share the link and watch the answers come in.
- Copy the template: the questions are written
- Share it by link, QR code or a widget on your site
- Read the results in the report with charts
New accounts get 14 days of Premium features, no credit card.
What is standard deviation?
Standard deviation (SD) measures how far values typically sit from their mean, in the same units as the data. Sample SD = √(Σ(x − mean)² / (n − 1)); the population SD divides by n instead. The ratings 7, 8, 6, 9, 8, 5, 7 and 10 have a mean of 7.5 and a sample SD of 1.60. A small SD means the answers cluster tightly.
How the standard deviation is calculated
-
Formula
Sample SD = sqrt(sum((x − mean)²) / (n − 1)). Population SD = sqrt(sum((x − mean)²) / n).
-
Mean
The center of the distribution that the spread is measured from.
-
Sample SD
Used for a sample of respondents; it divides the sum of squares by n − 1.
-
CV
The coefficient of variation helps compare the spread of metrics on different scales.
Calculation examples
-
Satisfaction scores
- 7, 8, 6, 9, 8, 5, 7, 10
Mean 7.5, sample SD 1.60 and a coefficient of variation of 21.4%. Answers range from 5 to 10.
-
Support response time
- 12, 18, 9, 45, 16, 21
Mean 20.17, sample SD 12.89 and a CV of 63.9%. Without the outlier of 45 the SD drops to 4.76.
What to avoid
-
Ignoring outliers
One extreme answer can inflate the standard deviation a lot.
-
Confusing sample and population
Survey data usually calls for the sample standard deviation.
-
Comparing scales without the CV
The SD depends on the units. For a relative comparison, use the coefficient of variation.
Next step
Collect the data for this analysis
Build the survey in SurveyNinja, share the link in your email or chat, or as a QR code, and export the answers to Excel, CSV or SPSS on every plan.
- Ready questions or AI from a description
- A link for your email or chat, a QR code or a widget on your site
- Charts in the report, export to Excel, CSV and SPSS
Frequently asked questions
How is standard deviation different from variance?
Variance is measured in squared units; the standard deviation brings the spread back to the original units of the metric.
How do I know whether an SD is large or small?
Compare it with the mean, the scale and past values. The coefficient of variation helps with that.
Can I calculate an SD for a 1–5 scale?
Yes, as a practical measure of how spread out the ratings are, keeping in mind that the scale is ordinal.
What should I do with outliers?
Check whether they are errors or real values. For the report, you can add the median and percentiles.
How many values do I need?
At least two for a sample standard deviation, but a stable conclusion needs a larger sample.
Learn the method
Read how the method works and where its numbers come from.
Turn the numbers into a survey
Start from the “Likert scale survey” template: the questions are ready.
WooCommerce Post-Purchase Survey: 7 Questions, When to Ask and What to Do Next