Compute the geometric mean - the right average for growth rates and ratios - reported exactly where it is exact.
Weighted Average Calculator
Compute a weighted mean exactly, with weights on any scale.
- Free
- No sign-up
- Runs in your browser
Input
6 characters
Separate with commas, spaces or new lines. A column pasted from a spreadsheet works. Processed in your browser.
4 characters
One weight per value, in matching order. They need not add up to 1 or 100.
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the values and a matching list of weights.
- 2
The weights are divided by their own total, so any scale works - 3 and 1 give the same result as 75 and 25.
Questions about Weighted Average Calculator
Do the weights need to add up to 1?
No. They are normalised by their own total, so 3 and 1 give the same answer as 75 and 25, or 0.75 and 0.25. That makes the tool usable for frequencies, for marks out of different totals, and for percentage weightings without converting first.
Can a weight be zero or negative?
Zero is fine - it excludes that value. Negative is refused: a negative weight can pull the result outside the range of the data, which is not an average of anything. All-zero weights are also refused, since there would be nothing to average.
When is a weighted mean the right tool?
Whenever the values do not count equally: a course grade from assignments worth different amounts, an average price across different quantities sold, or a mean computed from grouped data where each group has a frequency.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Weighted Average Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Weighted Average Calculator keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Compute the harmonic mean exactly - the right average for rates measured against a fixed numerator.
Find the arithmetic mean of a list of numbers exactly, with no floating-point drift in the sum.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.
Subtract one fraction from another exactly, showing the common denominator step.
Multiply two fractions exactly, multiplying across and reducing the result.