Math

Standard Deviation Calculator

Calculate mean, median, mode, variance, and standard deviation from your data set. See step-by-step calculations and a visual dot plot.

Quick Answer

Standard deviation measures how spread out numbers are from the mean. Population SD: σ = (Σ(x-μ)²/N) uses N. Sample SD: s = (Σ(x-x̄)²/(n-1))uses n-1 (Bessel's correction). Use sample SD when working with a subset of data.

Enter Your Data

Enter numbers separated by commas, spaces, or new lines.

Results

Count
8
Sum
144.00
Mean
18.0000
Median
18.5000
Mode
23
Range
13.00
Pop. Variance ({'σ'}²)
24.0000
Sample Var. (s²)
27.4286
Population Std Dev (σ)
4.8990
Sample Std Dev (s)
5.2372

Data Distribution

Mean: 18.01012162123
Mean±1 SD

Sorted Data

10, 12, 16, 16, 21, 23, 23, 23

About This Tool

The Standard Deviation Calculator computes all key descriptive statistics for any numerical data set. Enter your numbers and instantly see the count, sum, mean, median, mode, range, variance, and standard deviation with both population and sample formulas. The tool also provides a visual dot plot and complete step-by-step calculations so you can follow along and verify the math.

Population vs. Sample Standard Deviation

The key difference is in the denominator. Population standard deviation (σ) divides by N (the total number of values) and is used when your data represents the entire population. Sample standard deviation (s) divides by n-1 (Bessel's correction) and is used when your data is a sample from a larger population. Bessel's correction compensates for the tendency of a sample to underestimate population variability. In most statistics courses and real-world applications, you'll use sample standard deviation.

What Standard Deviation Tells You

Standard deviation quantifies the amount of variation or dispersion in a set of values. A low standard deviation means data points cluster near the mean, while a high standard deviation means they are spread over a wide range. In a normal distribution, about 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three (the 68-95-99.7 rule).

Practical Applications

Standard deviation is fundamental in statistics, quality control, finance, and science. In finance, it measures investment risk. In manufacturing, it monitors quality consistency. In science, it indicates measurement precision. In education, it helps interpret test scores. Understanding standard deviation helps you evaluate whether observed differences are meaningful or just normal variation.

How to Interpret Variance

Variance is the square of standard deviation. While it is useful mathematically (especially in statistical tests), it is harder to interpret because it is in squared units. Standard deviation brings the measure back to the original units, making it more intuitive. For example, if your data is test scores, the standard deviation is in points, while variance would be in points-squared.

Frequently Asked Questions

When should I use population vs sample standard deviation?
Use population standard deviation when your data set represents the entire group you're studying (e.g., test scores of every student in a class). Use sample standard deviation when your data is a subset of a larger group (e.g., surveying 100 people from a city of 1 million). When in doubt, use sample standard deviation, as it's more conservative.
What is Bessel's correction and why does it matter?
Bessel's correction (dividing by n-1 instead of N) adjusts for the bias in estimating population variance from a sample. Without it, the sample variance systematically underestimates the true population variance. The correction becomes less significant with larger sample sizes, but is important for small samples.
Can standard deviation be negative?
No. Standard deviation is always zero or positive because it's the square root of variance, which is a sum of squared values. A standard deviation of zero means all data points are identical (no variation). Any non-zero result is positive.
What's a 'good' or 'bad' standard deviation?
There's no universal answer. Context matters. A standard deviation of 5 points on a 100-point exam might be considered low (consistent scores), while the same 5-point SD for shoe sizes in a group would be very high. Compare the SD to the mean using the coefficient of variation (SD/Mean * 100%) for relative comparison.
How many data points do I need for a reliable standard deviation?
Technically you need at least 2 for sample SD. However, for reliable results, statisticians generally recommend at least 30 data points. The more data you have, the more stable and representative your standard deviation will be. Small samples can produce misleading statistics.

Was this tool helpful?