Mean Median Mode Calculator

Calculate mean, median, mode, and range from any list of numbers.

Mean, median, modeSorted data + rangeUpdated May 2026

Enter numbers separated by commas, spaces, or new lines. Negative numbers and decimals are supported.

Try a sample dataset

Live calculation · Frequency aware · Updated May 2026

Mean

4.5

Arithmetic average.

Median

3

Middle sorted value.

Mode

3

Appears 2 times.

Range

8

Maximum minus minimum.

Sum

18

All values added together.

Count

4

Values included.

Minimum

2

Maximum

10

Mode frequency

2

Sorted data

2, 3, 3, 10

Frequency table

2: 1
3: 2
10: 1
The mean is 4.5 because the total sum is 18 across 4 values.
The median is 3 because it is the middle value after sorting the dataset.
The mode is 3 because it appears more often than any other value.
The range is 8, showing the distance between 2 and 10.
Mean and median differ noticeably, which can indicate skew or outliers.
Mean, median, and mode answer different questions about the center of a dataset.

Mean, Median, Mode, and Range Formulas

Mean

Mean = Sum of Values ÷ Number of Values

Notation

Mean = (x₁ + x₂ + ... + xₙ) ÷ n

Median

Median = middle value after sorting

Even count median

Median = average of the two middle values

Mode

Mode = most frequently occurring value

Range

Range = Maximum Value − Minimum Value

Variable Explanations

x

Each value in the dataset.

n

Number of values.

Sum

All values added together.

Mean

Arithmetic average.

Median

Middle value after sorting.

Mode

Most frequent value.

Range

Maximum minus minimum.

Frequency

How often a value appears.

Mean vs Median vs Mode Explained

Mean

Shares the total evenly across all values.

Median

Identifies the middle of the sorted dataset.

Mode

Identifies the most common value.

Range

Shows spread, not center.

Example: for 2, 3, 3, 10, the mean is 4.5, median is 3, mode is 3, and range is 8. The mean is pulled upward by 10.

Worked Examples

2, 3, 3, 10

Sorted: 2, 3, 3, 10

Rule: Mean = 18 ÷ 4, Median = (3 + 3) ÷ 2, Mode = 3

Answer: Mean = 4.5, Median = 3, Mode = 3

1, 2, 3, 4

No value repeats

Rule: Each value appears once

Answer: No mode

1, 1, 2, 2, 3

Two values repeat most

Rule: 1 and 2 both appear twice

Answer: Modes = 1 and 2

4, 8, 10, 12

Even count

Rule: Median = (8 + 10) ÷ 2

Answer: Median = 9

1.5, 2.5, 3.5

Decimal dataset

Rule: Mean = 7.5 ÷ 3

Answer: Mean = 2.5

-5, -1, 2, 4

Includes negatives

Rule: Sum = 0, Count = 4

Answer: Mean = 0

2, 3, 3, 100

Outlier present

Rule: 100 pulls the mean upward

Answer: Median may better represent the center

10, 10, 10, 90

Compare center measures

Rule: Mean = 30, Median = 10

Answer: Mean and median differ because of skew

Range, Outliers, and Skewed Data

Range

Shows the spread between lowest and highest values.

Outliers

Can pull the mean up or down.

Median

Often more stable with outliers.

Mode

Useful for repeated values or categories.

Same mean, different spread

Two datasets can share a mean but vary widely.

Best measure

The best statistic depends on the question.

Common Statistics Mistakes

Forgetting to sort values before finding the median.
Confusing mean and median.
Assuming every dataset has a mode.
Ignoring multiple modes.
Calculating range as maximum plus minimum instead of maximum minus minimum.
Forgetting that negative numbers affect the sum.
Rounding too early.
Treating outliers as errors without checking context.

Understanding Your Results

Mean

What each value would be if the total were shared evenly.

Median

The middle of the sorted dataset.

Mode

The most repeated value.

Range

The spread between lowest and highest value.

Sum

All values added together.

Count

Number of values included.

Minimum and maximum

Smallest and largest values.

Frequently Asked Questions