Weighted Average Calculator (Values and Weights)

Enter matching lists of values and weights to calculate the weighted average.

How it is calculated

Each value is multiplied by its own weight, the products are added up, and the sum is divided by the total of the weights.

x̄ = (v₁·w₁ + v₂·w₂ + … + vₙ·wₙ) ÷ (w₁ + w₂ + … + wₙ)

v are the values (any unit, such as points or percent) and w the weights. Weights can be percentages, credits or any non-negative numbers; only their proportions matter, so they do not need to add up to 100. Separate numbers with commas, spaces or semicolons. A decimal point always works inside a number; a decimal comma such as 1,5 is read as 1.5 only when the entries are separated by spaces or semicolons (for example 88; 76,5; 93). Both lists must have the same number of entries. The average is shown to 4 decimals and the total weight to 2. There is no result if the lists differ in length, an entry is not a number, any weight is negative, or the weights add up to zero.

Worked example

Three scores 88, 76 and 93 carry weights 30, 30 and 40. Products: 88×30 = 2640, 76×30 = 2280, 93×40 = 3720. Sum of products: 8640. Total weight: 30+30+40 = 100, shown as 100.00. Divide: 8640 ÷ 100. The weighted average is 86.4000. A plain average of the three scores would be 85.67, so the heavier last score pulls the result up.

Try this example →

Common mistakes

  • Putting the lists in a different order, so a score is paired with another item's weight. The first value always pairs with the first weight.
  • Entering a different number of weights than values; the tool then gives no result instead of guessing.
  • Typing weights with a percent sign (30%) or as a negative number. Enter plain non-negative numbers such as 30; a % sign or a negative weight gives no result.
  • Mixing up decimal commas and separating commas. In a list written only with commas, such as 1,5,2, every comma separates entries, so it is three numbers; to use a decimal comma separate the entries with spaces or semicolons (1,5 2 or 1,5; 2), or simply write 1.5.
  • Expecting weights to add up to 100. They do not have to, but then the total weight shown is not 100 and the average is still correct.

About this calculator

A weighted average gives each value in a list its own level of importance instead of treating all values equally: it’s calculated as the sum of each value multiplied by its weight, divided by the sum of all the weights — Σ(value × weight) ÷ Σ(weight). This differs from a simple average, which implicitly gives every value the same weight of 1, and it matters whenever some inputs should count for more than others.

Teachers and students use weighted averages to calculate course grades where exams count more than homework, investors use them to find the average cost basis or return of a portfolio where different holdings represent different amounts of capital, and statisticians use them when combining survey data or measurements that carry different sample sizes or reliability levels.

Was this helpful?

You can pick up to 3 reactions.

Comments

  • Be the first to comment.

Popular calculators

All Calculators