Skip to main contentSkip to secondary navigation
HomemathStandard Deviation

Standard Deviation & Variance Calculator

Calculate standard deviation, variance, mean, median, and range from a data set. Supports both sample and population standard deviation.

✓ Formula verified: January 2026
📐

Standard Deviation

Results update instantly as you type

Enter Values

Standard Deviation (s)
3.482097
↑ Gain
Mean (Average)17.125
Variance12.125
Median17
Count (n)8

Range

12 to 22 (span: 10)

Coefficient of Variation

20.33%

http://127.0.0.1:54963/math/standard-deviation-calculator
Full Statistical BreakdownSample (n−1) · n = 8

Data Distribution with Standard Deviation

#1#2#3#4#5#6#7#806121824Mean: 17.13+1σ: 20.61−1σ: 13.64

Data Set (sorted)

1214151618192122

Step 1: Calculate the Mean (x̄)

x̄ = (12 + 15 + 18 + 22 + 14 + 19 + 16 + 21) ÷ 8= 17.125

Step 2: Deviations & Squared Deviations

Table of (xᵢ − x̄) and (xᵢ − x̄)²

ixᵢxᵢ − x̄(xᵢ − x̄)²
112-5.12526.265625
215-2.1254.515625
318 0.8750.765625
422 4.87523.765625
514-3.1259.765625
619 1.8753.515625
716-1.1251.265625
821 3.87515.015625
Sum084.875

Step 3: Variance

σ² = 84.875 ÷ (n − 1) = 84.875 ÷ 7 = 12.125

Step 4: Standard Deviation

σ (or s) = √(12.125) = 3.482097

Mean

17.125

Median

17

Min / Max

12 / 22

CV

20.33%

The Formula

σ = √[Σ(xᵢ − μ)² / N] | s = √[Σ(xᵢ − x̄)² / (n−1)]

Standard deviation measures the spread of data around the mean. Population SD (σ) divides by N; sample SD (s) divides by n-1 (Bessel's correction) to provide an unbiased estimate of the population parameter. The variance is the square of the standard deviation and represents the average squared distance from the mean.

Variable Definitions

μ (or x̄)

Mean

The arithmetic average of the data set. μ is the population mean; x̄ is the sample mean.

σ (or s)

Standard Deviation

The average distance of each data point from the mean. σ is population SD; s is sample SD.

N (or n-1)

Divisor

Population SD divides by N; sample SD divides by n-1 to correct for bias (Bessel's correction).

CV

Coefficient of Variation

SD divided by the mean, expressed as a percentage. Allows comparison of variability across datasets with different units.

How to Use This Calculator

  1. 1

    Enter your data set as comma-separated numbers (e.g., "12, 15, 18, 22, 14").

  2. 2

    Select whether your data represents a sample (most common) or the full population.

  3. 3

    View the standard deviation, variance, mean, median, range, and coefficient of variation.

  4. 4

    Use the coefficient of variation to compare variability across datasets with different scales or units.

In a normal distribution, 68% of values fall within one standard deviation of the mean, 95% within two

Understanding the Concept

Standard deviation (SD) is the most widely used measure of statistical dispersion. A low SD means data is clustered close to the mean; a high SD means data is spread widely. In a normal distribution, approximately 68% of data falls within 1 SD of the mean, 95% within 2 SDs, and 99.7% within 3 SDs — this is known as the empirical rule or the 68-95-99.7 rule. The choice between sample and population SD is critical: sample SD uses n-1 (Bessel's correction) because a sample tends to underestimate the true population variability. Without this correction, the sample SD would be biased. In practice, almost all real-world research uses sample SD since data is almost always a sample drawn from a larger population. The coefficient of variation (CV) normalizes the SD by the mean, allowing you to compare variability between datasets with different units — for example, comparing the consistency of test scores (points) with heights (centimeters). Finance uses SD to measure investment volatility: a stock with a higher SD has more price fluctuation and is considered riskier.

Frequently Asked Questions

Related Guides

Related Calculators

Reviews

No reviews yet. Be the first to share your experience with Standard Deviation & Variance Calculator.

Write a Review

Your Rating *

0/1000

0/50

Related Calculators

Related Guides (3)

Medical Disclaimer: The health and fitness calculators on this site are for informational and educational purposes only. They are not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with any questions about your health.

Financial Disclaimer: The finance calculators on this site are for informational purposes only and do not constitute financial advice. Results are estimates based on the inputs provided and may vary. Consult a qualified financial advisor before making investment or financial decisions.

© 2026 TheCalcUniverse. All results are for informational purposes only.

Fast, free, and privacy-first.