=Calculator24

Math calculator

Mean, Median, Mode and Range Calculator

Calculate central tendency, range, quartiles and a sorted frequency table from a numeric data set.

Inputs

Your numbers

Live

Instant result. Updates while you type.

Your result

Updated now

Enter your numbers.

Complete guide

Mean, median, mode and range calculator with quartiles

Paste up to 1,000 numbers separated by commas, spaces or lines. Calculator24 sorts the data and returns mean, median, mode, range, quartiles, IQR, sum and frequencies.

Editorial checkDefinitions checked against the NIST/SEMATECH Engineering Statistics Handbook; multimodal and no-mode cases explicitly tested.Updated September 10, 2026
Center and spread answer different questionsMean uses every value, median uses sorted position, mode uses frequency and range uses only the two extremes.1Sorted data2Center measures3Spread measures
Center and spread answer different questionsMean uses every value, median uses sorted position, mode uses frequency and range uses only the two extremes.

Four descriptive statistics at once

Mean, median and mode describe different kinds of center. Range describes total spread. Reporting them together makes unusual values and repeated values easier to notice.

Mean and median formulas

The arithmetic mean divides the sum by the count. The median sorts values; it is the middle observation for an odd count and the average of the two middle observations for an even count.

mean=Σx÷nrange=max−minIQR=Q3−Q1

Mode and multiple modes

The mode is the most frequent value and need not be unique. The result reports all tied highest-frequency values. If every value appears equally often, it reports no mode rather than labeling every value.

Worked seven-value example

Sorting 10, 2, 38, 23, 38, 23, 21 gives 2, 10, 21, 23, 23, 38, 38. The middle is 23 and the two repeated high-frequency values are 23 and 38.

Outliers affect measures differently

A very large observation pulls the mean and range upward. The median may remain stable because it depends on order rather than distance from the other values.

Quartile convention and data quality

This page computes Q1 and Q3 as medians of the lower and upper halves, excluding the overall median for odd-sized sets. Verify missing values, units and the required percentile convention before formal analysis.

Statistic definitions

No single measure describes every feature of a data set.
MeasureUsesSensitive to extremes
MeanEvery numeric valueYes
MedianSorted middleUsually less
ModeHighest frequencyNo
RangeMinimum and maximumYes
IQRMiddle 50%Usually less

Frequently asked questions

Can a data set have two modes?

Yes. All values tied at the highest frequency are reported.

What if every value occurs once?

The result says there is no mode.

How is an even-count median found?

Average the two middle values after sorting.

Why can mean and median differ?

Skew and extreme values affect the mean more strongly.

How are quartiles calculated?

The tool uses medians of the lower and upper halves.

How many values can I enter?

Up to 1,000 finite numbers.

What to keep in mind

These are descriptive statistics for the entered values. Quartiles use the median-of-halves method and can differ from software that interpolates percentiles.

Results display up to 8 decimal places; exported numbers preserve calculation precision. This is a calculation summary, not an official certificate.

Sources and references

Keep exploring