Calculators

How to Calculate an Average

Learn how to calculate the mean, median, and mode of a set of numbers, and when each one gives a more accurate picture than the others.

Brekzy Team Published September 4, 2026

On this page
  1. The Mean (What Most People Call “Average”)
  2. The Median (The Middle Value)
  3. The Mode (The Most Frequent Value)
  4. When the Mean Can Be Misleading
  5. Worked Example: Test Scores

“Average” usually means the mean — add everything up and divide by how many numbers there are — but it’s not the only way to describe a “typical” value in a set of numbers. Here’s how to calculate all three common types, and when each one gives a more honest picture than the others.

The Mean (What Most People Call “Average”)

Mean = (Sum of All Values) ÷ (Number of Values)

For the numbers 4, 8, 6, 5, 3: add them up (4 + 8 + 6 + 5 + 3 = 26), then divide by how many there are (5). The mean is 26 ÷ 5 = 5.2.

The Median (The Middle Value)

Sort the numbers from smallest to largest, then find the middle one. For an odd count, that’s a single middle number. For an even count, it’s the mean of the two middle numbers.

For 4, 8, 6, 5, 3 — sorted: 3, 4, 5, 6, 8 — the middle value is 5, so the median is 5.

For an even-count example, 4, 8, 6, 5 — sorted: 4, 5, 6, 8 — the two middle values are 5 and 6, so the median is (5 + 6) ÷ 2 = 5.5.

The Mode (The Most Frequent Value)

The mode is simply whichever value appears most often. In 4, 8, 6, 5, 3, 5, the number 5 appears twice while every other number appears once, so the mode is 5. A set can have no mode (nothing repeats), one mode, or several tied modes.

When the Mean Can Be Misleading

The mean is sensitive to extreme values (“outliers”). In the salaries 40k, 42k, 45k, 41k, and 400k, the mean is pulled up to 113.6k by the one very high value — a number that doesn’t represent any of the five salaries well. The median (42k) gives a far more typical picture of this particular data set.

Worked Example: Test Scores

Scores: 72, 85, 90, 85, 60.

  • Mean: (72 + 85 + 90 + 85 + 60) ÷ 5 = 392 ÷ 5 = 78.4
  • Median: sorted — 60, 72, 85, 85, 90 — middle value = 85
  • Mode: 85 (appears twice)
Try it yourself

Average Calculator

Try our Average Calculator →

Frequently Asked Questions

What is the formula for calculating an average?

Add up all the values in the set, then divide that total by the number of values. This is technically called the mean, though it’s what most people mean by “average.”

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 numbers are sorted. The mode is whichever value appears most often. All three describe a “typical” value, but can give different answers for the same data set.

When should I use the median instead of the mean?

When a data set has extreme outliers that would otherwise skew the mean, the median usually gives a more representative “typical” value — household income and home prices are commonly reported as medians for exactly this reason.

Can a data set have more than one mode?

Yes. If two or more values are tied for the most frequent, the set has multiple modes; if every value appears exactly once, there is no mode at all.

Explore More

Find the right tool, or keep reading Brekzy's other guides.