calculatorgate.com
Home
/Statistics Calculator

Statistics Calculator

Calculate the mean, median, mode, range, variance and standard deviation of a list of numbers. Paste or type your numbers separated by commas or spaces, and see all the summary statistics at once.

Last updated: November 15, 2026 · Written by the CalculatorGate team

Example: 12, 15, 18, 20, 22, 25, 28

Summary statistics for seven values:

Mean20
Median20
Range16
Variance26.57
Standard deviation5.15

What You Need to Know About Statistics Calculation

Data analysis and statistical measurements

Statistics are mathematical methods used to analyze datasets and draw meaningful conclusions. Basic statistical measures: Mean = central tendency, Median = middle value, Mode = most frequent, Standard deviation = data spread.

Measures of central tendency: Mean considers all values but is affected by outliers. Median is not affected by outliers, making it more meaningful for data like income distribution. Mode is useful for categorical data (like blue, red, green). Using all three measures together gives better understanding of your dataset.

Measures of dispersion and applications: Standard deviation shows how much data deviates from the mean. Low deviation = consistent data, high deviation = variable data. Statistics are widely used in: scientific research, business analytics and marketing strategies, quality control and production processes, finance and risk management, health research.

Statistics formulas

  • Mean x̄ = Σx ÷ n
  • Median = the middle value after sorting (average of the two middle values if n is even)
  • Range = max − min
  • Variance σ² = Σ(x − x̄)² ÷ n
  • Standard deviation σ = √σ²
  • n = how many numbers
  • Σ = sum over all values
  • This calculator uses the population formula (÷ n)

Worked example: seven test scores

Seven test scores are 12, 15, 18, 20, 22, 25 and 28. What are the mean, median, range and standard deviation?

  1. Mean: (12 + 15 + 18 + 20 + 22 + 25 + 28) ÷ 7 = 140 ÷ 7 = 20.
  2. Median: the middle (4th) value of the sorted list is 20.
  3. Range: 28 − 12 = 16.
  4. Variance: squared distances from 20 add up to 186, and 186 ÷ 7 = 26.57; standard deviation √26.57 = 5.15.

When to use it

  • Summarizing exam scores, survey answers or measurements.
  • Statistics homework and checking results worked out by hand.
  • Comparing how spread out two data sets are.
  • Spotting outliers before you use a data set.

Common mistakes

  • Using the mean when there are outliers: one very large value pulls it up, so the median is often better.
  • Mixing population and sample formulas: a sample divides by n − 1, which gives a slightly larger result.
  • Forgetting to sort before finding the median.
  • Expecting a mode in every data set: if no value repeats, there isn't one.

Frequently asked questions

Short answers to common questions

What is mean?

Mean (average) is the sum of all numbers divided by the count. It shows the central tendency of data.

What is median?

Median is the middle value when data is sorted from smallest to largest. It's not affected by outliers.

What does standard deviation mean?

Standard deviation shows how much data deviates from the mean. Small deviation = data close together, large deviation = data spread out.

What is variance?

Variance is the square of standard deviation. It measures data spread. Variance = Σ(x - mean)² / n