How to Calculate Average: Mean, Median and Mode

Averages are everywhere: average exam scores, average sales per day, average house prices, average salary. Yet "average" can mean three different things, and choosing the wrong one can give a misleading picture. Here is how to calculate average values – the mean, median and mode – plus weighted averages for grades and scores.

Screenshot of the Average Calculator on Assen Tools
The Average Calculator in use. Open the Average Calculator – free, no sign-up.

1. The mean (the usual average)

When people say "average", they usually mean the mean.

Mean = sum of all values ÷ number of values

Example: test scores of 65, 72, 80, 58 and 90. Sum = 65 + 72 + 80 + 58 + 90 = 365 Number of values = 5 Mean = 365 ÷ 5 = 73

2. The median (the middle value)

The median is the middle value when the numbers are sorted in order.

Example: 58, 65, 72, 80, 90 → the median is 72.

With an even number of values, take the mean of the two middle ones: 58, 65, 72, 80 → (65 + 72) ÷ 2 = 68.5

3. The mode (the most common value)

The mode is the value that appears most often.

Example: shoe sizes sold today: 40, 41, 42, 42, 42, 43, 44 → the mode is 42.

A list can have no mode (every value different) or more than one mode.

Which average should you use?

  • Mean: good for data without extreme values, like daily temperatures or test scores.
  • Median: better when a few extreme values distort the picture. If nine people earn ₦200,000 a month and one earns ₦10,000,000, the mean is ₦1,180,000 – which describes nobody. The median, ₦200,000, is far more realistic. That is why house prices and salaries are often reported as medians.
  • Mode: useful for categories and popularity, such as the most common size, colour or answer.

Weighted averages

Sometimes values count differently. In a course where assignments are worth 40% and the exam 60%, a student with 70 in assignments and 80 in the exam has:

(70 × 0.40) + (80 × 0.60) = 28 + 48 = 76

Grade point averages work the same way, weighting each grade by its credit units:

Weighted average = sum of (value × weight) ÷ sum of weights

Example: a 5-unit course with grade point 4, and a 3-unit course with grade point 3: (5 × 4 + 3 × 3) ÷ (5 + 3) = 29 ÷ 8 = 3.63

Averages in business

  • Average order value = total sales ÷ number of orders
  • Average daily sales = sales for the period ÷ days
  • Average cost per item = total cost ÷ number of items

Combine them with percentages to track growth – see how to calculate percentage.

Common mistakes

  • Forgetting to sort numbers before finding the median.
  • Averaging percentages from groups of different sizes without weighting them.
  • Including blank or zero entries that should not count.

Calculate instantly

The free Average Calculator finds the mean, median, mode and range of any list of numbers – paste values separated by commas, spaces or new lines. Related calculators: Percentage Calculator, Unit Price Calculator and Random Number Generator for practice data.

Frequently asked questions

What is the range? The difference between the highest and lowest values: 90 − 58 = 32 in the first example.

Can the mean be a decimal when all values are whole numbers? Yes. The average of 1 and 2 is 1.5.

How do I average times or speeds? Convert to the same units first; for speeds over equal distances, a special harmonic mean is more accurate.

Summary

Now you know how to calculate average values: the mean adds and divides, the median takes the middle value, and the mode finds the most common one. Use the median when extreme values distort the mean, and weighted averages when items count differently. Get all three instantly with the free Average Calculator.

Jonathan Nwachukwu, founder of Assen Tools

Written by

Jonathan Nwachukwu · Founder & developer

Jonathan is a freelance web developer and web development teacher who builds Laravel, WordPress and WooCommerce sites for clients. He built AssenTools to put the everyday file, photo and calculation jobs he kept doing for clients and students into one free, private toolbox, and he maintains every tool and guide on the site.