Skip to content
Zesona
Moving Average CalculatorLocal

Moving Average Calculator

Compute simple, weighted and cumulative moving averages exactly, without padding the start with data that is not there.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

13 characters

Separate with commas, spaces or new lines. A column pasted from a spreadsheet works. Processed in your browser.

Ready

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Enter your series and the window size.

  2. 2

    The output is shorter than the input by one less than the window, because the first full window does not close until then.

Questions about Moving Average Calculator

Why is the output shorter than my input?

Because a window of 3 has no complete window until the third value. Padding the start with partial averages would make the series look longer than the data supports and would distort the beginning of any chart drawn from it.

What is the weighted version?

It gives the most recent value in each window the largest weight, linearly: in a window of 3 the weights are 1, 2 and 3. It reacts faster to a change than the simple average, at the cost of being noisier.

What does a moving average cost me?

Lag. It smooths noise by averaging over the past, which delays every turning point by roughly half the window. A 20-day average of a series that turns today will not turn for about ten days. That matters if you are using it to decide something.

Is my data sent anywhere?

No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.

Does the Moving Average Calculator work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Moving Average Calculator keeps working with the network switched off and nothing is ever sent to a server.

Other tools you might reach for next.