Free online tools to generate, calculate,
convert, format, encode, and play.
 

Standard Deviation Calculator

Calculate standard deviation, variance, and measure data spread for population and sample data.


Enter Your Data
Separate values with commas, spaces, or new lines
Choose "Sample" if your data represents a subset. Choose "Population" if you have the complete dataset.
Example Datasets:

How It Works

What is Standard Deviation?

Standard deviation (σ or s) measures how spread out numbers are from their average (mean). A low standard deviation means values are close to the mean; a high standard deviation means values are spread out.

Population vs. Sample
Population Standard Deviation (σ)

Use when you have all data points:

σ = √(Σ(x - μ)² / N)

  • Divide by N (total count)
  • Example: Test scores of entire class
  • Symbol: σ (sigma)
Sample Standard Deviation (s)

Use when you have a sample of data:

s = √(Σ(x - x̄)² / (n-1))

  • Divide by n-1 (Bessel's correction)
  • Example: Survey of 100 people from a city
  • Symbol: s
Variance

Variance is the square of standard deviation:

  • Population variance: σ² = Σ(x - μ)² / N
  • Sample variance: s² = Σ(x - xÌ„)² / (n-1)

Standard deviation is more intuitive because it's in the same units as the original data.

Z-Score (Standard Score)

Z-score tells you how many standard deviations a value is from the mean:

z = (x - μ) / σ

  • z = 0: Value equals the mean
  • z = 1: Value is 1 standard deviation above mean
  • z = -2: Value is 2 standard deviations below mean
  • |z| > 3: Unusual value (outlier)
Coefficient of Variation (CV)

CV expresses standard deviation as a percentage of the mean:

CV = (σ / μ) × 100%

  • Low CV (<15%): Low variability, consistent data
  • Medium CV (15-30%): Moderate variability
  • High CV (>30%): High variability, inconsistent data
Real-World Applications
  • Quality Control: Manufacturing processes with low SD are more consistent
  • Finance: Stocks with high SD are more volatile/risky
  • Education: Test score SD shows how varied student performance is
  • Medicine: Clinical trials measure treatment effect variability
  • Weather: Temperature SD shows climate stability
Example

Test scores: [70, 75, 80, 85, 90]

  1. Mean = (70+75+80+85+90) / 5 = 80
  2. Deviations: [-10, -5, 0, 5, 10]
  3. Squared deviations: [100, 25, 0, 25, 100]
  4. Sum of squared deviations = 250
  5. Variance (population) = 250 / 5 = 50
  6. Standard deviation = √50 ≈ 7.07

Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with