Mean, Median, Mode, Range Calculator

MATH · STATISTICS

Enter your numeric dataset

Calculated on this device
Enter 1 to 5,000 finite numbers separated by commas, spaces, or line breaks.

MEAN (AVERAGE)

22.25

Median 23 · Range 36 across 8 values (sum 178).

Formula: Mean = (Σxᵢ) ÷ n · Range = Max − Min

Median23Average of two middle values
Mode23Appears 3 times
Range36Min 2 · Max 38
Count & Sum8 valuesSum: 178

HOW IT WORKS

Measures of central tendency and spread

Mean, median, and mode summarize the center of a dataset in different ways, while range captures total spread from smallest to largest observation.

01

Arithmetic Mean

The sum of all values divided by the count of values:

Mean (x̄) = (x₁ + x₂ + … + xₙ) ÷ n
02

Median & Mode

The median is the middle value (or average of the two middle values) after sorting. The mode is the most frequent value(s).

03

Range

The difference between the maximum and minimum values:

Range = Max − Min

STATISTICS GUIDE

When to use mean vs. median vs. mode

Handling skewed data and outliers

A single extreme outlier can pull the mean sharply up or down, while the median stays anchored to the typical middle value (which is why median home prices and household incomes are standard). For standard deviation, variance, and quartiles on the same dataset, open our Statistics Calculator or Standard Deviation Calculator.

Frequently asked questions

How is the median found when there is an even number of values?

Sort the values from smallest to largest and average the two middle numbers.

Can a dataset have more than one mode?

Yes. If two or more values tie for the highest frequency (and not every value has that same frequency), all tied values are displayed as modes.

Can the range ever be negative?

No. Because Max ≥ Min, the range is always 0 or greater. A range of 0 means every number in the dataset is identical.

Are negative numbers and decimals supported?

Yes, any finite positive, negative, or decimal number is supported.

Your numbers are processed locally in your browser.