This statistics calculator computes a simple moving average over a finite numeric sequence and compares the latest value with the latest average.
Finance
Moving Average Calculator
Calculate a simple moving average over a finite numeric sequence.
Calculator
About this calculator
Formula notes
SMA at position t = (x_t + x_(t-1) + ... + x_(t-period+1)) / period using a trailing window.
Worked examples
- Example: 10, 11, 12, 13, 14 with period 3 gives moving averages 11, 12, and 13.
- For 1, 4, 7, 10, 13 with period 3, the trailing moving averages are 4, 7, and 10.
How to use it
- Enter a list of finite numbers.
- Enter the moving-average period.
- Read the moving averages, latest average, and latest-value relationship.
Frequently asked questions
What separators are accepted?
Commas, semicolons, and whitespace are all accepted as separators.
What if the period is longer than the list?
The tool rejects the period because at least one complete trailing window is required.
Limits and interpretation
- The simple moving average gives equal weight to every value in the window and does not model trend, seasonality, or volatility.
- The result depends on the chosen period; different periods can change both the averages and the latest-value comparison.