Moving Average Calculator

Calculate simple, exponential or linearly weighted moving averages from chronological data or closing prices.

Result
—

How to calculate

Average each trailing window for the SMA. For the EMA, seed with the first window average and apply weight two divided by one plus the period to each new value. For WMA, assign increasing weights from one to the window length.

Worked example

Use Moving average type Simple (SMA) · Window length 3 · Values in chronological order 4, 8, 10, 12, 14. The result is 12.

Input and result notes

Enter values from oldest to newest and separate them by spaces, commas, or lines. The table begins after the first complete window.

Fidelity simple moving average

Fidelity exponential moving average

Related calculators