Mean / Median / Mode Calculator

Summarise a data set using mean, median, modes, range, and count.

Enter your values

Change any field. The result is recalculated on this device.

Formula, example and assumptions
Mean4.4

Separate values with commas, spaces or new lines.

Your result

Local calculation
Mean4.4

Mean is the arithmetic average, median is the middle after sorting, and mode identifies the most frequent values. Range measures the gap between the smallest and largest.

Numbers
2, 4, 4, 5, 7
See how this is calculated

Result breakdown

Median
4
Mode
4
Range
5
Check the inputs and method

These are your current inputs, not the worked example further down the page.

Numbers
2, 4, 4, 5, 7

Method

Mean = Σx/n. Sort ascending: median is the middle value for odd n or the average of the two middle values for even n. Mode contains the value(s) with the highest repeated frequency. Range = maximum − minimum.

Read the worked example and assumptions

How this calculation works

Compare three meanings of “typical”: the mean balances the total, the median marks the ordered middle, and the mode identifies the most frequent value. The range adds a simple measure of spread. Their disagreement can reveal skew or repeated values that one average would hide.

Mean = Σx/n. Sort ascending: median is the middle value for odd n or the average of the two middle values for even n. Mode contains the value(s) with the highest repeated frequency. Range = maximum − minimum.

Worked example

This example uses illustrative inputs. Your current result is shown above.

For 2, 4, 4, 5 and 7, sum = 22 and mean = 22/5 = 4.4. The middle value is 4; 4 occurs twice, so median and mode are both 4. Range = 7 − 2 = 5.

Assumptions and limits

  • Each entered value counts once, including repetitions and zeros.
  • When every value occurs only once, this tool reports “No mode”; tied repeated frequencies can produce several modes.
  • The data are numerical and ungrouped. Class intervals and frequency-table weights must not be entered as if they were raw observations.

Questions people ask

Why can the mean differ so much from the median?

A very large or small value changes the sum and therefore the mean. The median depends on order rather than the distance to an extreme value.

Can there be more than one mode?

Yes. If multiple repeated values tie for the largest frequency, all are listed. A mode is not necessarily unique.

Related calculators