Home › Math › Standard Deviation Calculator
🔧

Standard Deviation Calculator

Paste a data set to get mean, variance and standard deviation — population and sample formulas side by side, plus median and extremes

数据输入

样本标准差(÷n−1)与总体标准差(÷n)两种口径并列给出,作业要求哪种用哪种。

粘贴数据后自动计算,不需要点击按钮

About this tool

Standard deviation measures how far a data set spreads from its mean: more variation, bigger number. Paste your data into the box (spaces, commas and line breaks all work) and get mean, variance, standard deviation and median in one shot — no manual sum of squares.

  • Both conventions: population standard deviation (÷n) and sample standard deviation (÷n−1, Bessel's correction) are shown together; use whichever your assignment requires
  • Companion statistics: mean, median, range, min/max, count and sorted data are all included
  • Forgiving input: decimals and negatives supported; commas, spaces, semicolons and line breaks can be mixed
  • Visible process: formulas with a worked substitution example are shown, handy for writing up homework steps

Formulas

  • Population σ: √[ Σ(xᵢ−μ)² / n ] — use when the data is the entire population of interest
  • Sample s: √[ Σ(xᵢ−x̄)² / (n−1) ] — use when the data is a sample; the n−1 term is Bessel's correction
  • Variance: the square of the standard deviation, also provided for easy comparison

Use cases

  • Homework on statistics chapters: verify variance / standard deviation results
  • Lab data: compare dispersion across repeated measurements
  • Ops and QA: check variation ranges (tolerances, response times)

All calculations run locally in your browser; nothing is uploaded.

FAQ
  • When do I use n versus n−1?"Standard deviation of this data" uses n (population); "sample standard deviation" or sampled data uses n−1. Unsure? This page shows both.
  • Why is the sample standard deviation larger?The denominator shrinks from n to n−1, making the result slightly bigger — it compensates for sampling underestimating spread, not a bug.
  • Can I compute with just two numbers?Yes. The sample formula needs at least 2 data points; a single value has no defined sample variance.