AIForeverThing

Standard Deviation Calculator

Compute population and sample standard deviation, variance, and key statistics from your dataset.

Enter Your Data

Enter at least 2 numbers. Supports integers and decimals.

Results

Population Std Dev (σ)
—
√( Σ(x−μ)² / N )
Sample Std Dev (s)
—
√( Σ(x−x̄)² / (N−1) )
Population Variance (σ²)
—
Σ(x−μ)² / N
Sample Variance (s²)
—
Σ(x−x̄)² / (N−1)
Count (N) —
Mean (μ) —
Sum (Σx) —
Min —
Max —
Range —

How It Works

Standard deviation measures how spread out data points are from the mean. First, the calculator finds the mean (average) of all values. Then it computes each value's deviation from the mean, squares those deviations, and sums them. For population standard deviation (σ), this sum is divided by N. For sample standard deviation (s), it is divided by N−1 (Bessel's correction). The variance is the squared result before taking the square root. A higher standard deviation indicates greater data dispersion around the mean.

What is the difference between population and sample standard deviation?

Population standard deviation divides the sum of squared deviations by N (the total number of data points), while sample standard deviation divides by N−1. The N−1 correction (Bessel's correction) compensates for the fact that a sample tends to underestimate the true population variance.

How do you calculate standard deviation manually?

First, calculate the mean of all values. Then subtract the mean from each value and square the result. Sum all squared differences, divide by N (population) or N−1 (sample) to get the variance. Finally, take the square root of the variance to obtain the standard deviation.

When should I use sample vs population standard deviation?

Use population standard deviation when your data includes every member of the group you are studying. Use sample standard deviation when your data is a subset (sample) drawn from a larger population, which is the most common scenario in research and statistics.
Free tools by TUNA — energy supply from vetted manufacturers