Get the Chrome extension
Free · No sign-up · Nothing is uploaded

Average Calculator: Mean, Median, Mode and Range

Paste a list of numbers to get the mean, median, mode, range, sum and geometric mean at once, with the working shown.

Calculate

Decimals

Result

Private by design. Everything runs in your browser and is never uploaded.

0 numbers read0 skipped0 distinct values

The basics

What does an average calculator do?

An average calculator finds the central value of a list of numbers. The mean adds every value and divides by the count, the median is the middle value once the list is sorted, and the mode is the value that appears most often. For 10, 2, 38, 23, 38, 23 and 21 the mean is about 22.14.

Most people who say average mean the arithmetic mean, but the median and the mode are averages too, and each one answers a slightly different question. This calculator shows all of them at once, plus the range, the sum, the count, the smallest and largest value and the geometric mean, so you can see which one fits your data. Results update as you type, and the working is written out underneath.

Worked examples (rounded to 2 decimals)
Data set Mean Median Mode Range
3, 5, 7 5 5 none 4
2, 4, 4, 9 4.75 4 4 7
1, 1, 2, 3, 3 2 2 1 and 3 2
10, 2, 38, 23, 38, 23, 21 22.14 23 38 and 23 36
30, 32, 35, 38, 250 (salaries in thousands) 77 35 none 220
How it works

How to use the mean, median, mode and range calculator

Four steps, and the first screen already shows an answer for the sample data.

01

Paste your numbers

Type or paste values separated by commas, spaces, tabs or new lines. A column copied from a spreadsheet works as it is. Use a dot for decimals.

02

Read the results

The mean is shown large, with the median, every mode and its count, the range, sum, count, smallest, largest and geometric mean below it.

03

Check the working

Open Show the working for each step: the sum and division, the sorted list and middle position, the frequency count and the range subtraction.

04

Copy or share

Copy all results as text, download them as a .txt file, or copy a link that reopens the calculator with your numbers already filled in.

Formulas

Average formulas with a worked example

Each formula applied to the data set 10, 2, 38, 23, 38, 23, 21 (n = 7). Sorted, it reads 2, 10, 21, 23, 23, 38, 38.

How each value is calculated
Measure Formula Worked example Result
Mean Sum of values ÷ count 155 ÷ 7 22.142857142857
Median (odd count) Middle value of the sorted list, position (n + 1) ÷ 2 Position 4 of 7 23
Median (even count) Average of the two middle values For 2, 4, 6, 10: (4 + 6) ÷ 2 5
Mode Value or values with the highest count 23 and 38 each appear twice 23 and 38
Range Largest value – smallest value 38 – 2 36
Geometric mean nth root of the product of n values (all above 0) 7th root of 10 × 2 × 38 × 23 × 38 × 23 × 21 16.412764443111
Weighted average Sum of (value × weight) ÷ sum of weights Grades 90, 75, 82 with weights 20, 30, 50: 8150 ÷ 100 81.5
Compare

Mean vs median vs mode: which average should you use?

When the data is roughly symmetric the three are close together. When it is skewed or has outliers, they split apart, and the choice matters.

Choosing an average
Average What it tells you Works best for Weak spot
Mean The fair share if the total were split evenly Test scores, measurements, data without extreme values Pulled toward outliers and long tails
Median The middle value: half are below, half above Incomes, house prices, response times, skewed data Ignores how far the other values are from the middle
Mode The most common value Shoe sizes, survey answers, repeated whole numbers Can be missing or have several values
Geometric mean The typical rate when values multiply together Growth rates, returns, ratios Needs every value above 0
Weighted average A mean where some values count more Course grades, GPA, prices bought in different amounts Only as good as the weights you choose
Range How spread out the values are A quick check of spread Set by just two values, so one outlier changes it
Use cases

What people use an average calculator for

Test scores and homework

Find the class mean, the median score and the most common mark, and check a hand calculation against the steps shown.

Weighted course grades

Enter each grade with its share of the course, such as 20% homework and 50% final exam, to get the weighted average.

Spending and prices

Average a month of grocery bills or compare typical prices. To total and group your costs first, the expense calculator keeps a running list.

Salaries and house prices

These sets usually have a few very high values, so compare the mean with the median before you call either one typical.

Growth rates

Yearly growth factors of 1.10, 1.20 and 0.90 have a geometric mean of 1.0591, about 5.91% growth a year. The ordinary mean would overstate it.

Lab readings and sports stats

Average repeated measurements or points per game, then round to a sensible precision with the significant figures calculator.

Good to know

Things worth knowing about averages

A few details explain most surprises. To keep a data set for later, paste it into the online notepad, and browse the other free online calculators for related sums.

  • Outliers move the mean, not the median

    In 30, 32, 35, 38 and 250 the mean is 77 but the median is 35. The calculator flags a large gap between the two.

  • Even counts have no single middle

    With an even number of values the median is the average of the two middle values, so it may not appear in your list.

  • There can be several modes or none

    Every tied value is listed with its count. If all values appear equally often, there is no mode.

  • Geometric mean is never above the mean

    For positive numbers it is always less than or equal to the arithmetic mean, and equal only when all values are the same.

  • Equal weights give the plain mean

    A weighted average with every weight the same returns the ordinary mean, so weights only matter when they differ.

  • Rounding happens at the end

    Results are calculated at full precision and rounded only for display, to 2, 4 or 12 decimals, so the rounding choice does not change the math.

Limits

What this average calculator does not do

No spread statistics beyond range

It does not compute standard deviation, variance, quartiles or confidence intervals. The range is the only measure of spread shown.

Commas always separate values

A number written as 1,5 is read as 1 and 5, and 1,000 as 1 and 0. Use a dot for decimals and leave out thousands separators. If your list has other text mixed in, the paragraph to single line converter can tidy it first.

Large input is capped

The calculator reads the first 200,000 characters you enter. The working and the frequency table list the first 60 entries, while the results use every number read. Values are rounded to at most 12 decimals.

Sources

Where the definitions come from

The formulas and definitions on this page follow these references, last checked on November 9, 2026. Times and durations need converting to one unit before averaging; the time calculator helps add them up.

FAQ

Average calculator FAQ

Short answers to what people ask most.

What is an average calculator?

An average calculator takes a list of numbers and returns its central value. This one shows the mean, median, mode, range, sum, count, smallest and largest value and the geometric mean together, and it can also work out a weighted average.

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

Add all the numbers, then divide the total by how many numbers there are. For 10, 2, 38, 23, 38, 23 and 21 the sum is 155 and the count is 7, so the average is 155 divided by 7, about 22.14.

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 list is sorted, and the mode is the value that appears most often. All three describe a typical value, but they react differently to extreme values.

How do I find the median of an even number of values?

Sort the values and take the two in the middle, then average them. For 2, 4, 6 and 10 the middle values are 4 and 6, so the median is 5.

What if two or more numbers tie for the mode?

Then the data set has more than one mode, and this calculator lists all of them with the count. In 10, 2, 38, 23, 38, 23, 21 both 38 and 23 appear twice, so both are modes.

Can a data set have no mode?

Yes. If every value appears only once, or every value appears the same number of times, no value is more common than the others, and the calculator reports no mode.

How do I calculate a weighted average?

Multiply each value by its weight, add the products, and divide by the sum of the weights. Choose Weighted average and type one value and one weight per line, for example a grade and its share of the course.

What is the geometric mean used for?

The geometric mean is the nth root of the product of n values. It suits growth rates and ratios, such as average yearly growth, and it is only defined here when every value is above 0.

Why is my mean so different from my median?

A few values far above or below the rest pull the mean toward them, while the median stays in the middle. Incomes and house prices often look like this, so the median can describe a typical value better.

How should I enter my numbers?

Separate the numbers with commas, spaces, tabs or new lines, or paste a column from a spreadsheet. Use a dot for decimals, because a comma is read as a separator, and anything that is not a number is skipped and listed.

Is my data uploaded or stored?

No. The calculation runs in your browser and nothing is sent to a server. A share link carries the numbers inside the link itself, so only people you send it to can see them.