Skip to content
100% local

Weighted average calculator

Calculate a weighted average from a list of values and their weights.

Input
Output

Weighted average calculator

Paste a list of values with the weight each one carries and this tool returns the weighted average — the number where a heavier item counts for more than a light one. It suits the cases where a plain average lies: a grade point average where each course has a different credit count, a product rating where one voter's review shouldn't count the same as a hundred, or a survey score where some responses carry more confidence than others.

Each line holds one value and its weight, separated by a comma, colon, semicolon, tab or space — pin one down or leave it on auto-detect. A line with no weight can be treated as weight 1 or skipped, so a partially filled list still produces a result instead of an error. When the scale runs the other way — a race time, a defect count, anything where smaller is better — turn on "lower value is better" to invert it before averaging.

Turn on the extra options to see more than the headline number: the plain average and median for comparison, the sum of all weights, each item's normalized weight as a percentage of the total, and how much each line contributes to the result. Choose a short breakdown or an aligned table, and set how many decimal places to round to. Blank lines are ignored, and one line that isn't a valid number never breaks the rest of the calculation — the tally reports how many were skipped.

Everything runs locally in your browser; your grades, ratings or figures are never uploaded anywhere. Copy the result, download it as a .txt file, or send the output back into the input to refine the list further.

FAQ

How is a weighted average different from a regular average?
A regular average treats every value the same. A weighted average multiplies each value by its weight first, so a value with a bigger weight — more credits, more votes, more confidence — counts for more in the result.
What if some of my lines have no weight?
Set "Line with no weight" to either give it weight 1 (treat it as equally important) or skip it entirely so it doesn't affect the result.
Can I use this for a scale where a lower number is better?
Yes — turn on "Lower value is better" and each value is mirrored around the highest value in your list before averaging, so a smaller original number ends up contributing more to the result.
Does normalizing weights change the result?
No. "Show weights normalized to 100%" only changes how weights are displayed, as a percentage of the total — the weighted average itself is the same either way, because it's already relative to the total weight.
Is my data uploaded anywhere?
No. The calculation runs entirely in your browser — your values, weights and results never leave your device.