Moving Average Calculator
Calculate a trailing simple moving average in input order.
Results and explanation
Enter your inputs to get started.
Numbers are processed locally. Results use floating-point arithmetic and up to 10 significant digits. List fields accept commas, spaces or line breaks.
How to use this calculator
Enter values in time order and choose a whole-number window. The tool calculates a trailing simple moving average.
Worked example
For 10, 20, 30, and 40 with a window of 3, the averages are 20 and 30.
Check the units and assumptions before using your result. Explore related calculators or read our statistics guides.