Mean Median Mode Calculator

Calculate mean, median, mode, variance, and standard deviation with step-by-step solutions.

Separate with commas or spaces

Mean

6.2500

Median

7

Mode

7

Range

12

Variance

13.1875

Std Dev

3.6315

Step-by-Step

Sorted Values

[1, 2, 4, 7, 7, 7, 9, 13]

Mean Calculation

Add all values: 4 + 7 + 13 + 2 + 7 + 1 + 9 + 7 = 50

Divide by count: 50 / 8 = 6.2500

Median Calculation

Even count (8): average of positions 4 and 5: (7 + 7) / 2 = 7

Mode (frequency count)

11)21)41)73)91)131)

How to Use the Mean, Median, and Mode Calculator

  1. Type or paste your numbers into the input box. Separate them with commas or spaces. Example: 4, 7, 13, 2, 7, 1, 9, 7.
  2. View results instantly. The calculator shows the mean, median, mode, range, variance, and standard deviation all at once.
  3. Read the step-by-step section to see exactly how each value was calculated, including the sorted list, the mean arithmetic, and the median position logic.

The mode is highlighted in the frequency count display. If no single value appears more than others, "None" is shown.

Formulas

Mean = (x1 + x2 + ... + xn) / n

Median:
  Sort the values first.
  Odd count:  middle value
  Even count: (value at n/2 + value at n/2+1) / 2

Mode: the value(s) that appear most often

Range = Max - Min

Variance (population) = Σ(xi - mean)² / n

Standard Deviation = √Variance

Example for [1, 2, 2, 3, 4]:
  Mean = 12 / 5 = 2.4
  Median = 2 (middle of sorted list)
  Mode = 2 (appears twice)
  Range = 4 - 1 = 3
  Variance = [(1-2.4)² + (2-2.4)² + (2-2.4)² + (3-2.4)² + (4-2.4)²] / 5
           = [1.96 + 0.16 + 0.16 + 0.36 + 2.56] / 5 = 1.04
  Std Dev = √1.04 ≈ 1.0198

Frequently Asked Questions

The mean is the arithmetic average. The median is the middle value of a sorted list. The mode is the most frequently occurring value. For symmetric data they are close together. For skewed data (like incomes) they diverge, and the median usually represents "typical" better than the mean.

Related Calculators