◎ English · Global

Weighted Average Calculator

Combine values using nonnegative weights. Lists must have equal length and at least one weight must be positive.

Enter your values

Separate numbers with spaces or semicolons; use a decimal point.
Separate numbers with spaces or semicolons; use a decimal point.
Example result
Weighted mean
23.33333333

The initial result uses the example values. Enter your own values and calculate again.

How it works

In this guide

Combine values using nonnegative weights. Lists must have equal length and at least one weight must be positive.

Inputs and units
Weighted Average Calculator · Inputs and units
InputExample valueWhat to enter
Values10 20 30Separate numbers with spaces or semicolons; use a decimal point.
Weights1 2 3Separate numbers with spaces or semicolons; use a decimal point.
x̄ = Σ(wx)/Σw

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Values
10 20 30
Weights
1 2 3

Complete example results

Weighted mean
23.33333333

Reading the result

Keep the list to one kind of measurement. Outliers can affect the mean; sample and population formulas use different denominators. The tool applies its stated method and does not establish the quality of your data.

Match each value to the weight in the same position

For values 60 and 80 with weights 40 and 60, the weighted sum is 60 × 40 + 80 × 60 = 7,200. Dividing by the weight total of 100 gives 72. The first weight applies to the first value, so reversing only one list changes the calculation.

Weights do not have to total 100

Weights 0.4 and 0.6 give the same mean as 40 and 60 because the formula divides by their total. Counts, proportions or other nonnegative relative weights can be used, provided they have the intended meaning. A zero weight excludes that value’s contribution; at least one weight must be positive, and both lists must have equal length.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Methods & accuracy

What would you like to calculate?

Browse all calculators