⚖️ Weighted Average Calculator

Calculate a weighted average from two values and their weights, useful when the values contribute unequally.

No ratings yet — be the first

Enter details

Values and weights
barxw = (x1 w1 + x2 w2)/(w1 + w2)
with weightwith weight
  • Value A
  • Weight A
  • Value B
  • Weight B

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Weighted Average formula: Weighted average = (x1w1 + x2w2) ÷ (w1 + w2)
How the weighted average works: Weighted average = (x1w1 + x2w2) ÷ (w1 + w2)

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Weighted Average Calculator

A weighted average gives different values different influence according to their weights.

Weights can be percentages, marks weights or other relative values. They do not have to add to 100 as long as the relative proportions are correct.

🧮 Formula

Weighted average
Weighted average = (x1w1 + x2w2) ÷ (w1 + w2)

Where

  • x1 and x2 = values
  • w1 and w2 = corresponding weights
The total weight should be non-zero.

✏️ Worked examples

Marks 80 (40%) and 90 (60%)

You enter
Value A80
Weight A40
Value B90
Weight B60
You get
Weighted Average86
Total Weight100
A Contribution32
B Contribution54

Weighted average 86.

₹200 × 3 kg and ₹260 × 2 kg

You enter
Value A200
Weight A3
Value B260
Weight B2
You get
Weighted Average224
Total Weight5
A Contribution120
B Contribution104

Average price 224 per kg.

🧭 How to use this calculator

What you enter

  • Value A
  • Weight A
  • Value B
  • Weight B

What you get

  • Weighted Average
  • Total Weight
  • A Contribution
  • B Contribution

💡 Common uses

  • Exam components with different weights.
  • Course grades.
  • Business metrics with unequal importance.
  • Combining measurements with relative weights.

❓ Frequently asked questions

Do weights have to add to 100?

No. Only their relative proportions matter, although percentage weights commonly add to 100.

What happens if total weight is zero?

A weighted average is undefined when the total weight is zero; the current engine returns 0 for division by zero.

What is the weighted average formula?

(x₁w₁ + x₂w₂) ÷ (w₁ + w₂). Multiply each value by its weight, add, and divide by the total weight.