Mean, Median, Mode Calculator

Calculate measures of central tendency including mean (average), median (middle value), and mode (most frequent value) with frequency distribution visualization.

Enter numbers separated by commas (e.g., 12, 15, 18, 20, 22, 25, 28, 30)

Theory & Formula

Central tendency measures help describe the center or typical value of a dataset. The three main measures are mean, median, and mode.

Mean (Arithmetic Average)

The sum of all values divided by the number of values

\[\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} = \frac{x_1 + x_2 + \cdots + x_n}{n}\]

Median (Middle Value)

The middle value when data is arranged in order

  • For odd number of values: Middle value
  • For even number of values: Average of two middle values

Mode (Most Frequent)

The value(s) that appear most frequently

  • Unimodal: One mode
  • Bimodal: Two modes
  • Multimodal: Multiple modes
  • No mode: All values appear equally often

When to Use Each Measure

  • Mean: Use for normally distributed data
  • Median: Use when data has outliers
  • Mode: Use for categorical data