Maths & numbers

Weighted average

Calculate an average with a different weight for each value.

Weighted average
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Weighted mean = Σ(value × weight) / Σ(weight). Lists must have the same length, weights must be non-negative and at least one must be positive. Weights need not add up to 100.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Values (commas or new lines)
80, 90, 70
Matching weights
2, 3, 1

Example result

Weighted average
83.3333333333
Total weight
6
Items
3