Mean, Median, Mode Calculator - Statistics Mean Median Mode

Enter a data set to instantly compute mean, median, mode, quartiles, IQR, and outliers.

Enter Data Set

Your Results

Mean (Average) 5
Formula (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) / 8 = 5
Mean 5
Median 4.5
Mode 4
Range 7
Q1 (25th percentile) 4
Q2 (Median) 4.5
Q3 (75th percentile) 6
IQR (Q3 − Q1) 2
Outliers None
Sum 40
Count 8

Sorted Data (Ascending)

2, 4, 4, 4, 5, 5, 7, 9

Mean, Median, Mode Calculator - Guide

What are Mean, Median, and Mode?

These are the three main measures of central tendency in statistics. The mean is the arithmetic average, the median is the middle value in a sorted list, and the mode is the most frequently occurring value.

Formulas & Definitions

1. Mean

Mean = Sum of all values ÷ Count

2. Median

Middle value when sorted. For even count: average of two middle values.

3. Mode

Value(s) that appear most often. A set can be unimodal, bimodal, multimodal, or have no mode.

4. Quartiles & IQR

Q1 = median of lower half, Q3 = median of upper half. IQR = Q3 − Q1.

5. Outliers

Values below Q1 − 1.5×IQR or above Q3 + 1.5×IQR.

Examples

  • Data: 2, 4, 4, 4, 5, 5, 7, 9 → Mean = 5, Median = 4.5, Mode = 4
  • Data: 1, 2, 3, 4, 5 → Mean = 3, Median = 3, No mode
  • Data: 1, 1, 2, 2, 3 → Bimodal: modes are 1 and 2

When to Use Each Measure

  • Mean: Best for symmetric distributions without outliers.
  • Median: Best for skewed data or data with outliers (e.g., income).
  • Mode: Best for categorical data or finding the most common value.
  • Quartiles/IQR: Best for understanding data spread and identifying outliers.

How This Calculator Works

  1. Enter data: Type or paste numbers separated by commas or spaces.
  2. Instant results: Mean, median, mode, quartiles, IQR, outliers, sum, and count update in real time.
  3. Sorted view: See your data in ascending order below the results.

Find a Calculator

Browse All Calculators →