Try the Average Calculator
Free and instant — plug in your own numbers.

The average (or mean) adds up all the numbers and divides by how many there are. The median is the middle number when you sort them. Most of the time they are close. When a few values are far bigger or smaller than the rest, as with home prices or incomes, the average gets pulled toward them and the median doesn't. That is why the median usually describes a "typical" home or household better, while the average is the one to use when the total matters.

Neither number lies; they answer different questions. Below are both methods, worked examples where they disagree, and a simple rule for choosing. Paste any list into the average calculator, and it shows the mean, the median and the range together.

How each is calculated

Mean = (x₁ + x₂ + … + xₙ) ÷ n Median = the middle value of the sorted list (with an even count, the average of the two middle values)

The average calculator adds the numbers, counts them and divides. It also sorts the list to find the median, and shows the smallest and largest values and the range. For lists of 2 to 50 numbers it shows how far each one is from the mean; those differences always add up to 0, which is why the mean is called the balance point of the data.

Example 1: home prices on one street

Seven illustrative sales in a year: $285,000, $299,000, $310,000, $315,000, $322,000, $340,000 and one large property at $1,450,000.

  • Sum: $3,321,000, over 7 sales
  • Mean: $3,321,000 ÷ 7 = $474,428.57
  • Median: sorted, the 4th of 7 values is $315,000

Six of the seven homes sold for $340,000 or less, so an "average price of $474,000" gives the wrong picture of the street. Now remove the one big sale:

With the $1.45M sale Without it
Number of sales 7 6
Mean $474,428.57 $311,833.33
Median $315,000 $312,500

One sale moved the mean by $162,595.24 but the median by only $2,500. With six values, the median is the average of the 3rd and 4th: ($310,000 + $315,000) ÷ 2 = $312,500.

Example 2: a week of commutes

Commute times in minutes over seven days: 18, 22, 25, 25, 27, 30 and 95 (one day with a crash on the highway).

  • Mean: 242 ÷ 7 = 34.57 minutes
  • Median: 25 minutes

If a friend asks how long your commute is, 25 minutes is the honest answer. If you are working out how many hours a year you spend driving, the mean is the right number to multiply, because the bad day really happened.

Example 3: a year of grocery spending

Twelve illustrative months: $412, $388, $455, $397, $1,890, $430, $405, $421, $398, $440, $415 and $402. The $1,890 month includes a big stock-up.

Value
Total for the year $6,453
Mean month $537.75
Median month $413.50
Range $388 to $1,890

Which one should go in the budget? It depends on the question:

  • "What does a normal month cost?" The median, $413.50.
  • "How much do I need for the year?" The mean, because mean × 12 = $537.75 × 12 = $6,453, the real total. Budgeting $413.50 a month would leave you short in the stock-up month.

A common fix is to budget the median for regular months and set aside a separate amount for the known big one.

Key idea Use the mean when you need to add things up or share a total. Use the median when you want to describe a typical case and a few extreme values would distort the picture.

Household income: a median figure

Household income is a classic case: a small number of very high incomes would pull an average up. The U.S. Census Bureau's headline figure is the median. Its report Income in the United States: 2025, released September 15, 2026, puts median household income at $87,460 for 2025, up 2.6% from $85,210 in 2024. Half of households had more than that and half had less.

When you compare your own income, rent or home price with a figure in the news, check whether it is a mean or a median. They can be far apart.

Mean, median and mode

Measure What it is Best for
Mean Sum ÷ count Totals, budgets, fairly even data like test scores
Median Middle value when sorted Typical value when there are extreme values: prices, incomes, wait times
Mode Most common value Repeated values or categories, like shoe sizes or the 25-minute commute

In the commute example, 25 minutes is both the median and the mode, because it appears twice.

When some values count more: the weighted average

Sometimes a plain average is the wrong tool because the values aren't equally important. The average calculator's Weighted average mode multiplies each value by its weight, adds them, and divides by the total weight:

Weighted average = (x₁w₁ + x₂w₂ + … + xₙwₙ) ÷ (w₁ + w₂ + … + wₙ)

Example: three fill-ups at the gas station: 10 gallons at $3.20, 14 gallons at $3.50 and 8 gallons at $2.90.

  • Plain average of the three prices: ($3.20 + $3.50 + $2.90) ÷ 3 = $3.20
  • Weighted by gallons: (10 × 3.20 + 14 × 3.50 + 8 × 2.90) ÷ (10 + 14 + 8) = 104.20 ÷ 32 = $3.26 a gallon

You bought the most gas at the highest price, so what you really paid per gallon is the weighted figure. Grades work the same way; see how to calculate GPA.

Common mistakes

  • Forgetting to sort before finding the median. The middle of an unsorted list is just a random value.
  • Averaging averages. Two groups with averages of 80 and 90 don't have a combined average of 85 unless they are the same size. If 20 students averaged 80 and 10 averaged 90, the combined average is (20 × 80 + 10 × 90) ÷ 30 = 2,500 ÷ 30 = 83.33. Use a weighted average.
  • Averaging percentages or rates directly. The same problem: weight them by what they apply to. Our guide on how to calculate a percentage covers percent changes.
  • Quoting one number without the other. For uneven data, giving both the mean and the median tells the reader far more.

Frequently asked questions

Is the average the same as the mean?

In everyday use, yes: the average is the arithmetic mean, the sum divided by the count. In statistics, "average" can loosely mean the median or mode too, which is why calculators label the answer "mean."

How do I find the median of an even set of numbers?

Sort them, take the two middle values and average them. For 285, 299, 310, 315, 322 and 340, the middle two are 310 and 315, so the median is 312.5.

Which is better for salaries, average or median?

Usually the median, because a few very high salaries pull the average up. Use the average if you need the total payroll.

Can the mean and median be the same?

Yes. In evenly spread data, such as 2, 4, 6, 8 and 10, both are 6.

A quick checklist

  1. Decide your question: a total or share (mean), or a typical case (median).
  2. Sort the numbers and look for extreme values.
  3. Paste them into the average calculator to get the mean, median and range at once.
  4. If values count for different amounts, switch to the weighted average.
  5. When you quote a figure, say whether it is a mean or a median.

Written by Muaaz Shaheen

Muaaz Shaheen runs Calcnio. Every figure in our blog posts is calculated, not estimated, and the assumptions are stated so you can check them with our calculators. Spotted an error? Tell us.

This article is for general education and is not financial advice. Rules, rates and products vary by lender and country. See our disclaimer.