UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Standard Deviation Calculator

Calculate standard deviation, variance, and spread for any data set

Sample Std Dev (s)

2.1213

Mean

6.2500

Variance

4.5000

Count

8

Need at least 2 values. Separate with commas or spaces.

Use Sample when data is a subset of a larger population (divides by n−1). Use Population when data represents the entire population (divides by N).

Sample Standard Deviation (s)

2.1213

Sample (s)

2.1213

Population (σ)

1.9843

Detailed Statistics

Sample Variance4.5000
Mean (μ)6.2500
Sum50.00
Σ(x−μ)²31.5000
Count (n)8
CV (%)33.94%

Formulas Used

Population Standard Deviation

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

Square root of the average squared deviation from the mean. Used when you have data for every member of the population.

Where:

σ= Population standard deviation
xᵢ= Each individual data value
μ= Population mean (average of all values)
N= Total number of values in the population

Sample Standard Deviation

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

Same as population formula but divides by n−1 instead of N. This Bessel’s correction removes bias when estimating population variance from a sample.

Where:

s= Sample standard deviation
xᵢ= Each individual data value
x̄= Sample mean
n= Number of values in the sample

Coefficient of Variation

CV = (σ / |μ|) × 100%

The ratio of standard deviation to the mean, expressed as a percentage. Provides a normalized measure of dispersion.

Where:

CV= Coefficient of variation (percentage)
σ= Standard deviation
μ= Mean (absolute value)

Example Calculations

1Standard Deviation of Test Scores

Inputs

Numbers4, 8, 6, 5, 3, 7, 8, 9
TypeSample

Result

Sample Std Dev (s)2.1213
Population Std Dev (σ)1.9843
Mean6.25
Sample Variance4.5

Mean = (4+8+6+5+3+7+8+9)/8 = 50/8 = 6.25. Squared deviations: 5.0625, 3.0625, 0.0625, 1.5625, 10.5625, 0.5625, 3.0625, 7.5625. Sum = 31.5. Sample variance = 31.5/7 = 4.5. Sample s = √4.5 = 2.1213.

2Population Standard Deviation

Inputs

Numbers2, 4, 6
TypePopulation

Result

Population Std Dev (σ)1.6330
Variance2.6667
Mean4

Mean = (2+4+6)/3 = 4. Deviations: −2, 0, 2. Squared: 4, 0, 4. Sum = 8. Population variance = 8/3 = 2.6667. σ = √2.6667 = 1.6330.

3Comparing Variability with CV

Inputs

Numbers100, 110, 90, 105, 95
TypeSample

Result

Sample Std Dev (s)7.9057
Mean100
CV7.91%

Mean = 500/5 = 100. Deviations: 0, 10, −10, 5, −5. Squared: 0, 100, 100, 25, 25. Sum = 250. Sample variance = 250/4 = 62.5. s = √62.5 = 7.9057. CV = 7.9057/100 × 100% = 7.91%.

Frequently Asked Questions

Q

What is standard deviation and what does it measure?

Standard deviation measures how spread out values are from the mean. A low standard deviation means data points cluster near the mean. A high standard deviation means data is widely spread. For example, {4, 5, 6} has a low σ of 0.82, while {1, 5, 9} has a high σ of 3.27.

  • Low σ: data clusters tightly around the mean
  • High σ: data is widely dispersed
  • σ = 0: all values are identical
  • 68% of data falls within ±1σ of the mean (normal distribution)
  • 95% of data falls within ±2σ of the mean
Data SetMeanStd Dev (σ)Spread
4, 5, 650.82Low
2, 5, 852.45Medium
1, 5, 953.27High
5, 5, 550None
Q

What is the difference between population and sample standard deviation?

Population std dev (σ) divides by N (total count) and is used when you have every member of the group. Sample std dev (s) divides by n−1 (Bessel’s correction) and is used when your data is a subset of a larger population. Sample gives a slightly larger value to correct for estimation bias.

  • Population (σ): divide by N, used for complete data sets
  • Sample (s): divide by n−1, used for subsets of data
  • Bessel’s correction: n−1 removes bias in estimation
  • For large n, the difference becomes negligible
  • When in doubt, use sample (s) — it is the safer choice
TypeDivisorSymbolWhen to Use
PopulationNσAll members measured (census, full class)
Samplen−1sSubset of population (survey, experiment)
Q

How do I calculate standard deviation step by step?

Step 1: Find the mean (μ = sum/n). Step 2: Subtract the mean from each value (xᵢ − μ). Step 3: Square each deviation. Step 4: Sum the squared deviations. Step 5: Divide by N (population) or n−1 (sample). Step 6: Take the square root.

  • Step 1: Mean = sum of values / count
  • Step 2: Deviations = each value minus the mean
  • Step 3: Square each deviation (removes negatives)
  • Step 4: Sum of squared deviations = Σ(xᵢ−μ)²
  • Step 5: Divide by N or n−1, then take square root
StepData: {2, 4, 6}Values
Mean(2+4+6)/34
Deviations2−4, 4−4, 6−4−2, 0, 2
Squared4, 0, 4Sum = 8
σ√(8/3)1.633
s√(8/2)2
Q

What is variance and how does it relate to standard deviation?

Variance is the square of standard deviation: σ² = variance, σ = √(variance). Variance measures spread in squared units, which makes it harder to interpret but mathematically convenient. Standard deviation returns to the original units by taking the square root.

  • Variance = σ² (squared standard deviation)
  • Standard deviation = √(variance)
  • Variance is always ≥ 0
  • Variance uses squared units (e.g., dollars²)
  • Std dev uses original units (e.g., dollars)
Data SetVariance (σ²)Std Dev (σ)Units Example
4, 5, 60.6670.816±$0.82
10, 20, 3066.678.165±8.17 cm
100, 200, 3006666.781.65±$81.65
Q

What is the coefficient of variation (CV)?

The coefficient of variation (CV) is the standard deviation divided by the mean, expressed as a percentage: CV = (σ/μ) × 100%. It allows comparison of variability between data sets with different units or scales. A CV below 15% indicates low variability.

  • Formula: CV = (σ / |μ|) × 100%
  • Unitless: allows cross-dataset comparison
  • CV < 15%: low variability
  • CV 15–30%: moderate variability
  • CV > 30%: high variability
Data SetMeanStd DevCV
Heights (cm)1706.53.8%
Weights (kg)701217.1%
Test Scores8589.4%

Understanding Standard Deviation and Variance

Standard deviation is one of the most important measures in statistics. It quantifies the amount of variation or dispersion in a data set, telling you how much individual values typically differ from the mean.

There are two types: population standard deviation (σ), which uses all data points, and sample standard deviation (s), which adjusts for the fact that a sample underestimates population variability. The difference lies in dividing by N versus n−1.

Our calculator computes both types simultaneously, along with variance, mean, sum of squares, and the coefficient of variation. It also provides a step-by-step deviations table showing how each value contributes to the final result.

Related Calculators

Average Calculator

Calculate arithmetic, geometric, harmonic means and more

Statistics Calculator

Complete descriptive statistics and data analysis

Percent Calculator

Calculate percentages, increases, and decreases

Probability Calculator

Calculate odds and probability distributions

Z-Score Calculator

Calculate z-scores, percentiles, and probabilities from the standard normal distribution. Enter a value, mean, and standard deviation for instant results.

Confidence Interval Calculator

Calculate confidence intervals for means and proportions at 90%, 95%, or 99% confidence levels. Find margin of error, z-critical values, and standard error.

Related Resources

Average Calculator

Calculate mean, median, mode, and weighted averages

Statistics Calculator

Full descriptive statistics analysis

Percentage Calculator

Calculate percentages and conversions

Probability Calculator

Calculate odds and probability distributions

Last Updated: Mar 9, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro