This free average calculator finds the mean of any list of numbers in one click, along with the median, mode, range, sum and count. Switch to weighted average mode to average values that do not count equally, such as grades worth different percentages, courses with different credit hours or prices bought in different quantities. For positive data the calculator also gives the geometric and harmonic mean, which are the right averages for growth rates and speeds. Every result shows the working, so you can see exactly how the answer was reached.
How to use the average calculator
- Choose a mode. Average treats every number equally. Weighted average lets you give each value its own weight.
- Enter your numbers. Type or paste them separated by commas, spaces or line breaks. You can paste a whole column from a spreadsheet.
- For a weighted average, enter each value with its weight. Use "+ Add row" for more items.
- Press calculate. The average appears in large type, followed by the other statistics and a line showing the formula with your numbers.
Average formula
In everyday language, "average" almost always means the arithmetic mean: add up the numbers, then divide by how many there are.
x̄ = (x₁ + x₂ + ... + xₙ) / n
Example: seven test scores of 85, 92, 78, 92, 88, 70 and 95 add up to 600. Divide by 7 and the average is 85.71. Sorting the scores gives 70, 78, 85, 88, 92, 92, 95, so the median (the middle value) is 88 and the mode (the most common value) is 92.
Mean, median and mode: what is the difference?
| Measure | How to find it | Best for |
|---|---|---|
| Mean | Sum ÷ count | Symmetric data without extreme values: test scores, heights, daily temperatures |
| Median | Middle value after sorting (average of the two middle values if the count is even) | Skewed data or data with outliers: house prices, incomes, wait times |
| Mode | Most frequent value | Categories and repeated values: shoe sizes, most common answer in a survey |
The three can tell very different stories. Imagine five people earning $40,000, $45,000, $50,000, $55,000 and $1,000,000. The mean income is $238,000, which describes nobody in the group. The median, $50,000, is a much better picture of a "typical" person. That is why government statistics report median household income and median home prices: a few very large values pull the mean upward.
Weighted average formula
A weighted average is used when some values matter more than others.
Example: course grade. Homework is worth 20% and you have 90, the midterm is worth 30% and you scored 84, and the final is worth 50% and you scored 76. Weighted average = (90 × 20 + 84 × 30 + 76 × 50) / (20 + 30 + 50) = (1,800 + 2,520 + 3,800) / 100 = 81.2. A simple average of the three scores would be 83.3, which overstates the grade because the low final counts for half.
Example: average price. You buy 100 shares at $20, then 50 more at $26. Your average cost per share is (100 × 20 + 50 × 26) / 150 = 3,300 / 150 = $22, not the $23 you get by averaging the two prices.
For school grades with categories, the grade calculator does this automatically and converts the result to a letter grade, and the GPA calculator weights each class by its credit hours.
Grade average calculator
Students use this page as a grade average calculator in two ways. If every assignment is worth the same, paste your scores in average mode to get your average grade instantly. If assignments, quizzes and exams carry different weights, switch to weighted average mode and enter each score with its percentage weight. To convert the result to a letter grade, use the grade calculator, and to turn letter grades into a grade point average, use the GPA calculator.
Stock average calculator
Investors who buy the same stock at different prices need their average cost per share. Use weighted average mode as a stock average calculator: enter each purchase price as the value and the number of shares as the weight. Buying 40 shares at $150, 25 at $132 and 35 at $118 gives an average cost of (6,000 + 3,300 + 4,130) / 100 = $134.30 per share. This is the price the stock must exceed for your whole position to be in profit, before fees. Averaging down this way lowers your break-even price but also increases how much you have riding on one company.
Geometric and harmonic mean
- Geometric mean = the nth root of the product of n values. Use it for growth rates and percentages that compound. If an investment grows 10% one year and falls 10% the next, the arithmetic mean return is 0%, but you actually lost money: 1.10 × 0.90 = 0.99. The geometric mean growth factor is √0.99 = 0.995, a -0.5% average yearly return. To use the calculator for this, enter the growth factors (1.10 and 0.90) rather than the percentages.
- Harmonic mean = n divided by the sum of the reciprocals. Use it for rates over the same distance, such as speeds. Drive 60 miles at 30 mph and 60 miles back at 60 mph and your average speed is not 45 mph but 2 / (1/30 + 1/60) = 40 mph, because you spent longer at the slower speed.
For positive data, the harmonic mean is always the smallest of the three and the arithmetic mean the largest, with the geometric mean in between.
How to calculate average in Excel and Google Sheets
- Mean: =AVERAGE(A2:A20)
- Median: =MEDIAN(A2:A20)
- Mode: =MODE.SNGL(A2:A20) for one mode, or =MODE.MULT(A2:A20) for several. Google Sheets uses =MODE.
- Weighted average: =SUMPRODUCT(A2:A10,B2:B10)/SUM(B2:B10), with values in column A and weights in column B.
- Average with a condition: =AVERAGEIF(B2:B50,"Math",C2:C50) averages column C only where column B says Math.
- Geometric and harmonic mean: =GEOMEAN(A2:A20) and =HARMEAN(A2:A20).
Excel's AVERAGE ignores empty cells and text but includes zeros. If a blank should count as zero, type the 0 in.
Everyday uses of averages
- Grades: your class average, the average you need on remaining tests, and your GPA are all averages. See the final grade calculator for the score you need on an exam.
- Money: average monthly spending for a budget, average cost per share, average hourly pay across different shifts.
- Sports: batting average, points per game and average race pace.
- Health: average daily steps, average calories, average resting heart rate over a week.
- Business: average order value, average sales per day, average customer rating.
- Weather: average monthly temperature and rainfall compared with historical norms.
Average and spread go together
An average describes the center of your data but says nothing about how spread out it is. Two classes can both average 80% while one has every student between 75 and 85 and the other has scores from 40 to 100. To measure that spread, use the standard deviation calculator, which also shows the mean. The range shown in this calculator is a quick first look.
How to find a missing value from an average
If you know the average you want and all but one value, you can work backwards: missing value = target average × number of values - sum of known values. For example, if you want an average of 90 across five tests and your first four scores are 88, 92, 85 and 91 (sum 356), you need 90 × 5 - 356 = 94 on the fifth. The same trick tells a salesperson what they need to sell this month to hit a quarterly average target.
Common mistakes
- Averaging averages. If one class of 10 students averaged 80 and another of 30 averaged 70, the overall average is (10 × 80 + 30 × 70) / 40 = 72.5, not 75. Use a weighted average.
- Averaging percentages of different totals. 9/10 (90%) and 30/50 (60%) combine to 39/60 = 65%, not 75%.
- Leaving out zeros. A missed assignment scored 0 still counts.
- Using the mean for skewed data. For incomes, prices and other data with outliers, report the median as well.
- Averaging rates and growth with the arithmetic mean. Use the harmonic mean for speeds and the geometric mean for returns.
For the full method with practice problems, read how to calculate average. To turn a score into a percentage first, use the percentage calculator.
About this calculator and your privacy
This calculator runs entirely in your web browser. The numbers you type are never sent to a server, stored or shared, and you do not need an account. Results update when you press the calculate button, and the reset button clears them. We review the formulas whenever published guidelines or tax figures change, and the page was last reviewed in November 2026. If you spot a number that looks wrong, or would like another feature added, please contact us and include your inputs so we can reproduce the issue. Remember that every calculator is a simplification of real life: treat the output as a starting point for planning and check important decisions with a qualified professional.
Frequently asked questions
How do you calculate an average?
Add up all the values and divide by how many values there are. The average of 4, 8 and 12 is 24 / 3 = 8.
What is the difference between mean and average?
In everyday use they mean the same thing: the arithmetic mean. Technically, average can also refer to the median or mode, which is why statisticians say mean to be precise.
How do I calculate a weighted average?
Multiply each value by its weight, add the results, and divide by the sum of the weights.
When should I use the median instead of the mean?
Use the median when the data is skewed or has outliers, such as incomes or house prices, because a few extreme values pull the mean away from the typical value.
Can a data set have more than one mode?
Yes. If two or more values tie for the most appearances, the data is bimodal or multimodal and the calculator lists every mode. If no value repeats, there is no mode.
How do I calculate the average percentage?
If each percentage is based on the same total, average them normally. If the totals differ, add the parts and the totals separately and divide, or use a weighted average.
What is the formula for average in Excel?
Use =AVERAGE(range). For a weighted average use =SUMPRODUCT(values,weights)/SUM(weights).
This average calculator is an educational tool. Results are computed in your browser with standard formulas; double-check grades, financial figures and research results against your official records or course method.