Skip to main content

Statistics Calculator Guide: Mean, Median, Mode, Variance & Standard Deviation

Unlock descriptive data analysis. Master central tendency, sample dispersion, Bessel's correction, and variance interpretation with clear mathematical proofs.

From scientific experiments and medical clinical trials to financial portfolio risk and quality control engineering, descriptive statistics provide the foundation for understanding raw data. Rather than analyzing hundreds of disconnected numbers, statisticians distill datasets into two primary characteristics: central tendency (where the data centers) and dispersion (how widely the data spreads).

Measures of Central Tendency

1. Arithmetic Mean (μ or x̄)

The arithmetic mean is the sum of all observed values divided by the total number of observations ($n$):

x̄ = (∑ xi) / n

2. Median

The median represents the physical middle value of a sorted dataset:

  • Odd sample size: The single value located at position $(n + 1) / 2$.
  • Even sample size: The average of the two middle values at positions $n / 2$ and $(n / 2) + 1$.

3. Mode

The value that appears with the highest frequency in the dataset. A dataset may be unimodal (one mode), bimodal (two modes), multimodal, or have no mode if all values appear with equal frequency.

Measures of Dispersion and Spread

1. Range

The difference between the maximum and minimum values in the dataset:
Range = Maximum Value - Minimum Value

2. Sample Variance (s2) and Bessel's Correction

When working with a sample taken from a larger population, calculating variance by dividing by $n$ underestimates true population variance. British mathematician Friedrich Bessel proved that dividing by $(n - 1)$ corrects this bias:

s2 = ∑ (xi - x̄)2 / (n - 1)

3. Sample Standard Deviation (s)

Because variance is measured in squared units (e.g., dollars squared, grams squared), standard deviation takes the square root of variance to return dispersion to the original measurement units:

s = √[ s2 ]

Comprehensive Worked Numerical Example

Sample Dataset: 8

Sample count ($n$): 6 observations

  • Sum: 3 + 4 + 5 + 6 + 7 + 8 = 33
  • Mean: 33 / 6 = 5.5000
  • Median: Even $n = 6$, middle observations are 5 and 6 → (5 + 6) / 2 = 5.5000
  • Mode: None (all elements appear once)
  • Range: 8 - 3 = 5
  • Sum of Squared Deviations:
    (3 - 5.5)2 = 6.25
    (4 - 5.5)2 = 2.25
    (5 - 5.5)2 = 0.25
    (6 - 5.5)2 = 0.25
    (7 - 5.5)2 = 2.25
    (8 - 5.5)2 = 6.25
    Total Sum of Squares = 17.50
  • Sample Variance (s2): 17.50 / (6 - 1) = 3.5000
  • Sample Standard Deviation (s): √3.5 = 1.8708
  • Population Variance (σ2): 17.50 / 6 = 2.9167
  • Population Standard Deviation (σ): √2.9167 = 1.7078

Outlier Sensitivity: Mean vs. Median

Consider what happens if an error or extreme event introduces the number 100 into the dataset above:

  • The Mean surges from 5.5 to 19.0 (distorted by the single large value).
  • The Median shifts moderately from 5.5 to 6.0 (robust against outliers).

This critical property is why economists report median home prices and median household income rather than mean values, which are skewed by ultra-wealthy outliers.

Analyze Your Data Instantly

Paste any series of numbers into our free statistics calculator to compute mean, median, mode, range, variance, and standard deviation with step-by-step clarity.

Open Statistics Calculator

Related Math & Science Calculators

Frequently Asked Questions

Share this Calculator