Moving Average Calculator
Calculate the simple moving average of a series of recent prices or data points to help smooth out short-term fluctuations.
What is a moving average?
A simple moving average (SMA) is the average of a set of recent data points, commonly used with stock prices to smooth out short-term noise and reveal the underlying trend. As new data comes in, the oldest point typically drops off and the newest is added.
The formula
Simple Moving Average = (Sum of the values in the window) / (Number of values in the window). Enter up to five recent values, ordered from oldest to most recent, and the calculator averages whichever fields you fill in.
This tool is for general educational purposes. A moving average is a lagging indicator based on past data and does not predict future prices or guarantee investment results.