Skip to content
QueenNexa

Free tool

Average Calculator: Mean, Median, Mode & Range

Find the average of a list of numbers: mean, median, mode, range, sum and count, with the working shown. Exact results with no floating-point error.

Up to 1,000 values. Decimals and negative numbers are fine.

Mean (average)
–
Median
–
Mode
–
Range
–
Sum
–
Count
–
Smallest and largest
–

The working

    Assumptions and limits

    Every figure comes from the numbers you enter. Where a rule of thumb is used, it is labeled as one.

    • Mean = sum ÷ count. Median = the middle value of the sorted list, or the mean of the two middle values when the count is even.
    • Mode = the value or values that appear most often. If no value repeats, there is no mode.
    • Range = largest value − smallest value.
    • All arithmetic uses exact fractions, so decimals such as 0.1 carry no floating-point error. A value that does not end within six decimals is shown rounded and marked with ≈.
    • Every value counts equally. This page does not weight values, remove outliers or skip blanks: an entry that is not a number is reported as an error.

    Runs entirely in your browser. Nothing you type or upload is sent to our servers.

    How the average, median, mode and range are found

    People say "average" for several different summaries. The calculator reports the four most common. The mean is the balance point of the list. The median is the middle of the sorted list. The mode is the most frequent value. The range is the distance between the extremes. Reading them together tells you more than any one alone: when the mean and median differ a lot, a few unusual values are pulling the mean.

    Sorting is the first step for the median and the range, so the working section lists the sorted values first, then walks through each statistic with the numbers substituted in.

    Worked example 1: five numbers

    Data: 3, 5, 5, 9, 1.5.

    1. Sorted: 1.5, 3, 5, 5, 9.
    2. Mean = (1.5 + 3 + 5 + 5 + 9) ÷ 5 = 23.5 ÷ 5 = 4.7.
    3. Median: with 5 values, the middle one is the third, which is 5.
    4. Mode: 5 appears twice and every other value once, so the mode is 5.
    5. Range = 9 − 1.5 = 7.5.

    Worked example 2: an even count with an outlier

    Data: 1, 2, 3, 10.

    1. Mean = (1 + 2 + 3 + 10) ÷ 4 = 16 ÷ 4 = 4.
    2. Median: the two middle values are 2 and 3, and (2 + 3) ÷ 2 = 2.5.
    3. Mode: no value repeats, so there is no mode.
    4. Range = 10 − 1 = 9.

    Three of the four values are 3 or less, yet the mean is 4 because of the 10. That gap between mean and median is the signal to look closer.

    Choosing between them

    • Use the mean when every value matters and the list has no extreme entries, such as the daily sales of a steady shop.
    • Use the median when a few values could be far from the rest.
    • Use the mode for the most common value in a list of sizes, scores or counts.

    Related calculators

    To measure how far the values spread around the mean, use the Standard Deviation Calculator. Comparing two averages as a change over time? The Percent Change Calculator gives the percent difference, and the GPA Calculator handles credit-weighted grade averages.

    Frequently asked questions

    How do I calculate the average of a list of numbers?

    Add the numbers and divide the sum by how many there are. For 3, 5, 5, 9 and 1.5 the sum is 23.5 and there are 5 values, so the average is 23.5 ÷ 5 = 4.7. This page calls that figure the mean, and it also reports the median, mode and range so you can see the list from several sides.

    What is the difference between mean, median and mode?

    The mean is the sum divided by the count. The median is the middle value after sorting, or the mean of the two middle values when the count is even. The mode is the value that appears most often. For 1, 2, 3, 10 the mean is 4, the median is 2.5, and there is no mode.

    What if two values tie for the most common?

    Then the list has more than one mode, and the calculator shows all of them. In 1, 1, 2, 2, 3 both 1 and 2 appear twice, so the modes are 1 and 2. If every value appears exactly once, there is no mode, and the result says so instead of showing a number.

    Why is the median different from the mean?

    The mean uses every value, so one very large or very small number pulls it. The median depends only on the order. In 1, 2, 3, 10 the value 10 lifts the mean to 4, but the median stays at 2.5. When a list has outliers, comparing the two shows how much they matter.

    How is the range calculated?

    Subtract the smallest value from the largest. For 3, 5, 5, 9 and 1.5 the largest is 9 and the smallest is 1.5, so the range is 9 − 1.5 = 7.5. The range uses only two values, so it says nothing about how the numbers in between are spread; the standard deviation does that.

    Can I use decimals, negatives or a pasted column?

    Yes. Enter up to 1,000 numbers separated by commas, spaces, semicolons or line breaks. Decimals and negative numbers are fine, and commas always separate numbers, so write 1250 rather than 1,250. The math is exact, so 0.1, 0.2 and 0.3 average to exactly 0.2 with no floating-point error.

    Does this calculate a weighted average?

    No. Every value counts equally here. A weighted average multiplies each value by its weight, adds the products, and divides by the total weight, for example (90 × 3 + 80 × 1) ÷ 4 = 87.5. For course grades that carry different weights, use a grade calculator built for that.

    Is anything I type saved or sent anywhere?

    No. The calculation runs in your browser, and nothing you enter is stored or sent to our servers. Only a count that the tool was used is recorded, without any numbers from the form.

    Link to this tool

    Found it useful? Copy a link for your page, newsletter or documentation.

    Get new tools and guides by email

    Optional. The tool above works without signing up.

    One email every Tuesday. Free, and you can unsubscribe in one click.

    More free tools

    Browse all everyday calculators or the full list of free tools.