Average Calculator

Enter a list of numbers to find their average (mean).

Updated

Enter to calculate Esc to clear

Average Calculator

Our Average Calculator finds the arithmetic mean of any list of numbers: test marks, monthly spending, daily temperatures, step counts or sales figures. Type or paste the numbers and the average appears straight away, with the working shown. It also lists the count, sum, median, mode, smallest and largest value, and range, so you can see at a glance whether the average tells the whole story.

Quick answer

The average (mean) is the sum of the numbers divided by how many numbers there are. For example, the average of 80, 75, 85, 70, 90 and 95 is 495 ÷ 6 = 82.5. Enter any list of numbers above and the calculator shows the average instantly.

  • Formula: average = (x1 + x2 + … + xn) ÷ n
  • Median: the middle value once the numbers are sorted
  • Mode: the value that appears most often
  • Outliers: one extreme value moves the mean a lot but barely moves the median

What Is an Average?

An average is a single number that sums up a whole set of data. The one people usually mean is the arithmetic mean: share the total out equally and the average is what each value would be. If you scored 80, 85 and 90 on three tests, an average of 85 says your overall performance was the same as scoring 85 every time.

Average (mean) = sum of all values ÷ number of values

x̄ = (x₁ + x₂ + … + xₙ) ÷ n

The formula works the same for marks, money, time, distance or any other measurement, as long as all the values use the same unit. The mean always lies between the smallest and the largest value, and if you replaced every value with the mean the total would not change.

Worked Examples

Student marks. A student scores English 80, Maths 75, Physics 85, Chemistry 70, Geography 90 and History 95.

Step 1, add: 80 + 75 + 85 + 70 + 90 + 95 = 495
Step 2, divide: 495 ÷ 6 = 82.5

Average mark = 82.5

Weekly temperature. A city records 28, 30, 29, 31, 27, 32 and 30 °C from Monday to Sunday.

Step 1, add: 28 + 30 + 29 + 31 + 27 + 32 + 30 = 207
Step 2, divide: 207 ÷ 7 = 29.571…

Average ≈ 29.6 °C
NumbersSumCountAverage
10, 20, 3060320
2, 4, 6, 82045
80, 75, 85, 70, 90, 95495682.5
−5, 10, 152036.6667
2.5, 3.7, 4.81133.6667

Mean, Median and Mode

The mean is one of three common measures of the centre of a data set. They agree for evenly spread data and drift apart when a few values are extreme:

MeasureHow to find it2, 2, 4, 6, 11
MeanSum ÷ count25 ÷ 5 = 5
MedianMiddle value when sorted4
ModeMost frequent value2
RangeLargest − smallest11 − 2 = 9

With an even count there is no single middle value, so the median is the average of the two middle ones: for 70, 75, 80, 85, 90, 95 it is (80 + 85) ÷ 2 = 82.5. When the data are skewed, as with incomes or house prices, the median is usually the fairer “typical” value: 30, 35, 40, 45 and 250 have a mean of 80 but a median of 40.

Weighted Averages

Sometimes values do not count equally, such as an exam worth more than coursework or a product bought in larger quantities. Each value is multiplied by its weight:

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

Coursework 85 (30%), exam 90 (70%):
(85 × 0.3 + 90 × 0.7) ÷ 1 = 88.5

The simple average of 85 and 90 would be 87.5. This calculator works out simple (unweighted) averages; to weight by hand, you can also repeat values, since entering 90 twice and 85 once gives the 2:1 weighted mean.

Average in Excel and Code

ToolAverage of a list
Excel / Google Sheets=AVERAGE(A1:A10)
Excel, weighted=SUMPRODUCT(A1:A10, B1:B10) / SUM(B1:B10)
Excel, median / mode=MEDIAN(A1:A10), =MODE.SNGL(A1:A10)
Pythonstatistics.mean([80, 75, 85])
JavaScripta.reduce((s, x) => s + x, 0) / a.length

Excel’s AVERAGE skips empty cells and text but counts cells that contain 0, so a blank and a zero give different answers.

Common Mistakes

  • Dividing by the wrong count. Count every value, including repeats and zeros that are real results.
  • Averaging averages. Groups of 20 at 70 and 30 at 80 average 76 overall, not 75.
  • Averaging speeds. 60 km/h out and 90 km/h back over the same distance averages 72 km/h, not 75, because more time is spent at the slower speed.
  • Mixing units. Convert centimetres and inches, or minutes and hours, to one unit first.
  • Trusting the mean with outliers. Check the median too; if the two are far apart, a few extreme values are pulling the mean.

Key Terms

Mean (x̄)
The sum of the values divided by how many there are; the usual “average”.
Median
The middle value of the sorted list, or the mean of the two middle values.
Mode
The value that appears most often. A list can have more than one, or none.
Range
The largest value minus the smallest, a quick measure of spread.
Outlier
A value far from the rest that can pull the mean toward it.
Weighted average
A mean where some values count more than others.

How to Use the Average Calculator

  1. Enter your numbers. Type the numbers in the “Numbers” box, separated by spaces or commas, for example 80 75 85 70 90 95. Whole numbers, decimals and negative numbers all work, and you can paste a column straight from a spreadsheet.
  2. Read the average. The average appears as you type, with the working underneath (for example 495 ÷ 6 = 82.5). The table below it shows the count, sum, median, mode, smallest and largest value, and range.
  3. Copy the result. Press Copy to copy the average. Press Clear or Esc to start again.

Example: enter 28 30 29 31 27 32 30 and the average is 29.5714285714, with the working 207 ÷ 7 ≈ 29.5714285714 and a median and mode of 30.

Who Can Use This Calculator?

Students and TeachersAveraging marks, grades and homework data
HouseholdsWorking out average monthly bills, spending or income
BusinessesTracking average sales, order values and ratings
Sports and FitnessAverage scores, times, steps and heart rate

Frequently Asked Questions (FAQs)

How do you calculate an average?

Add all the numbers together, then divide by how many numbers there are. For 80, 75, 85, 70, 90 and 95 the sum is 495 and there are 6 numbers, so the average is 495 ÷ 6 = 82.5.

Is the average the same as the mean?

Yes. In everyday use “average” means the arithmetic mean: the sum divided by the count. In statistics, the word average can also cover the median and the mode, which is why people sometimes say “mean average” to be precise.

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 average of the two middle values when the count is even). The mode is the value that appears most often. For 2, 2, 4, 6 and 11 the mean is 5, the median is 4 and the mode is 2.

Is the mean or the median better?

It depends on the data. The mean uses every value, so it is best when the numbers are fairly even. A few extreme values (outliers) pull it a long way: incomes of 30, 35, 40, 45 and 250 thousand have a mean of 80 thousand but a median of 40 thousand, and the median describes the typical person much better. The mode is best for the most common choice, such as a shoe size.

Can I enter decimals and negative numbers?

Yes. The average of −5, 10 and 15 is 20 ÷ 3 ≈ 6.6667, and the average of 2.5, 3.7 and 4.8 is 11 ÷ 3 ≈ 3.6667. Currency and percent signs are ignored, so $12 and 45% count as 12 and 45.

Should zeros be included in an average?

Include a zero when it is a real value, such as a test scored 0 or a day with no sales: the average of 10, 0 and 20 is 10. Leave it out when it only means “no data”, because it would drag the average down. Excel’s AVERAGE follows the same rule: it counts cells that contain 0 but skips empty cells.

How do you calculate a weighted average?

Multiply each value by its weight, add the results, and divide by the total of the weights. A coursework mark of 85 worth 30% and an exam mark of 90 worth 70% give (85 × 0.3 + 90 × 0.7) ÷ 1 = 88.5, not the simple average of 87.5.

Can you average averages?

Only if every group is the same size. A class of 20 averaging 70 and a class of 30 averaging 80 have an overall average of (20 × 70 + 30 × 80) ÷ 50 = 76, not 75. Weight each average by its group size, or average the original numbers.

Should I use thousands separators like 1,200?

No. Commas separate the numbers, so 1,200 is read as two numbers, 1 and 200. Type 1200 instead.

Is the Average Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Average Calculator to find the mean of any list of numbers instantly.