Math Tools
Weighted Average Calculator
Enter grades, costs or scores with their weights. Compare the weighted and ordinary averages and see how much each row contributes.
Go to calculatorValues and weights
Use weights like 2, 3 and 5, or add % to every weight. Fully blank rows are skipped.
Paste two columns
Use a tab or comma between the value and weight. Use one pair per line, without headers or thousands separators.
Weighted average
Enter a value and weight to see the average.
On this page
The method
How to calculate a weighted average
Multiply each value by its weight, add those products, and divide by the sum of the weights. The share of each row is its weight divided by the total weight. The ordinary average gives every entered value an equal share.
Example 1
Average course grades with different weights
A grade of 92 worth 20%, 78 worth 30%, and 85 worth 50% contributes 18.4, 23.4, and 42.5 points. The percentage weights add to 100%, so the weighted grade is the sum of those contributions.
- Grade and weight pairs
- 92 at 20%, 78 at 30%, 85 at 50%
- Weighted grade
- 84.3
- Ordinary average
- 85
Example 2
Average unit cost using order quantities
Buy 100 units at $50 and 300 units at $45. The combined cost is $18,500 and the quantity is 400 units. Divide the total cost by 400 to get the weighted price per unit.
- Total cost
- $18,500
- Weighted unit cost
- $46.25
- Ordinary average of quoted prices
- $47.50
Before you calculate
Assumptions & limits
- Enter up to 50 value-and-weight pairs. Use a decimal point and up to 18 digits before it and 8 after it. For bulk entry, paste two tab- or comma-separated columns without a header.
- Use the same units for every value and choose one weight convention. For example, use 2, 3 and 5, or 20%, 30% and 50%. Enter a positive weight in at least one row.
- Blank rows are skipped. A row with a zero weight adds zero to the weighted result and still counts in the ordinary average.
- Calculations run in your browser. Exact fractions appear alongside rounded decimals when needed. Copy the result to keep the calculation.
Keep in mind
Common mix-ups
Do weights have to add up to 100?
Plain-number weights work on any common scale. Weighting three values by 2, 3 and 5 gives the same average as 20, 30 and 50. The formula uses the actual sum of the weights.
What if the entered percentages total less than 100%?
The result is the weighted average of the entered items. For example, if the grades you have received account for 60% of the course, the calculator divides the earned percentage points by 60%. The remaining course grades are still unknown.
When do both averages agree?
Equal positive weights give the same result as the ordinary average. With unequal weights, the values with larger weights have more influence, though the two averages can still coincide.
Sources & calculation notes
Defines the weighted mean as the sum of weighted values divided by the sum of the weights.
Method and input rules checked: . Engineering validation; no professional specialist review is claimed.