CalcWorldHub
Free online calculator · no signup

Weighted moving average calculator

A weighted moving average combines each value with its matching nonnegative weight and divides by the total weight.

Weighted moving average calculator — Values, oldest to newest, Weights in matching order and calculation method
Weighted moving average calculator: inputs and calculation method.

How to use this calculator

A weighted moving average combines each value with its matching nonnegative weight and divides by the total weight.

  1. Enter Values, oldest to newest, Weights in matching order. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

How Weighted moving average calculator works

A weighted moving average combines each value with its matching nonnegative weight and divides by the total weight.

Inputs and units

  • Values, oldest to newest: Values are entered in order, oldest to newest.
  • Weights in matching order: Weights must align position-by-position with the values, be nonnegative, and have a positive total.

Formula and method

x̄w=Σᵢwᵢxᵢ/Σᵢwᵢ.

Worked example

Values 4, 6, 8 with weights 1, 2, 3 give (1·4+2·6+3·8)/(1+2+3)=40/6≈6.66667.

Interpreting the result

The largest weight has the strongest influence; multiplying every weight by the same positive constant leaves the average unchanged.

Assumptions and limits

The value and weight lists must have the same positive length, with finite values, finite nonnegative weights, and at least one positive weight. Weights are not required to sum to one.

Frequently asked questions

Must weights sum to one?

No. The formula divides by their total, so any positive common rescaling gives the same result.

Can a weight be zero?

Yes. A zero weight excludes that value from the weighted average.

How do I use the Weighted moving average calculator?

Enter Values, oldest to newest, Weights in matching order. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Weighted moving average?

Values 4, 6, 8 with weights 1, 2, 3 give (1·4+2·6+3·8)/(1+2+3)=40/6≈6.66667.

What does the Weighted moving average calculator calculate?

A weighted moving average combines each value with its matching nonnegative weight and divides by the total weight.

Related calculators