SolutionsCase StudiesAI ToolsResourcesAboutContact
Get Your Free AI Automation Audit Book a Free 30-Minute Strategy Call

Mean, Median, Mode & Range Calculator

Paste a list of numbers to get the mean, median, mode and range, with the data sorted and each answer worked out step by step. It tells you when there is no mode or more than one.

Free, no signupNo daily limitRuns in your browser - nothing you enter is uploadedUpdated

Separate with commas, spaces or new lines. Negative numbers and decimals are fine.

-Mean
-Median
-Mode
-Range
-Count
-Sum
-Minimum
-Maximum

Sorted data

The middle value (or the middle two) is highlighted.

Working

    Worked example: 1, 2, 2, 3, 4

    1. Mean: add them up and divide by the count(1 + 2 + 2 + 3 + 4) ÷ 5 = 12 ÷ 5 = 2.4
    2. Median: sort, then take the middle value (the 3rd of 5)1, 2, [2], 3, 4 → 2
    3. Mode: the value that appears most often2 appears twice, every other value once → 2
    4. Range: largest minus smallest4 − 1 = 3

    With an even count, say 1, 2, 3, 4, the median is the average of the two middle values: (2 + 3) ÷ 2 = 2.5.

    Which average should you use?

    Mean uses every value, which makes it the best summary when the data is fairly symmetric - test scores, heights, daily temperatures.

    Median ignores how extreme the extremes are. Use it when a few values are far from the rest: house prices, salaries, delivery times. In 20, 22, 25, 27, 400 the mean is 98.8 but the median, 25, describes a typical value far better.

    Mode is the only one that works for categories (the most common shoe size, the most chosen answer). A data set can have one mode, several, or none - if every value appears equally often, no value is "most common", and this calculator says there is no mode rather than listing everything.

    What this calculator does not do

    • Raw data only: it does not accept frequency tables or grouped data.
    • Values are compared exactly, so 2 and 2.0 are the same value but 2 and 2.0001 are not.
    • Results are rounded to six decimal places for display.

    Frequently asked questions

    What is the difference between mean, median and mode?
    The mean is the sum divided by the count. The median is the middle value once the numbers are sorted. The mode is the value that appears most often. For 1, 2, 2, 3, 4 the mean is 2.4, the median is 2 and the mode is 2.
    How do I find the median of an even number of values?
    Sort the values and take the average of the two middle ones. For 1, 2, 3, 4 the middle values are 2 and 3, so the median is 2.5.
    What if there is no mode?
    If every value appears the same number of times - for example each appears once - no value is more common than the others, so there is no mode. The calculator says so instead of listing every value.
    Can there be more than one mode?
    Yes. If two or more values tie for the most appearances, they are all modes. 1, 1, 2, 2, 3 has two modes, 1 and 2.
    What is the range?
    The largest value minus the smallest. It is a quick measure of spread; the standard deviation calculator gives a fuller one.
    When is the median better than the mean?
    When the data has extreme values. One very large salary pulls the mean of a group's salaries up a lot but barely moves the median.