Live Gold PriceGold CalculatorSilver PriceSilver CalculatorliveExchange Rate
Home › Calculators › Standard Deviation Calculator
STATISTICS

Standard Deviation Calculator

Mean, variance and population/sample standard deviation for any data set.

Count—
Mean—
Population SD (σ)—
Sample SD (s)—

σ = √(Σ(x−μ)²/N) for population; s = √(Σ(x−x̄)²/(n−1)) for a sample.

What Is Standard Deviation?

Standard deviation measures how spread out a set of numbers is around its average. A low standard deviation means the values cluster tightly near the mean; a high one means they are widely scattered. A standard deviation calculator saves you from the long hand computation — squaring dozens of deviations and taking a square root — and removes the most common source of error: dividing by the wrong count. It is one of the most used tools in statistics, finance (volatility), science, and quality control.

Standard deviation is always expressed in the same units as your data: if your data is test scores out of 100, the standard deviation is in "points," which makes it far more intuitive than its close cousin, the variance.

How It Works

Population vs. sample

There are two formulas, and choosing the right one matters:

The formula, step by step

For the population version:

σ = √( Σ(x − μ)² / N )

  1. Find the mean (μ) of all values.
  2. Subtract the mean from each value and square the result (squaring makes negatives positive and punishes large deviations more).
  3. Average those squared deviations — this average is the variance (σ²).
  4. Take the square root to return to the original units. That is the standard deviation.

The sample formula is identical except the final division uses (n−1): s = √( Σ(x − x̄)² / (n−1) ).

How to Use This Calculator

  1. Enter your data set as a list of numbers (separated by commas, spaces, or new lines).
  2. Choose population if the data is the whole group, or sample if it is a subset.
  3. The calculator returns the mean, variance, and both standard deviations instantly.

Worked Example

Find the standard deviation of the data set 2, 4, 4, 4, 5, 5, 7, 9:

  1. Mean: (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) / 8 = 40 / 8 = 5.
  2. Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16. Sum = 32.
  3. Population variance: 32 / 8 = 4, so σ = √4 = 2.00.
  4. Sample variance: 32 / 7 ≈ 4.571, so s = √4.571 ≈ 2.14.

Notice the sample value is slightly larger — dividing by (n−1) corrects for the fact that a sample tends to understate the true spread.

Tips

Frequently asked questions

Population vs sample SD?

Use population (σ) when you have all data; sample (s) when your numbers are a subset, e.g. a survey.

What does SD tell me?

How spread out the numbers are — a small SD means values cluster near the mean.