Quick access

Saved in this browser. Sign in to keep it on all your devices.

Average Calculator: Mean, Median & Mode

Paste a list of numbers to get the average with the working, plus the median, mode, range, and standard deviation. Add weights for a weighted average.

Separate with commas, spaces, or new lines. Use a dot for decimals.

One weight per number: credits, percentages, or how many times each value occurs.

Version 1.1 Updated What's new

Release notes

  1. v1.1 Latest
    • Added an in-depth guide below the tool, written from what the tool actually does.
    • Added mean absolute deviation and a “score needed for a target average” box.

About the Average Calculator

The average calculator finds the mean of any list of numbers and shows the working. It also gives the median, mode, range, sum, standard deviation, and geometric and harmonic means. Add weights to get a weighted average, for example for grades worth different amounts.

How to use it

  1. 1 Type or paste your numbers, separated by commas, spaces, or new lines.
  2. 2 Turn on “Weighted average” if some numbers count more than others, and enter one weight for each number.
  3. 3 Read the mean and the working, plus the median, mode, and spread.
  4. 4 Copy the share link to send the result to someone.

Frequently asked questions

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

Add all the numbers together, then divide by how many numbers there are. For 4, 8, and 9 the sum is 21 and there are 3 numbers, so the average is 21 ÷ 3 = 7.

What is the difference between mean, median, and mode?

The mean is the sum divided by the count. The median is the middle number once the list is sorted (or the average of the two middle numbers). The mode is the number that appears most often. With 1, 2, 2, 3, and 12 the mean is 4, the median is 2, and the mode is 2.

When should I use the median instead of the mean?

Use the median when a few very large or very small values would pull the mean away from what is typical, as with house prices or salaries. One value of 1,000,000 changes the mean a lot but barely moves the median.

How do I calculate a weighted average?

Multiply each number by its weight, add those products, and divide by the total of the weights. Scores of 80 (weight 30%) and 90 (weight 70%) give (80 × 30 + 90 × 70) ÷ 100 = 87.

What is the difference between population and sample standard deviation?

Use population standard deviation when your numbers are the whole group. Use sample standard deviation when they are a sample from a larger group: it divides by one less than the count, which gives a slightly larger, fairer estimate.

Why are the geometric and harmonic means missing?

They only work when every number is greater than zero. The geometric mean suits growth rates, and the harmonic mean suits averages of rates such as speeds over the same distance.

Can I use numbers with thousands separators?

No. A comma separates one number from the next, so 1,000 is read as 1 and 0. Type 1000 instead. Use a dot for decimals, as in 2.5.

The score you need for a target average

Multiply the target by the number of scores you will have, then subtract the scores you already have. With 78, 85 and 90 so far and a target of 85 over four tests, you need 85 × 4 − (78 + 85 + 90) = 340 − 253 = 87 on the last one. If the answer is above the maximum score, the target can no longer be reached with one more test.

Averaging percentages correctly

A plain average of percentages is only right when each percentage is out of the same total. Scoring 80% on a 50-mark test and 60% on a 150-mark test is not 70% overall. Add the marks instead: 40 + 90 = 130 out of 200, which is 65%. Use the weighted average with the totals (50 and 150) as weights and you get the same answer.

Average speed is not the average of speeds

Drive 60 km to a town at 60 km/h and back at 40 km/h, and your average speed is not 50. The trip out takes 1 hour and the trip back 1.5 hours, so 120 km in 2.5 hours is 48 km/h. For equal distances at different speeds, the harmonic mean gives this directly. For equal times at different speeds, the ordinary mean is correct.

Mean absolute deviation, step by step

Mean absolute deviation (MAD) tells you how far numbers sit from their mean on average. For 2, 4, 6 and 8 the mean is 5. The distances from 5 are 3, 1, 1 and 3, which add up to 8, so the MAD is 8 ÷ 4 = 2. It is easier to explain than standard deviation, which squares the distances first and so gives more weight to values far from the mean.

Averaging times such as lap or call durations

Turn every time into seconds first, average those, then turn the result back. For laps of 1:32, 1:28 and 1:35, that is 92, 88 and 95 seconds. The mean is 275 ÷ 3 = 91.67 seconds, or 1:31.67. Averaging minutes and seconds as decimals (1.32, 1.28, 1.35) gives a wrong answer, because a minute has 60 seconds, not 100.