Weighted Average Calculator with Contributions, Cumulative Results and Target Planning

Combine differently weighted values, inspect each contribution and calculate the next value required to reach a target average.

Enter values and weights

Find the next value needed for a target average

The current average and weight are filled from the main calculator. Enter the weight of one future item and the average you want.

Calculate the main table, then enter a target.

What is a weighted average?

A weighted average gives some observations more influence than others. Multiply every value by its weight, add those products, and divide by the total weight.

Weighted average = Σ(value × weight) ÷ Σ(weight)

A weight may represent importance, quantity, frequency, credits or exposure. The calculation cannot decide whether the chosen weights are appropriate; that depends on the problem being modelled.

Relative weights and percentage weights

Relative weights can use any non-negative scale. For example, weights 1, 2 and 3 give the third value three times the influence of the first. Percentage weights express each share out of 100 and must total 100% in this calculator.

Weighted-average example

Suppose scores of 80, 90 and 70 have weights of 20%, 30% and 50%. The weighted average is (80 × 20 + 90 × 30 + 70 × 50) ÷ 100 = 78.

Where weighted averages are used

Course components with different importance

If coursework scores 74 at 30%, a project scores 82 at 30%, and an exam scores 68 at 40%, the result is 74 × 0.30 + 82 × 0.30 + 68 × 0.40 = 74. Institutions may use different categories, caps and rounding rules, so check the official policy before treating the result as a recorded grade.

Average purchase price

Buying 40 units at £12 and 60 units at £15 gives an average purchase price of (40 × 12 + 60 × 15) ÷ 100 = £13.80 per unit. Quantities act as weights. Transaction costs would need to be added separately.

Portfolio return for one period

If 70% of a portfolio returns 5% and 30% returns −2%, its one-period weighted return is 2.9%, assuming those are the relevant starting weights. Returns across several time periods normally require compounding rather than a simple weighted average.

Combining group results

Two classes average 68 and 76, with 20 and 30 students. The combined mean is (68 × 20 + 76 × 30) ÷ 50 = 72.8. Averaging 68 and 76 directly would incorrectly give both classes equal influence.

Zero and missing weights

A zero-weight entry has no effect on the final result. A missing weight is different from zero and should be corrected rather than silently ignored. Negative weights are excluded because they require a specialised interpretation.

Frequently asked questions

Do relative weights need to total 100?

No. Relative weights are automatically normalised by dividing each weight by their total.

Why must percentage weights total 100%?

A percentage-weighted set should describe the complete allocation. Requiring 100% helps identify missing or duplicated shares.

Can one of the weights be zero?

Yes. That entry contributes nothing to the result, provided the total of all weights is greater than zero.

Is a weighted average always between the smallest and largest value?

Yes, when every weight is non-negative and the total weight is positive.

What does the cumulative weighted average show?

It shows the weighted result after each successive row. Changing row order changes the cumulative path but not the final weighted average.

What is the effective number of entries?

It measures how evenly influence is distributed, using (Σw)²/Σw². It equals the row count when weights are equal and becomes smaller when a few rows dominate.

Is the weighted standard deviation a sample estimate?

No. This page reports the population-style weighted spread, dividing by the total weight. Statistical sample estimators require assumptions about what the weights represent.

← All basic math calculators