Chart basics

What Is a Moving Average? Simple and Exponential Moving Averages Explained

What a moving average is, how a simple and an exponential moving average are calculated, what the 50-day and 200-day lines mean, and why moving averages lag price. A plain-English beginner guide.

By Quoliv Updated November 29, 2026 5 min read

Beginner investing lessons and fake-money practice from the maker of Quoliv.

Quick answer

A moving average is a line on a price chart that shows the average price of a stock over a set number of recent periods, such as the last 50 trading days. Each new day, the oldest price drops out of the calculation and the newest one is added, so the average moves along with the chart. The result is a smoother line that makes the general direction of the price easier to see. A simple moving average weights every day equally, while an exponential moving average gives more weight to recent days. Because it is built only from past prices, a moving average always trails behind the price and does not predict where it will go next.

What you’ll learn

  • A moving average is the average price over a fixed number of recent periods, recalculated every period.
  • It smooths out day-to-day noise so the overall direction of a price is easier to see.
  • A simple moving average (SMA) weights every period equally. An exponential moving average (EMA) leans more on recent prices.
  • Common lengths include the 20-day, 50-day, and 200-day moving averages.
  • Moving averages are built from past prices, so they lag behind and cannot forecast future moves.

This explanation is part of our Day Trading lessons path, where you can explore the idea in short lessons and quizzes.

A moving average in plain English

Stock prices jump around from day to day. Looking at a raw price chart, it can be hard to tell whether a stock is generally rising, falling, or going sideways. A moving average is one way to step back and see the bigger picture.

Most moving averages are calculated from closing prices. Investor.gov lists the closing price as one of the standard figures in a stock quote, along with the open, high, low, and volume. A 10-day moving average simply adds up the last 10 closing prices and divides by 10.

The word moving matters. Tomorrow, the oldest of those 10 days drops off and tomorrow's close is added. Recalculating this every day creates a line that travels across the chart alongside the price.

A moving average is a running average of recent prices, redrawn each period to show the general direction.

A simple example

Imagine a stock closes at $20, $22, $21, $23, and $24 over five days. The 5-day simple moving average is the total, $110, divided by 5, which is $22.

On day six, the stock closes at $26. The first price, $20, drops out and $26 is added. The new five prices are $22, $21, $23, $24, and $26, which total $116, so the moving average rises to $23.20.

Notice that the stock itself jumped $2 in one day, but the moving average only rose $1.20. That gap is the smoothing effect at work, and it is also why the average reacts more slowly than the price.

Each new period adds one price and removes the oldest, so the line moves gradually rather than jumping with every change.

Simple vs exponential moving averages

Charting apps usually offer two main types. Both use past prices, but they treat recent and older days differently.

Simple moving average (SMA)Exponential moving average (EMA)
How it is calculatedPlain average of the last set number of pricesWeighted average that counts recent prices more heavily
Reaction to new pricesSlower, every day counts the sameFaster, recent moves pull the line more
SmoothnessSmoother lineMore responsive but can be jumpier
Common useSeeing longer-term directionWatching shorter-term changes in direction

Common moving average lengths

  • 20-day: covers about one month of trading days and follows price fairly closely.
  • 50-day: covers about one quarter of trading and is often used as a medium-term reference.
  • 200-day: covers about a year of trading and is widely watched as a long-term trend line.
  • Shorter averages react faster but show more noise. Longer averages are smoother but slower to change.
  • On intraday charts, the same idea applies to minutes or hours instead of days, so always check which periods the line uses.

The length you pick changes the line a lot, so compare averages of the same length when reading charts.

How traders talk about moving averages

You will often hear people say a stock is trading above or below its 200-day moving average. That is a shorthand description of whether the current price is higher or lower than its average over roughly the past year.

You may also hear about crossovers, such as a shorter average crossing above or below a longer one. Some traders call these a golden cross or a death cross. These are labels for something that already happened on the chart, not guarantees of what comes next.

Watching charts closely can make it tempting to trade often. FINRA's guidance on frequent intraday trading notes that it carries significant risk and that trading costs can add up quickly.

Above or below and crossover language describes where price sits relative to its past average, nothing more.

The limits of moving averages

Because a moving average is built entirely from past prices, it always lags. By the time the line turns, the price has usually already moved. In a choppy market that goes up and down without a clear direction, prices can cross back and forth over the average many times, producing signals that do not lead anywhere.

Company news, earnings reports, interest rates, and the overall market can move a stock regardless of where its moving average sits. Investor.gov also warns that short-term trading driven by hype carries significant risk, and a chart line does not remove that risk.

This guide is general education, not financial advice. It does not recommend any stock, indicator, or trading strategy.

A moving average summarizes where price has been. It is a description of the past, not a forecast.

Practice reading moving averages safely

The easiest way to understand moving averages is to watch them on real charts over time and compare what you expected with what actually happened. That makes the lag, and the noise, easy to see for yourself.

Quoliv's simulator shows real price charts and gives you $10,000 in fake money, so you can practice reading trends and placing trades at real prices without risking any real money.

Sources and methodology

This guide was written for education using the primary sources below. It does not evaluate your finances or recommend an investment. Read our editorial policy.