Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Calculate the mean, median, and mode of any data set.
These are the three standard "measures of central tendency" -- different ways to describe a typical value in a data set. This tool calculates all three at once, plus the range.
Enter your data set, separated by commas or new lines. All statistics update instantly.
Mean = sum of all values ÷ count of values
Median = the middle value when sorted (average of the two middle values if the count is even)
Mode = the most frequently occurring value(s)
Type or paste your numbers into the box, separated by commas or by new lines. That makes it easy to copy a column straight from a spreadsheet. The results update as you type. Results are displayed to four decimal places, so a mean of 10.166666 appears as 10.1667. If the mode does not exist, the tool shows "None" rather than a number.
Suppose six hypothetical values: 3, 5, 7, 7, 9, 30.
Mean = (3 + 5 + 7 + 7 + 9 + 30) / 6 = 61 / 6 ≈ 10.1667
Median = the average of the two middle values, (7 + 7) / 2 = 7
Mode = 7, because it appears twice and every other value appears once
The single large value, 30, pulls the mean above almost every other number in the list, while the median and mode stay near the cluster around 7. If you were summarizing something like house prices or salaries, where a few very large values are common, the median would usually describe a typical case better than the mean.
The three measures answer slightly different questions, so choosing among them depends on your data.
When the mean is much larger than the median, the data probably has a long tail of high values. When they are close, the data is roughly balanced around the middle.
For how spread out the data is around these centers, follow up with the standard deviation or range and IQR tools on this site.
Then there's no mode -- every value appears exactly once, so none is "most frequent."
Median is less sensitive to outliers -- a few extreme values can pull the mean far from what's "typical," while the median stays anchored to the middle of the sorted data.
Yes. If two or more values tie for the highest frequency, all of them are modes. For 1, 1, 2, 2, 3, the modes are 1 and 2.
With an even count of values, the median is the average of the two middle numbers, which can fall between them.
Use commas or place each number on its own line. Use a period, not a comma, for decimal points.
Neither is always better. Median resists extreme values, while the mean uses every value equally. Compare both, and if they differ a lot, look for outliers or skew.
Reference: NIST Weights and Measures