Weighted Average Calculator

Calculate a weighted arithmetic mean and see every value–weight product before the final division.

Weighted Average Calculator workspace

Input

Enter your values and weights

Match every value with one nonnegative weight.

Separate with commas, spaces, or new lines. Fractions are accepted.

Weights may be decimals, percentages, or relative amounts.

Try:
Weighted average
85
xˉw=851=85\bar{x}_w=\frac{85}{1}=85
Pairs
3
Total weight
1
Weighted sum
85
Weighted mean position◆ 85
809276mean
Working

Step-by-step solution

  1. 1

    Pair each value xᵢ with its weight wᵢ; there are 3 pairs.

  2. 2

    Multiply each pair and add the products: Σ(wᵢxᵢ) = 85.

  3. 3

    Add the weights: Σwᵢ = 1.

  4. 4

    Divide: x̄w = 85 ÷ 1 = 85.

View calculation table 3 rows
Value, weight, and weighted contribution
ixiwiwixi
1800.2520
2920.546
3760.2519
Σ(wᵢxᵢ)85
Definition and correct terminology

What is a Weighted Average Calculator?

A weighted arithmetic mean assigns each observation a nonnegative weight. It divides the sum of weighted values by the sum of the weights, so only relative weight sizes matter.

Weight
A nonnegative number describing an observation’s relative influence.
Weighted contribution
The product wᵢxᵢ.
Total weight
The denominator Σwᵢ.
Normalized weight
wᵢ divided by the total weight; normalized weights sum to 1.

When to use it

  • Combine course components worth different percentages.
  • Calculate an average price from quantities purchased.
  • Summarize returns with portfolio allocations.
  • Combine subgroup means using subgroup sizes as weights.
Formula and conditions

The mathematical rule

xˉw=∑i=1nwixi∑i=1nwi\bar{x}_w=\frac{\sum_{i=1}^{n}w_i x_i}{\sum_{i=1}^{n}w_i}
xᵢ
ith value
wᵢ
nonnegative weight paired with xᵢ
x̄w
weighted arithmetic mean

Each value is multiplied by its weight; dividing by total weight normalizes the combined contribution.

Domain: The lists must have equal lengths, every weight must be nonnegative, and total weight must be positive.

WEIGHTED AVERAGECALCULATORx̄w = Σ(wᵢxᵢ) / Σwᵢ1pair xᵢ with wᵢ2sum products3divide by ΣwᵢEXAMPLE(80·.25 + 92·.50 + 76·.25) = 85www.calculatorgoat.com
Weighted Average Calculator: formula, mathematical conditions, and one verified example.
Default values and checks

Weighted Average reference table

Representative inputs, exact working, and results
InputMathematical workingResult
80, 92, 76.25, .50, .2585
10, 12, 152, 3, 171/6
6, 9, 12.2, .3, .59.9
4, 81, 04
Worked examples

Examples with interpretation

Average scores 80, 92, and 76 with weights 0.25, 0.50, and 0.25.

(80×0.25 + 92×0.50 + 76×0.25) / 1

85

The score 92 has twice the influence of each other score.

Average prices 10, 12, 15 for quantities 2, 3, 1.

(20 + 36 + 15) / 6

71/6 ≈ 11.8333

Quantities act as frequency weights.

Use weights 2, 3, 5 instead of 0.2, 0.3, 0.5.

Both sets have the same proportions.

The same weighted mean

Multiplying every weight by a common positive factor does not change the result.

Use the result correctly

Properties, limits, and mistakes

A larger weight pulls the result closer to its paired value. When all weights are equal and positive, the weighted mean reduces to the arithmetic mean.

Relative scale

Weights may be proportions, percentages, counts, or points; only their ratios matter.

Pairing matters

Reordering weights without their values changes the result.

Boundary cases

  • A zero weight makes its paired value contribute nothing.
  • Weights may sum to 1, 100, or another positive total.
  • One positive weight and all other zero weights return the value with positive weight.
  • A zero total weight is undefined.

Common mistakes

  • Dividing by the number of values instead of total weight.
  • Entering different list lengths.
  • Pairing a weight with the wrong value.
  • Treating percentage weights as values rather than weights.

Choosing the right form or mean

An ordinary arithmetic mean is the special case in which all observations have equal positive weight.

Frequently asked questions

Must weights sum to 100%?

No. Any positive total works because the formula divides by the total weight.

Can a weight be zero?

Yes. Its paired value then has no influence.

Why are negative weights rejected?

This calculator follows the standard averaging interpretation in which weights represent nonnegative influence or frequency.

What if all weights are equal?

The result equals the ordinary arithmetic mean.

Can weights be fractions?

Yes. Fractions, decimals, and whole-number frequencies are accepted.

References & technical sources

Keep calculating

Related calculators