Online Standard Deviation Calculator

Calculate population and sample standard deviation (σ and s), variance, mean, and sum of squares.

What Is Standard Deviation?

Standard deviation is a fundamental statistical measure of the dispersion or spread of a dataset relative to its mean. A low standard deviation indicates that data points tend to be close to the mean, while a high standard deviation indicates that values are spread out over a wider range.

How to Use the Standard Deviation Calculator

  1. Enter your dataset numbers separated by commas or spaces (e.g., 10, 12, 23, 23, 16, 23, 21, 16).
  2. Select whether your data represents a Sample (s) or an entire Population (σ).
  3. Click "Calculate" to view standard deviation, variance, mean, and count.

Formula & How the Calculation Works

Population Standard Deviation (σ) = √[ ∑(xᵢ - μ)² ÷ N ]
Sample Standard Deviation (s) = √[ ∑(xᵢ - x̄)² ÷ (n - 1) ]

Sample standard deviation uses Bessel’s correction (dividing by n - 1 instead of N) to provide an unbiased estimate of population variance.

Worked Calculation Example

Scenario: Calculate sample standard deviation for: {4, 8, 6, 5, 3}.

Key Considerations & Common Mistakes to Avoid

Frequently Asked Questions

When should I use sample vs. population standard deviation?

Use population standard deviation when your data includes all members of the entire group. Use sample standard deviation when your data is a subset or sample of a larger population.

What does standard deviation tell you in a normal distribution?

According to the Empirical Rule (68-95-99.7): ~68% of data falls within 1 standard deviation of the mean, ~95% within 2 deviations, and ~99.7% within 3 deviations.

Can standard deviation ever be negative?

No. Because it is calculated by taking the square root of a sum of squared numbers, standard deviation is always non-negative (≥ 0).