Let’s work it out.

The answer updates as you type.

What do you want to work out?
Updates as you type
MATH · FREE CALCULATOR

Average Calculator: Mean, Median, Mode & Weighted Average

Use this free average calculator to find the mean of any list of numbers, along with the median, mode, range, and standard deviation, and a dot plot that shows how the numbers are spread. Switch modes to work out a weighted average, such as a course grade, or the score you need next to reach a target average.

01 / GET STARTED

How to use this calculator

  1. Choose “Average”, “Weighted average”, or “Score needed”.
  2. Type or paste your numbers, separated by commas, spaces, or new lines. For a weighted average, put a value and its weight on each line, such as 85, 30.
  3. The answer, the working, and a short explanation update as you type.
02 / THE WORKING

How the calculation works

Average (mean) = sum of the values ÷ number of values. Weighted average = sum of (value × weight) ÷ sum of the weights.

The mean gives every number equal weight, so one very large or small value can pull it away from the typical value. The median, the middle value when the numbers are sorted, is not affected by outliers, which is why the calculator shows both and explains the difference.

A QUICK EXAMPLE

Average of 12, 18, 24, and 30

(12 + 18 + 24 + 30) ÷ 4 = 84 ÷ 4 = 21

The four values add up to 84. Dividing 84 by the four entries gives an average of 21. The median is also 21, halfway between the two middle values, 18 and 24.

03 / THREE AVERAGES

Mean, median, and mode: which average to use

AverageHow to find itBest for
MeanAdd the values, then divide by how many there areValues without extreme outliers, such as test scores
MedianSort the values and take the middle one (or the mean of the two middle ones)Skewed data, such as house prices or incomes
ModeThe value that appears most oftenThe most common choice, such as a shoe size

For 2, 3, 3, 4, and 50, the mean is 12.4, but the median and mode are both 3. The single value of 50 pulls the mean up, so the median better describes a typical value.

04 / WEIGHTED AVERAGE

How to calculate a weighted average

When some values count more than others, multiply each value by its weight, add the results, and divide by the total of the weights. With scores of 85, 92, and 78 weighted 30, 50, and 20:

(85 × 30 + 92 × 50 + 78 × 20) ÷ (30 + 50 + 20) = 8,710 ÷ 100 = 87.1

The simple average of the three scores is 85. The weighted average is higher because the best score, 92, carries half of the weight. Weights do not have to add up to 100: credits, hours, or quantities work the same way.

05 / TARGET AVERAGE

What score do I need to reach my target average?

Multiply your target average by the total number of scores, including the ones still to come, then subtract the points you already have. With scores of 82, 90, and 76 and a target of 85 after one more test:

85 × 4 − (82 + 90 + 76) = 340 − 248 = 92

You need 92 on the next test. If several scores are still to come, divide what is left by how many there are. Set the highest possible score under More options, and the calculator tells you when a target is out of reach.

06 / SPREAD

Range and standard deviation

The range is the highest value minus the lowest. The standard deviation measures how far the values typically are from the mean: find each value’s distance from the mean, square it, take the mean of the squares, and then the square root.

For 12, 18, 24, and 30, the distances from the mean of 21 are −9, −3, 3, and 9. Their squares add up to 180, so the standard deviation is √(180 ÷ 4) ≈ 6.7082. This is the population standard deviation. For a sample, divide by one fewer value: √(180 ÷ 3) ≈ 7.746. It appears in the copied result.

07 / A LITTLE MORE CLARITY

Common questions

How do I calculate an average?

Add all the numbers together, then divide by how many numbers there are. For 12, 18, 24, and 30, the total is 84, and 84 ÷ 4 = 21.

What is the difference between the mean and the median?

The mean is the total divided by the count. The median is the middle value when the numbers are sorted. One very large or small value moves the mean but barely moves the median.

How do I calculate a weighted average for my grades?

Choose “Weighted average” and enter each grade with its weight on its own line, such as 90, 20% for homework and 70, 80% for the exam. That gives (90 × 20 + 70 × 80) ÷ 100 = 74.

What score do I need on my next test?

Choose “Score needed”, enter your scores so far and your target average. With 82, 90, and 76 and a target of 85, you need 92 on the next test.

Can I include zero or negative numbers?

Yes. Zero, negative values, and decimal values are all valid entries, and each counts as one value.

How should I separate the numbers?

Use commas, spaces, semicolons, or new lines. Do not use commas as thousands separators: type 1200, not 1,200, or it will be read as two numbers.

What if no number repeats?

Then there is no mode, and the calculator shows “None”. When several values tie for the most common, it lists them.