Glossary term

Simple Moving Average (SMA)

A simple moving average is an unweighted rolling average of prices over a chosen number of periods.

Updated

May 24, 2026

Read time

3 min read

What Is a Simple Moving Average?

A simple moving average, or SMA, is an unweighted rolling average of prices over a chosen number of periods. Each observation in the lookback window receives the same weight, so a 20-day SMA averages the most recent 20 closing prices and updates as each new price arrives.

Traders and investors use SMAs to smooth daily price noise, identify trend direction, compare short-term and long-term momentum, and frame support or resistance. The indicator is simple by design, which makes it easy to understand but also slower to react than more heavily weighted averages.

Key Takeaways

  • An SMA is a rolling average where each included price has equal weight.
  • Common periods include 20-day, 50-day, 100-day, and 200-day SMAs.
  • Shorter SMAs react faster but can create more false signals.
  • Longer SMAs smooth more noise but lag trend changes.
  • An SMA is a trend tool, not a standalone trading system.

SMA Formula

The basic formula is:

Simple moving average = Sum of prices in the period / Number of periods

If a stock's last five closing prices were $20, $21, $22, $22, and $25, the 5-day SMA would be $22. The next day, the oldest price drops out and the newest closing price enters the calculation.

How Traders Use SMAs

An SMA can show whether price is generally above or below its recent average. A stock trading above a rising 50-day SMA may be in a constructive intermediate trend. A stock trading below a falling 200-day SMA may be in a weaker long-term trend.

Some traders watch crossovers. A shorter SMA crossing above a longer SMA can be read as improving momentum. A shorter SMA crossing below a longer SMA can suggest deterioration. The signal is not automatic proof of a profitable trade; it is a structured way to notice trend change.

Common SMA Periods

SMA period

Typical use

10-day or 20-day

Short-term trend and active trading context.

50-day

Intermediate trend watched in market commentary.

100-day

Medium-to-long trend filter.

200-day

Long-term trend reference for major indexes and stocks.

SMA Versus EMA

A simple moving average gives equal weight to every price in the window. An exponential moving average gives more weight to recent prices, so it generally reacts faster. Neither is universally better. The better tool depends on whether the trader wants smoother trend context or quicker reaction.

Because the SMA treats old and recent prices equally within the window, it can lag quickly changing markets. That lag can be useful when the goal is filtering noise, but costly when the market reverses sharply.

Trading Discipline

SMAs are most useful when paired with a plan. A price touch of a moving average does not guarantee support. A crossover does not guarantee a new trend. Volume, volatility, market regime, position size, and exit rules still matter.

The practical value is consistency. An SMA gives traders a repeatable reference point so decisions are not based only on emotion, headlines, or one volatile session.

Market Regime Matters

SMAs behave differently in trending and sideways markets. In a strong trend, a moving average can help traders stay aligned with direction and avoid reacting to every pullback. In a range-bound market, the same average may be crossed repeatedly, creating whipsaw signals. That is why many traders use SMAs with other context, such as volume, volatility, support and resistance, or broader market breadth.

The selected price input matters too. Most charting platforms use closing prices by default, but traders can calculate SMAs from highs, lows, typical price, or intraday data. Different inputs can change the signal, especially in volatile markets.

The Bottom Line

A simple moving average is an equal-weighted rolling average used to smooth price data and read trend direction. It is useful because it is transparent, but it should be treated as one input inside a broader risk-managed trading process.

Related Terms