Free Moving Average Calculator
Calculate the simple moving average (SMA) of the most recent data points to smooth time-series data.
5-Period SMA
13.8000
3-Period SMA (last 3)15.6667
Range8.0000
5-Period SMA vs Value 1 (oldest)
How to Calculate a Simple Moving Average
Formula
SMA(n) = (v1 + v2 + ... + vn) / n
The simple moving average smooths data by averaging the most recent n observations. As new data arrives, the oldest point drops off and the newest is added. SMA reduces noise and reveals underlying trends in time-series data.
Example Calculation
Daily sales: 10, 12, 15, 14, 18. Calculate the 5-day moving average.
- 01Sum = 10 + 12 + 15 + 14 + 18 = 69
- 025-period SMA = 69 / 5 = 13.8
- 033-period SMA (last 3) = (15 + 14 + 18) / 3 = 15.6667
Frequently Asked Questions
Learn More
Understanding the Normal Distribution
Learn what the normal distribution is, why it matters in statistics, and how to use the bell curve for probability calculations, z-scores, and real-world data analysis.