Mean, Median, Mode and Range Calculator with Quartiles, IQR and Outliers

Summarise a number set, inspect its frequencies and identify possible outliers using the 1.5 × IQR rule.

Enter your data set

Separate numbers with commas, spaces, semicolons or new lines. Repeated values should be entered each time they occur.

You can paste a row or column containing up to 10,000 values.

What mean, median, mode and range tell you

These statistics answer different questions. The mean shares the total equally across all observations. The median marks the middle of the ordered data. The mode identifies the most frequent value or values. The range measures the full distance from the minimum to the maximum.

Mean = Σx ÷ n
Range = maximum − minimum
IQR = Q3 − Q1

How to calculate the mean and median

Add every observation and divide by the count to find the arithmetic mean. To find the median, sort the values. An odd-sized data set has one middle observation; an even-sized set uses the mean of its two central observations. Repeated observations stay in the list because each is a separate measurement.

How to identify the mode

Count each distinct value. The value with the largest frequency is the mode. If several repeated values tie for the largest frequency, the set is multimodal. This calculator reports “No mode” when no value repeats, rather than listing every observation as a mode.

Quartiles, IQR and possible outliers

Q1 is the median of the lower half of the ordered data and Q3 is the median of the upper half. For an odd count, this page leaves the overall median out of both halves. Some software uses a different percentile convention, so quartiles can vary slightly between tools even when the mean and median agree.

The interquartile range covers the middle half of the data. Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are flagged as possible outliers. This rule is a screening method, not proof that a value is an error; a legitimate extreme observation may be important.

Which measure should you use?

Use the mean when every observation should contribute and the distribution is reasonably balanced. Prefer the median when a few extreme values would distort the mean, as often happens with house prices or waiting times. Use the mode for the most common size, score or category. Compare range with IQR: range reacts to the two endpoints, whereas IQR focuses on the central half.

Where these statistics are used

Education: a teacher can compare the mean score with the median and look for several modes that suggest clusters of attainment. Retail: the mode can reveal the shoe size or pack size sold most often. Service monitoring: the median gives a stable typical response time when a few cases take much longer. Quality control: range and IQR help track variation in measured dimensions, though formal process control needs methods beyond this summary calculator.

Worked example: why one “average” is not enough

Consider delivery times of 18, 20, 21, 21, 22, 24 and 90 minutes. The mean is 30.86 minutes, while the median and mode are both 21. The 90-minute delivery pulls the mean upward. With Q1 = 20 and Q3 = 24, the IQR is 4 and the upper fence is 30, so 90 is flagged for investigation. It should not be deleted automatically: bad weather or an incorrect timestamp would lead to very different conclusions.

Input and interpretation limits

This tool analyses ungrouped numerical data. It does not apply frequencies supplied as a second column, calculate weighted averages, infer units, or decide whether the data represents a sample or an entire population. Keep all entries in the same unit, and use the weighted-average calculator when values have explicit weights.

Frequently asked questions

Can a data set have more than one mode?

Yes. If multiple values share the highest repeated frequency, each of them is a mode.

What happens when there is an even number of values?

The median is the mean of the two middle values after the data has been sorted.

Are mean and average the same?

Average often refers to the arithmetic mean, although the word can also be used more generally for measures of centre such as the median or mode.

Should repeated numbers be entered more than once?

Yes. Every occurrence is part of the data set and affects the mean, median, mode and frequency counts.

Why can quartiles differ between calculators?

Several accepted conventions interpolate or divide the ordered values differently. This calculator uses the median of each half and excludes the overall median when the count is odd.

Should I remove every value flagged as an outlier?

No. Check how the observation was collected and whether it belongs to the population being studied. Extreme values can be genuine and informative.

Can the range be zero?

Yes. If every observation is identical, the maximum equals the minimum, so both the range and IQR are zero.

← Basic math calculators

← All basic math calculators