Weighted Average Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free weighted average calculator. Enter each value with its weight (percent, credits or quantity) to get the weighted mean, with every step shown.
- Total weight
- 0
- Simple average (unweighted)
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the weighted average calculator
- Put one item on each line: the value, then its weight. You can separate them with a comma, a space, a tab or a colon.
- Optionally, start the line with a name, like "Midterm, 78, 30". The last two numbers on each line are always read as the value and the weight.
- Read the result. The weighted average calculator shows the weighted mean, the total weight, the plain (unweighted) average for comparison, and a table with every value × weight.
Weights can be percentages (20, 30, 50), credits, quantities, hours or anything else that says how much each value counts. They don't need to add up to 100; the weighted average calculator divides by whatever they total. Lines it can't read are skipped and listed, so you can fix them.
The weighted average formula
In a normal average, every value counts the same. In a weighted average, some count more than others:
Weighted average = Σ(value × weight) ÷ Σ(weight)
Multiply each value by its weight, add those products up, and divide by the total of the weights.
For a course where homework (92) is worth 20%, the midterm (78) 30% and the final exam (85) 50%:
- 92 × 20 = 1,840
- 78 × 30 = 2,340
- 85 × 50 = 4,250
- Total = 8,430; total weight = 100
- Weighted average = 8,430 ÷ 100 = 84.3
The simple average of 92, 78 and 85 is 85, so ignoring the weights would overstate the grade, because the weak midterm counts for more than the strong homework.
When the weights don't add up to 100
You don't have to convert weights into percentages first. If a student's three courses earned grades of 3.7, 3.0 and 4.0 with 4, 3 and 2 credits, the weights are the credits:
(3.7 × 4 + 3.0 × 3 + 4.0 × 2) ÷ (4 + 3 + 2) = (14.8 + 9 + 8) ÷ 9 = 31.8 ÷ 9 = 3.53
Dividing by the total weight takes care of it. That's exactly how a GPA works; for letter grades on a 4.0 scale, the GPA calculator converts them for you.
Weighted averages in business
Average cost of stock. If you bought 300 units at 4.20, 500 at 4.50 and 200 at 3.90, the average cost per unit isn't the simple 4.20 average of the three prices. Weighted by quantity, it's (1,260 + 2,250 + 780) ÷ 1,000 = 4.29. That's the figure to use for pricing and for cost of goods sold. For shares, the stock average calculator does the same with buy prices.
Average price across products. A shop selling 1,000 coffees at 3.00 and 100 cakes at 5.00 has an average sale price of (3,000 + 500) ÷ 1,100 = 3.18, not 4.00.
Average interest rate on debts. Two loans of 10,000 at 5% and 2,000 at 20% have a weighted average rate of (500 + 400) ÷ 12,000 = 7.5%, much closer to 5% because most of the money is on the cheaper loan.
Customer ratings. If 120 people gave 5 stars, 30 gave 4 and 10 gave 1, the weighted average rating is (600 + 120 + 10) ÷ 160 = 4.56.
Weighted scoring. When choosing a supplier, you might score price, quality and delivery from 1 to 10, with weights of 50%, 30% and 20%. Each supplier's weighted score makes the comparison fair.
Weighted average vs simple average
A simple average is a weighted average where every weight is 1. The two only match when the weights are equal. The bigger the difference in weights, and the more the heavy items differ from the light ones, the further apart the two averages get.
The weighted average calculator shows both side by side so you can see how much the weights change the picture. If the difference surprises you, the table shows which items are pulling the result up or down.
Common mistakes
Averaging percentages from different-sized groups. A 90% pass rate in a class of 10 and a 60% pass rate in a class of 90 don't average to 75%. Weighted by class size, the overall pass rate is (9 + 54) ÷ 100 = 63%.
Using weights that don't belong together. If some items are weighted by hours and others by percentages, the result is meaningless. Pick one kind of weight.
Forgetting zero weights. An item with weight 0 doesn't count at all, which is correct for ungraded work, but check it's intended.
Negative weights. These don't make sense in a weighted average, so the weighted average calculator rejects them.
Leaving out an item. If the final exam hasn't happened yet, your current grade is the weighted average of what's done so far. The grade calculator shows the grade so far and what you need on the rest.
Weighted average and expected value
If the weights are probabilities, the weighted average is the expected value. A sales deal with a 20% chance of 50,000, a 50% chance of 20,000 and a 30% chance of nothing has an expected value of 0.2 × 50,000 + 0.5 × 20,000 + 0.3 × 0 = 20,000. Type it in with values and the percentages as weights to check.
Tips
- Put names first to make the table readable: "Rent, 1200, 12".
- Use the same units for every value (all prices in the same currency, all scores out of 100).
- Check the total weight. If you expected 100 and see 95, an item is missing.
- Paste from a spreadsheet: two columns copied together come through as value and weight on each line.
Privacy and accuracy
Everything you type stays in your browser. Nothing is uploaded or saved. The weighted average calculator uses the standard formula with compensated summation, so long lists don't drift, and no AI is involved, so the same inputs always give the same result. Students, teachers, buyers, analysts and investors use it on phones, tablets and computers, free and without signing up.
Weighted average in a spreadsheet
If you keep data in Excel or Google Sheets, the same calculation is:
=SUMPRODUCT(values, weights) / SUM(weights)
SUMPRODUCT multiplies each value by its weight and adds the results. The weighted average calculator gives the same answer without a formula, and shows the working line by line, which makes it easy to check a spreadsheet.
Weighted average cost of capital and other finance uses
Finance uses weighted averages everywhere. A company's weighted average cost of capital (WACC) averages the cost of its debt and equity, weighted by how much of each it uses. A portfolio's return is the weighted average of each holding's return, weighted by how much money is in each. If 70% of a portfolio returned 8% and 30% returned 2%, the portfolio returned 0.7 × 8 + 0.3 × 2 = 6.2%. Type the two returns with weights 70 and 30 into the weighted average calculator to check it.
A worked example
A student's course grade is homework 20%, midterm 30% and final exam 50%. She scored 92 on homework, 78 on the midterm and 85 on the final. She types:
Homework, 92, 20 Midterm, 78, 30 Final exam, 85, 50
The weighted average calculator shows 84.3. The table shows 1,840, 2,340 and 4,250 for the three parts, adding to 8,430, over a total weight of 100. The simple average of her three scores is 85, so the weighting cost her 0.7 points, all because the 78 counted for more than the 92. To push the course grade higher, she now knows that every extra point on the final is worth half a point overall, while a point on homework is worth only a fifth.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
How do I calculate a weighted average?
Multiply each value by its weight, add the results, and divide by the sum of the weights. The weighted average calculator does it from a simple list.
Do the weights have to add up to 100?
No. The weighted average calculator divides by the total weight, whatever it is: percentages, credits, quantities or hours.
What's the difference between a weighted and a simple average?
A simple average counts every value equally. A weighted average lets some values count more. They're the same only when all weights are equal.
How do I calculate a weighted grade?
Use each assignment's score as the value and its percentage of the course as the weight. The result is your grade so far.
Can I use decimals and negative values?
Values can be negative or decimal. Weights can be decimals but not negative.
Is this weighted average calculator free?
Yes. It's free, works offline once loaded, and needs no sign-up.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.