Mean, Median & Mode Calculator

Paste a list of numbers to get the mean, median, mode, range, count, and sum — the core measures of central tendency.

Inputs

Paste or type numbers separated by commas, spaces, or new lines.

Result

Loading calculator…

How to use this calculator

  • Paste or type your numbers, separated by commas, spaces, or new lines.
  • Read the mean, median, and mode, plus the count, sum, and range.
  • Compare mean and median: a big gap signals a skewed dataset or outliers.
  • Note whether there is one mode, multiple modes, or none.

About this calculator

The mean, median, and mode are the three classic measures of central tendency — different ways of describing the "typical" value in a dataset. The mean is the arithmetic average: add all the values and divide by how many there are. The median is the middle value when the data is sorted (or the average of the two middle values for an even count); it is unaffected by extreme outliers, which makes it a better summary for skewed data like incomes or house prices. The mode is the value that appears most often; a dataset can have one mode, several, or none. This calculator accepts a pasted list of numbers separated by commas, spaces, or line breaks, and also reports the count, sum, and range so you can describe a dataset at a glance.

How it works — the formula

Mean = Σxᵢ ÷ n Median = middle of sorted data (avg of two middles if n even) Mode = value(s) with the highest frequency Range = max − min

Each measure summarizes the center differently: the mean balances magnitudes, the median balances counts, and the mode reflects frequency.

Worked examples

Example 1
2, 4, 4, 4, 5, 5, 7, 9
Inputs:
data=2,4,4,4,5,5,7,9
Output:
mean 5, median 4.5, mode 4, range 7
Example 2
4, 8, 15, 16, 23, 42
Inputs:
data=4,8,15,16,23,42
Output:
mean 18, median 15.5, no mode
Example 3
10, 10, 20, 30
Inputs:
data=10,10,20,30
Output:
mean 17.5, median 15, mode 10

Limitations

  • Mode reporting requires at least one repeated value.
  • Mean and range are sensitive to outliers; prefer median for skewed data.
  • Treats all entries as a single sample; does not group or weight values.

Descriptive statistics only — they summarize the data entered, not a wider population.

Frequently asked

What is the difference between mean, median, and mode?+
The mean is the average (sum ÷ count). The median is the middle value of the sorted data. The mode is the most frequent value. They can differ a lot: for skewed data the mean is pulled toward the tail while the median stays near the bulk of the values.
When should I use the median instead of the mean?+
Use the median when the data is skewed or has outliers — incomes, home prices, response times. Because the median only depends on the middle of the ordered data, a few extreme values do not distort it the way they distort the mean.
Can a dataset have more than one mode?+
Yes. If two or more values tie for the highest frequency, the dataset is multimodal and all of them are modes. If every value occurs exactly once, there is no mode. This tool lists all modes when there is a tie.
How is the median found for an even number of values?+
Sort the values and average the two middle ones. For example, the median of 4, 8, 15, 16 is (8 + 15) ÷ 2 = 11.5. For an odd count, the median is simply the single middle value.
What is the range?+
The range is the difference between the largest and smallest values — a simple measure of spread. It is easy to compute but, like the mean, sensitive to outliers, since it depends entirely on the two extreme values.
Does the order I enter numbers matter?+
No. The calculator sorts the values internally for the median and counts frequencies for the mode, so you can paste data in any order, with commas, spaces, or line breaks as separators.

Related calculators

More tools you might like

Hand-picked tools that pair well with this one — same audience, same intent.