How to Calculate the Average of a Set of Numbers

Published

You want to know your average monthly grocery bill, your average test score, or the average of a few prices before you buy. Sounds simple, yet many people second-guess themselves halfway through. Should you add first or divide first? What if one number is much bigger than the rest?

This guide shows you exactly how to calculate an average, step by step, with real examples.

Quick Answer

To find the average (also called the mean) of a set of numbers, add all the numbers together, then divide by how many numbers there are.

Average = Sum of all numbers ÷ Count of numbers

Step-by-Step: How to Calculate the Average

  1. List your numbers. Make sure you have all of them.
  2. Add them up. Find the total (the sum).
  3. Count them. How many numbers are in the set?
  4. Divide the sum by the count. The result is your average.

Example 1: A Simple Set

Numbers: 12, 15, 9, 20, 14

  • Sum: 12 + 15 + 9 + 20 + 14 = 70
  • Count: 5
  • Average: 70 ÷ 5 = 14

Example 2: Average Monthly Spending

Say you spent the following on groceries over six months: $420, $380, $450, $400, $500 and $410.

MonthSpending
1$420
2$380
3$450
4$400
5$500
6$410
Total$2,560

$2,560 ÷ 6 = $426.67 per month on average. This is a handy way to set a realistic budget.

Mean, Median and Mode: What’s the Difference?

People say “average” for three different things. Here is how they differ.

TypeWhat it meansHow to find it
MeanThe usual “average”Add all numbers, divide by the count
MedianThe middle valueSort the numbers, pick the middle one (or average the two middle ones)
ModeThe most common valueFind the number that appears most often

Median example: For 9, 12, 14, 15, 20, the middle number is 14.

Mode example: In 3, 5, 5, 7, 9, 5, the number 5 appears most often.

When the Mean Can Mislead

The mean is affected by very large or very small numbers (called outliers). Imagine five salaries: $40,000, $42,000, $45,000, $48,000 and $250,000.

  • Mean: $425,000 ÷ 5 = $85,000
  • Median: $45,000

The mean looks high because of one big salary. In cases like this, the median often gives a more realistic picture of what is typical.

What Is a Weighted Average?

Sometimes numbers don’t count equally. In a weighted average, each number is multiplied by its importance (weight) before adding.

Example: A course grade is based on a test (30%), a project (20%) and an exam (50%). Scores are 80, 90 and 70.

  • 80 × 0.30 = 24
  • 90 × 0.20 = 18
  • 70 × 0.50 = 35
  • Total: 24 + 18 + 35 = 77

Weighted averages are also used for investment returns, average prices paid and grade calculations.

Common Mistakes to Avoid

  • Forgetting a number when adding or counting.
  • Dividing by the wrong count. Count every number, including zeros.
  • Mixing units, such as dollars and cents, or hours and minutes.
  • Ignoring outliers that can distort the mean.

Quick Ways to Calculate an Average

  • Calculator: Add, then divide.
  • Spreadsheet: In Excel or Google Sheets, type =AVERAGE(A1:A6) to find the mean of a range of cells.
  • Phone: Most calculator apps can add numbers quickly.

Frequently Asked Questions

What is the formula for the average? Average = sum of all numbers ÷ how many numbers there are.

Is average the same as mean? In everyday use, yes. “Average” usually means the mean, though median and mode are also types of averages.

How do I find the average of two numbers? Add them and divide by 2. The average of 10 and 20 is 15.

Do zeros count in an average? Yes. A zero is still a number in the set and must be included in the count.

How do I find the average in Excel? Use the formula =AVERAGE(range), for example =AVERAGE(B2:B10).

Final Thoughts

Calculating an average takes just two actions: add the numbers, then divide by how many there are. Use the median when a few extreme values could distort the result, and a weighted average when some numbers matter more than others.

Disclaimer: This article is for general educational purposes only.

This calculator provides estimates for educational purposes only and is not financial, tax, legal or investment advice. Results depend on the information you enter and on assumptions that may not match your situation. Consult a qualified professional before making financial decisions.