Statistics Calculator with Steps

Mean, median, mode, quartiles, variance and standard deviation — with the working shown

Quick answer

Statistics Calculator with Steps

Paste or type your numbers. Results update as you type, and the step-by-step section below shows exactly how each answer is worked out, so you can check your own working.

Formula

x̄ = Σx ÷ n | s = √(Σ(x − x̄)² ÷ (n − 1)) | σ = √(Σ(x − x̄)² ÷ n)

Try an example

Center

Mean (x̄)88.3
Median88.5
ModeNone

Spread (sample)

Standard deviation (s)5.3759
Variance (s²)28.9
Population SD (σ)the other convention, for comparison5.1
Range18

Summary

Count (n)10
Sum (Σx)883
Minimum78
Maximum96

Five-number summary

Min
78
Q1
85
Median
88.5
Q3
92
Max
96

IQR = 7. Standard error of the mean = 1.7. Coefficient of variation = 6.09%. Quartiles use the median-of-halves method taught in most US classes and used by the TI-84; Excel’s QUARTILE.INC can give slightly different values.

Step-by-step working

  1. Count the values and add them up

    n = 10, Σx = 883

  2. Mean: divide the sum by the count

    x̄ = Σx ÷ n = 883 ÷ 10 = 88.3

  3. Subtract the mean from each value and square the result

    xx − x̄(x − x̄)²
    85-3.310.89
    923.713.69
    78-10.3106.09
    967.759.29
    88-0.30.09
    912.77.29
    83-5.328.09
    890.70.49
    945.732.49
    87-1.31.69

    Σ(x − x̄)² = 260.1

  4. Variance: divide by n − 1 (sample)

    s² = 260.1 ÷ 9 = 28.9

    Dividing by n − 1 (Bessel’s correction) is used when your numbers are a sample from a bigger group — the usual case in homework and research.

  5. Standard deviation: take the square root of the variance

    s = √28.9 = 5.3759

  6. Median: sort the values and take the middle

    78, 83, 85, 87, 88, 89, 91, 92, 94, 96

    n = 10 is even, so the median is the average of values 5 and 6: (88 + 89) ÷ 2 = 88.5

  7. Quartiles: the median of each half

    Q1 = median of the lower 5 values = 85; Q3 = median of the upper 5 values = 92.

    IQR = Q3 − Q1 = 92 − 85 = 7

    Outlier fences: 85 − 1.5 × 7 = 74.5 and 92 + 1.5 × 7 = 102.5. No values fall outside them.

  8. Mode: the value(s) that appear most often

    Every value appears the same number of times, so there is no mode.

Sample or population?

Use sample when your numbers are a subset of a larger group — a survey, an experiment, 30 students out of a school. Use population only when you have every member of the group you are describing. If a question doesn’t say, it almost always means a sample. Calculators label them differently: on a TI-84, Sx is the sample SD and σx is the population SD; in Excel, STDEV.S is sample and STDEV.P is population.

📊Formula

x̄ = Σx ÷ n | s = √(Σ(x − x̄)² ÷ (n − 1)) | σ = √(Σ(x − x̄)² ÷ n)

💡How it works

Paste or type your numbers. Results update as you type, and the step-by-step section below shows exactly how each answer is worked out, so you can check your own working.

ℹ️ What is Statistics Calculator?

A statistics calculator computes descriptive statistics for a dataset: mean, median, mode, variance, standard deviation, range, and more. These metrics are fundamental to data analysis, academic research, quality control, and business intelligence.

📐 Formula

σ² = Σ(xᵢ − μ)² / N | σ = √σ² | CV = (σ / μ) × 100
μ (mu)— Population mean
σ² (sigma²)— Variance — average squared deviation from mean
σ (sigma)— Standard deviation — square root of variance
N— Number of data points
CV— Coefficient of variation — relative variability %

✏️ Worked Example

Dataset: 2, 4, 4, 4, 5, 5, 7, 9
  1. 1n = 8, Sum = 40, Mean (μ) = 40 / 8 = 5
  2. 2Deviations from mean: −3, −1, −1, −1, 0, 0, 2, 4
  3. 3Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16
  4. 4Variance = (9+1+1+1+0+0+4+16) / 8 = 32 / 8 = 4
  5. 5Standard Deviation = √4 = 2
  6. 6Range = 9 − 2 = 7
✅ Result: Mean = 5 | Std Dev = 2 | Variance = 4 | Range = 7

💡 How to Interpret Results

  • ▸Small standard deviation → data points are clustered close to the mean.
  • ▸Large standard deviation → data is spread out widely (high variability).
  • ▸In a normal distribution: 68% of data falls within ±1σ, 95% within ±2σ, 99.7% within ±3σ (Empirical Rule).
  • ▸Outliers are typically values more than 2–3 standard deviations from the mean.
  • ▸Use sample standard deviation (÷(n−1)) when your data is a sample of a larger population.

❓ Frequently Asked Questions

Related tools for this workflow

Continue the calculation

📚 Related Articles & Tips