Moving average

A moving average replaces each value in a series with the mean of a fixed number of neighbouring values. The window slides forward one period at a time. It smooths random noise so that the level or trend is easier to see, and it can serve as a simple forecast.

Also called: moving averages · rolling average · running average · simple moving average · centred moving average

What it is

A moving average is the mean of a fixed number of consecutive observations in a time series, recomputed as the window moves forward one period at a time. The result is a smoother series than the original. The NIST handbook calls this averaging process smoothing and describes the single moving average as the average of successive smaller sets of past values.

The formula for a trailing moving average is:

MA(t) = (y(t) + y(t-1) + … + y(t-N+1)) / N

The main types are:

Every observation in a simple window carries the same weight, 1/N. The NIST handbook contrasts this with exponential smoothing, in which newer observations count more.

Why it matters

Monthly or daily figures contain random movement that hides the level and the direction. A moving average shows the underlying movement without a fitted model, and it is easy to recompute and to explain.

The window length is a choice. A short window follows changes quickly and keeps more noise. A long window is smoother and reacts later.

Worked example

Illustrative numbers. Monthly sales over six months are 90, 120, 90, 150, 120 and 150. The window is three months.

The smoothed series 100, 120, 120, 140 rises steadily while the raw series jumps up and down. As a simple forecast, the next month is put at 140.

How to read it

A rising moving average indicates a rising level. The average lags the series, because it includes older values. A trailing average of a rising series sits below the last observations.

Assumptions

Who uses it

Common confusions

8Roles that need it

9Skills behind it

Sources behind this page (3) · Updated 5 Nov 2026

Concept