What Is a Moving Average?

A moving average is a technical indicator formed by averaging a stock's closing prices over a set period and connecting those averages into a line.

Moving average = sum of the closing prices over the most recent n days ÷ n

What the Indicator Shows

A moving average smooths out the small fluctuations in day-to-day price movement, making it easier to grasp the broad direction (trend) of a stock. Depending on the number of days used, the line can be classified as short-, medium-, or long-term, and it is common to display several different periods together for comparison.

How to Read It, and What to Watch Out For

Some view the price trading above its moving average as an upward bias and below it as a downward bias, but this is not an absolute criterion. Because a moving average is calculated from past prices, it also tends to lag behind sudden shifts in the market — a characteristic worth keeping in mind.

This article is provided for general informational purposes only and does not recommend or solicit the purchase or sale of any specific investment method or security. Final investment decisions are your own responsibility.

Frequently Asked Questions

How many days are commonly used to calculate a moving average?
Common periods include 5, 25, 75, and 200 days, chosen depending on the purpose. Shorter periods react more sensitively to recent price movement, while longer periods produce a smoother line that tends to show medium- to long-term trends.
If the price is above its moving average, is that an uptrend?
Price trading above its moving average is one way of viewing an upward bias, but it is not an absolute criterion. It is common to also check the slope of the moving average and the relative positions of multiple periods.