The Calc Guide › Calculator

Mean Calculator

A mean calculator gives the whole center family for a list of numbers: 4, 8, 15, 16, 23 and 42 have a mean of 18, a median of 15.5, no mode, a geometric mean of 13.9655 and a range of 38. Enter any list and the tool returns the mean, median, mode, geometric mean, range, count and sum, with the sorted list shown. Checked November 2026.

Last updated: November 25, 2026

Mean, median, mode and range from one list, with the sorted list shown

Separate numbers with commas, spaces or line breaks; a column pasted from a spreadsheet works as it is. Anything that is not a number is ignored, and the tool says how much was ignored. One list gives the whole family at once: mean, median, mode, geometric mean and range.

How this is worked out

The mean adds the values and divides by the count; the median reads the middle of the sorted list.

The mode is the value that occurs most often.

Mean-
Median-
Mode-
Geometric mean-
Range-
Count-
Sum-
Smallest-
Largest-
Sorted list-

Next: measure the spread with the Standard Deviation Calculator

Free. No sign-up. Calculated in your browser; nothing is sent to our servers.

What this calculator does

Mean, median and mode are the three standard measures of center for a data set, and they are usually wanted together, because each answers a slightly different question and their disagreements are the interesting part. This mean calculator takes one list of numbers and returns the whole family in one pass: the mean, the median, the mode (every mode, when values tie, and “no mode” stated plainly when none repeats), the geometric mean, and the range, with the count, the sum, the smallest and largest values, and the sorted list itself, because the median’s whole method is that sorted list and you should be able to see it. Lists paste in several shapes: commas, spaces or line breaks, including a spreadsheet column of plain numbers (see how this tool reads your numbers below). Anything that is not a number is ignored and counted out loud, and an empty list gets a sentence, not a broken number. For weighted averages and averages of percentages, which are different jobs, the Average Calculator is the neighbor tool and is linked below.

Worked example: 4, 8, 15, 16, 23, 42

The tool above opens on the set 4, 8, 15, 16, 23, 42. The six values add to 108, so the mean is 108 / 6 = 18. Sorted, the list is already in order; an even count has no single middle value, so the median is the average of the two middle ones, 15 and 16, which is 15.5. No value repeats, so the set has no mode, and the tool says so rather than inventing one. The geometric mean, the sixth root of the product 7,418,880, is 13.9655, and the range is 42 − 4 = 38. Three centers, three different numbers (18, 15.5 and 13.9655), each correct: the mean uses every value, the median uses only position, and the mode has nothing to say about this set at all.

What one low score does to each measure

Every row below reproduces exactly in the tool: type either list and the figures match the row. The second list is the first with one very low score added, and the columns show which measures move and which do not.

Scroll sideways to see all columns →

Data set Mean Median Mode Range
Test scores: 72, 85, 85, 90, 96 85.6 85 85 24
The same scores plus a 20: 20, 72, 85, 85, 90, 96 74.6667 85 85 76

One score of 20 pulls the mean down by about 11 points, from 85.6 to 74.6667, and moves the median and the mode not at all, because both depend on position and frequency rather than on how extreme any single value is. That contrast is the main point of the table. NIST’s handbook notes that for data with extreme values in the tails, the median generally gives a better estimate of location than the mean does; the Census Bureau, for example, reports median household income (the midpoint, with half of households above it and half below), and the National Association of Realtors reports median existing-home prices.

How the measures of center work

Mean = sum / count; Median = the middle value of the sorted list; Mode = the most frequent value; Geometric mean = the nth root of the product

The mean is the balance point: every value contributes its full size, which makes it the natural summary of symmetric data and the vulnerable one when a value is extreme. The median is the positional middle: sort the list, and take the middle value, or the average of the two middle values when the count is even. The mode is the frequency winner: the value that occurs most often.

  • Ties and no mode: if two values share the highest frequency, both are modes (the set is called bimodal; more than two, multimodal). If every value occurs once, there is no mode, and the honest output is to say so. This tool lists every mode and states the no-mode case in words. Conventions differ: some sources reserve multimodal for four or more modes and call three modes trimodal, and some treat a tie for most frequent as no mode at all. This tool lists every value tied at the top frequency whenever that frequency is above one, so 1, 1, 2, 2 returns modes 1 and 2.
  • The geometric mean is the multiplicative center: where the arithmetic mean adds and divides, the geometric mean multiplies and takes the nth root. It is an appropriate center for growth factors and ratios, and it is always the smaller of the two means on the same positive data unless every value is equal. It needs every value above zero: a zero or a negative in the list leaves it undefined, and the tool says that in words while the other results stand.
  • The range is the crudest spread: largest minus smallest. It is quick and it is fragile, since two values alone decide it, which is why the table above shows it more than tripling, from 24 to 76, on one added score. For a serious spread measure, the Standard Deviation Calculator is the next step and is linked below.

How this tool reads your numbers

Separators: numbers are split on commas, spaces, semicolons and line breaks, so a thousands separator splits a number apart. 1,000 is read as the two numbers 1 and 0, and a decimal comma such as 3,5 is read as 3 and 5. Type 1000 and 3.5 instead. Entries that are not numbers, such as $5 or 50%, are ignored and counted, and scientific notation such as 1e3 is read as 1,000.

Sorted list: the sorted list shows the first 50 values followed by the total count; the results always use every value you entered.

Very large numbers: values close to the largest number a browser can hold, about 1.8 × 10^308, make the sum, mean and median overflow, and they stop being usable numbers.

Sample or population: the tool does not ask which your list is, because the mean, median, mode and range are worked out the same way for a sample and for a whole population: the mean is the sum divided by the count of the numbers you enter.

Sources and method

The mean, median and mode follow the NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5.1 (Measures of Location), the reference for this page’s method; the geometric mean and the range are standard definitions, applied as described below. The figures on this page were computed from these definitions and checked by hand. The conventions are stated rather than hidden: input is split on commas, spaces, semicolons and line breaks, and a token counts only when the whole token is a number; modes are compared on the values as entered, every value tied at the top frequency is listed, and a top frequency of one means no mode; the median of an even count is the average of the two middle values; the geometric mean is computed from the values’ logarithms so long lists do not overflow, and is reported as not defined when any value is zero or negative. Results are rounded for display to six significant figures. Figures checked November 2026.

Related calculators

The Average Calculator is the everyday sibling: the plain average plus weighted averages and an average-of-percentages mode, for the numbers you average outside statistics class. The spread of the same list belongs to the Standard Deviation Calculator, which links back here for the center of the same data. Single fractions and ratios are worked by the Fraction Calculator. The factor counterpart of the averaging tools is the GCF calculator, which finds the greatest common factor of two numbers. For the likelihood of an outcome rather than its average, the probability calculator works the odds.

Change log

November 15, 2026: said that thousands separators and decimal commas split a number apart and added the section on how this tool reads your numbers (separators, the 50 value sorted list, very large numbers, sample or population); corrected “tripling” to more than tripling and named the three centers in the worked example; added NIST, Census Bureau and National Association of Realtors support to the median examples; added the 10% rise and fall numbers; added mode conventions; removed two unsupported generalizations from the FAQ; changed “the right center” to “an appropriate center”; reworded the NIST sentence; fixed the Standard Deviation Calculator sentence.

Frequently asked questions

How do you find the mean of a set of numbers?

Add up all the values and divide by the count. The set 4, 8, 15, 16, 23, 42 adds to 108, and there are 6 of them, so the mean is 108 / 6 = 18. The mean is what everyday language calls the average, and on this site the Average Calculator is the same calculation aimed at everyday lists, while this page carries the mean as one member of the statistics family, next to the median and the mode.

How do you find the median when there is an even number of values?

Sort the list and average the two middle values. With six values, the middle two are the third and fourth: for 4, 8, 15, 16, 23, 42 they are 15 and 16, and (15 + 16) / 2 = 15.5. With an odd count there is a single middle value and no averaging is needed: it is the value with the same number of values on each side of it in the sorted list. The tool prints the sorted list so the middle can be seen, not just trusted.

Can a data set have more than one mode, or no mode at all?

Both are possible. When two values tie for most frequent, both are modes: 1, 1, 2, 3, 3 has modes 1 and 3, each occurring twice. When every value occurs exactly once, as in this page’s opening set, there is no mode, because no value is more frequent than any other. A set where one value repeats while others do not has that value as its single mode. The tool lists all modes and states the no-mode case in words, either way.

What is the geometric mean, and when is it used?

The geometric mean multiplies the values and takes the nth root of the product: for the opening set, the sixth root of 7,418,880, which is 13.9655. It is an appropriate center when values combine by multiplying rather than adding: growth rates, ratios and index changes. A 10% rise followed by a 10% fall leaves 99% of the starting value (1.1 × 0.9 = 0.99), so the average change per step is a fall of about 0.5% (the geometric mean of 1.1 and 0.9 is 0.995), not zero, which the arithmetic mean of the two factors, 1.0, misses. It requires every value to be above zero; with a zero or a negative present, this tool reports it as not defined.

Mean or median: which one should I report?

Report the median when the data is skewed or contains extremes you do not want steering the summary: incomes, house prices, and any list with outliers, like this page’s score table, where one 20 dragged the mean from 85.6 to 74.6667 while the median stayed at 85. Report the mean when the data is roughly symmetric and every value should count. When the two disagree sharply, that disagreement is itself information about the data’s shape, and reporting both is the honest option.

What is the range of a data set?

The largest value minus the smallest. The opening set runs from 4 to 42, so its range is 38; the test scores run from 72 to 96, a range of 24, until one score of 20 stretches it to 76. The range is the simplest measure of spread and the least stable, because exactly two values decide it. It is a first glance, not a conclusion: the standard deviation, which uses every value, is the spread measure to quote when the number matters.

Embed this calculator

Put this calculator on your own site or blog, free, with this snippet:

Free for any site while the attribution link under the calculator stays in place. More calculators and WordPress instructions.

Educational tool only. Results are estimates based on the numbers you enter and the assumptions explained on this page, not financial advice.