Weighted Average Calculator

Paste the values and the matching weights — any number of items

Numbers separated by commas, spaces or new lines
One weight per value, in the same order (percentages, credits, quantities…)
Weighted average—
Simple (unweighted) average—
Sum of weights—
Sum of value × weight—
Number of items—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

Weighted average formula

Weighted average = Σ(value × weight) ÷ Σ(weight). Each value counts in proportion to its weight, so items with bigger weights pull the result toward them.

Example: scores of 85, 92 and 78 with weights 30, 50 and 20. The products are 2,550 + 4,600 + 1,560 = 8,710 and the weights add to 100, so the weighted average is 87.1. The simple average is 85 — lower, because the heaviest weight sits on the highest score.

Weights do not need to add up to 100

The formula divides by the total weight, so 3, 5 and 2 give exactly the same answer as 30, 50 and 20. Use whatever is natural: percentages, credit hours, units sold or number of shares.

Everyday uses

Grades: category scores weighted by their share of the course (see the grade calculator). Investing: the average price paid across several purchases, weighted by the number of shares. Business: average selling price across products weighted by units sold, or a blended interest rate weighted by loan balances.

Example: average purchase price

Buying 100 shares at $40, 50 at $36 and 150 at $45 gives values 40, 36, 45 and weights 100, 50, 150. The weighted average price is (4,000 + 1,800 + 6,750) ÷ 300 = $41.83, not the simple average of $40.33.

FAQ

How do you calculate a weighted average?
Multiply each value by its weight, add the products and divide by the sum of the weights.
What is the difference between a weighted and a simple average?
A simple average treats every value equally. A weighted average gives some values more influence according to their weights.
Do the weights have to add up to 1 or 100?
No. Any positive weights work because the formula divides by their total.
Can I paste data from a spreadsheet?
Yes. Copy a column of values into the first box and the matching column of weights into the second; new lines work as separators.
Can a weight be zero?
Yes. That value is then ignored, but at least one weight must be above zero.

Bookmarks