Weighted average

Combine two values with their relative weights.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
x̄ = (a × w₁ + b × w₂) ÷ (w₁ + w₂)

Variables & units

First value
Numeric value · minimum -1000000000000
First weight
Numeric value · minimum 0
Second value
Numeric value · minimum -1000000000000
Second weight
Numeric value · minimum 0

Worked example

80 weighted at 40 and 90 weighted at 60 gives 86.

Assumptions

Weights are relative and do not need to add up to 100.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.