LoginEnter the platform free
DOMINA › Technical analysis › The indicators › Exponential moving average (EMA) › EMA vs SMA

EMA vs SMA: weights, lag and false crossovers compared

InteractiveFind a false crossover of the EMA and one of the SMATwo clicks on a real stretch with no trend: the judge tells you whether the close really goes back.Try it →

EMA vs SMA compared: the difference on a real chart

EMA and SMA are two moving averages of the same closes, over the same period, that weigh the data differently: the SMA gives the same weight to the last n closes and none to the rest, the EMA gives more weight to recent closes and less and less to older ones, without ever dropping them. On a chart you tell them apart like this: in a steady trend they run almost together, and after a turn the EMA changes direction first.

The step-by-step EMA calculation and the weight calculator are in the lesson on the exponential moving average; the simple average has its own, on the simple moving average. Here the two averages sit side by side: how they weigh the data, the lag measured in sessions, false crossovers and the most common uses.

Two moving averages compared · same period, different weights · you choose the period, from 5 to 50 sessions
EMA versus SMA
Example: Goldman Sachs, sessions from to · EMA and SMA of the same period · adjusted prices
Interactive 20
volumeperiod start 563.47exercise stretchSMA 20EMA 20low911.03455.22884.42Jan 2, 2025Apr 3, 2025Jul 3, 2025Oct 1, 2025Dec 30, 2025
EMA lag8 sessionsSMA lag16 sessionsEMA crossovers Β· false17 · 8SMA crossovers Β· false21 · 10

With 20 periods: after the low of the EMA bottoms out 8 sessions later, the SMA 16 sessions later. In 2025 the close crosses the EMA 17 times, 8 of them false, and the SMA 21 times, 10 of them false.

The black circle is the lowest close between March and May; the amber circle is the bottom of the EMA, the blue one the bottom of the SMA. The gray band is the stretch used in the exercise. Move the slider: the counts are redone with the period you pick.

How do the EMA and the SMA weigh the data?

With the same period the two averages have the same average age of the closes, (n βˆ’ 1)/2 sessions: the whole difference is in how the weight is spread, and the EMA lesson works it out close by close. Here we look at where it falls. With 20 periods the closes split into three zones.

Fig. 1 · The weights compared, with 20 periods

the EMA weighs moreEMA 50% Β· SMA 35%the SMA weighs moreEMA 36% Β· SMA 65%only the EMA countsEMA 14% Β· SMA 0%today7 sessions ago20 sessions ago30 sessions ago20-period EMA: the bars20-period SMA: the step
  • The amber bars are the weights of the EMA, the blue step is the SMA; today is on the right.
  • The last 7 closes weigh more in the EMA: together they make up 50% of the average, against 35% in the SMA.
  • Beyond 20 sessions the SMA no longer counts anything; the EMA does: 14% of its weight comes from there.

Fig. 2 · Cumulative weight: how much of the average the latest closes make

half the weight: EMA 7 sessions, SMA 10at 20 sessions: EMA 86%SMA: 100% in 20 sessions02040sessions counted back from today100%50%
  • Across, the sessions counted back from today; up, the share of the average they make.
  • Half of the 20-period EMA comes from the last 7 closes; half of the SMA from the last 10.
  • The SMA reaches 100% in 20 sessions; at that point the EMA is at 86% and keeps going slowly, never quite getting there.
today’s weight: SMA = 1/n  ·  EMA = Ξ± = 2/(n + 1)
weight k sessions back: SMA = 1/n if k < n, then 0  ·  EMA = Ξ± (1 − Ξ±)k

With 20 periods today’s close weighs 2/21 in the EMA, almost twice the 1/20 it gets in the SMA. The three-zone count holds on a series long enough that the EMA’s starting point no longer matters.

How much does the SMA lag the EMA after a turn?

Goldman Sachs, the spring 2025 turn, measured in sessions

A moving average always comes after price. How long after is measured like this: take the lowest close, for Goldman Sachs on at $455.22, and count the sessions to the bottom of each average, its lowest value in the 60 sessions starting there.

Fig. 3 · The lag measured: Goldman Sachs, 20-period EMA and SMA

EMA 20: 8 sessionsSMA 20: 16 sessionslow
  • The 20-period EMA bottoms out 8 sessions after the low, then turns up.
  • The 20-period SMA bottoms out 16 sessions after: it keeps falling as long as the closes coming in are lower than the ones going out.
  • Candles and averages are the real prices from our archive, not a diagram.

Why the EMA gets there first: it turns up as soon as the close is above yesterday’s EMA. The SMA turns up only when the close coming in is higher than the one going out, n sessions earlier; after a sharp drop the closes going out are still high, and the SMA waits. In the table, the longer the period, the later both arrive and the wider the gap.

The lag after the Goldman Sachs low: when the EMA and the SMA bottom out, with three periods
PeriodEMA bottomSMA bottomThe SMA comes later by
10 sessions · 6 sessions · 7 sessions1 session
20 sessions · 8 sessions · 16 sessions8 sessions
50 sessions · 12 sessions · 24 sessions12 sessions

Sessions are counted from the lowest close. The count holds for this turn: another turn, or another stock, gives different numbers.

What is a false crossover, with the EMA and with the SMA?

A crossover is the session in which the close moves to the other side of the average: it was below and closes above, or the other way round. On this page a crossover is false if within 5 sessions the close goes back to the side it came from. It happens with both averages, especially when price has no trend.

Fig. 4 · The false crossover and the crossover that holds

crossoverback below within 5 sessions: falsestays above 5 sessions: holdsaverage
  • The close moves above the average: that is a crossover.
  • Within 5 sessions it falls back below: the crossover was false.
  • Later the close moves above and stays there for at least 5 sessions: the crossover holds.

The EMA weighs the latest closes more, the SMA weighs them all the same: that is why price does not cross them on the same days. But which of the two gets crossed more often is not a rule. On Goldman Sachs, with 50 periods, there are 16 crossovers on the EMA and 10 on the SMA; with 10 periods, 41 and 52. It depends on the period and on the stretch: move the slider at the top and watch them change.

Crossovers between the close and the two averages of Goldman Sachs in 2025, with three periods
PeriodEMA crossoversof which falseSMA crossoversof which false
10 sessions41285237
20 sessions1782110
50 sessions1611104

We count the 2025 sessions in which the close changes side; the last crossovers of the year that do not yet have 5 sessions after them are left out.

Interactive exerciseFind a false crossover of the EMA and one of the SMA

Goldman Sachs, from to : a stretch with no trend, two clicks, the judge tells you whether they are right and why
  1. Click a false crossover of the 20-period EMA (amber): the close moves to the other side of the line and goes back within 5 sessions.
  2. Now a false crossover of the 20-period SMA (blue).
  3. Read the verdict and the counts for the stretch.

The criteria: 1) in that session the close moves to the other side of the average; 2) within 5 sessions it goes back to the side it came from. Your click snaps to the nearest crossover, up to 2 sessions before or after.

click a false crossover

Two lines: amber the 20-period EMA, blue the 20-period SMA. First find a false crossover of the EMA.

When is the EMA used and when the SMA?

common uses, described: not advice

1Turns and short periods: often the EMA

  • with the same period it changes direction first, because it weighs the latest closes more
  • that is why it often shows up on short periods, such as 9, 12, 21 or 26 sessions

2Inside MACD: three EMAs

  • MACD is the difference between the 12-period EMA and the 26-period EMA
  • its signal line is a 9-period EMA of MACD itself

3Long-term references: usually the SMA

  • when people talk about the 50-day or 200-day average without saying more, they usually mean the simple one
  • the cross between the 50 and the 200, the golden cross, is also usually computed on SMAs

4Bollinger Bands: the SMA in the middle

  • the middle line is a 20-period SMA
  • the bands sit two standard deviations away, computed on the same 20 closes

5A count you can redo by hand: the SMA

  • the SMA uses only the last n closes: it is the same on every platform
  • the EMA depends on the session where the count starts: in the first sessions two charts can show different values

6With no trend: neither

  • in a sideways market price keeps crossing both averages
  • changing the weights does not create a trend that is not there

Exponential averages are the building blocks of MACD; the simple average is the middle line of Bollinger Bands. To tell whether there is a trend at all, before reading an average, other tools are used, such as the ADX and its +DI and βˆ’DI lines.

These are common uses, not rules and not advice: choosing between EMA and SMA depends on what you want to measure, and neither is better in absolute terms.

Deeper dives: the exponential moving average · the simple moving average · MACD · Bollinger Bands.

Where to go from here

The indicators · Moving averages

Β«Exponential moving average (EMA)Β» and its deeper dives

Exponential moving average (EMA)

  • an average that weighs recent closes more, Ξ± = 2/(n+1)
  • the step-by-step calculation, the weights, the difference from the SMA
  • the weight calculator and the two bottoms to find on a real chart

Frequently asked questions

What is the difference between EMA and SMA?

The SMA gives the same weight to the last n closes and no weight to the rest; the EMA weighs recent closes more and older ones less and less, without ever dropping them. With 20 periods half of the EMA comes from the last 7 closes, half of the SMA from the last 10.

Is the EMA faster than the SMA?

At turns, yes: it changes direction first. On Goldman Sachs, after the low of , the 20-period EMA bottomed out 8 sessions later, the 20-period SMA 16 sessions later. In a steady trend, instead, two averages of the same period have the same average age of the closes and stay close together.

Is the EMA or the SMA better?

Neither is better in absolute terms: they weigh the same closes in two different ways. The EMA often shows up where reacting earlier matters, for example inside MACD; the SMA where a simple count, the same on every platform, matters, such as the 200-day average or the middle line of Bollinger Bands.

Why does the EMA differ from one platform to another?

Because it depends on the session where the count starts: every EMA carries, smaller and smaller, the weight of its starting point. After a few hundred sessions the difference becomes tiny. The SMA uses only the last n closes and is the same everywhere.

Does the EMA give fewer false crossovers than the SMA?

Not as a rule. On Goldman Sachs, in 2025, with 50 periods there were 16 crossovers on the EMA and 10 on the SMA; with 10 periods, 41 and 52. False crossovers come mostly when price has no trend, and neither average avoids them.

Method and sources

The sources of this page: the books are cited, the text is ours
Source
John J. Murphy, Technical Analysis of the Financial Markets: ch. 9, moving averages (simple, weighted, exponential).
Charles D. Kirkpatrick and Julie R. Dahlquist, Technical Analysis (CMT program): moving averages.
Gerald Appel, Technical Analysis: Power Tools for Active Investors: MACD, built from exponential averages.
John Bollinger, Bollinger on Bollinger Bands, 2001: the bands around a 20-period simple average.

The chart uses the Goldman Sachs sessions from to from our end-of-day archive, adjusted for dividends and corporate actions: 2025 is shown, the 2024 sessions are there to start the averages. The EMA starts from the simple average of the first n closes. The rules: the low is the lowest close between and ; the bottom of an average is its lowest value in the 60 sessions starting from the low; a crossover is false if within 5 sessions the close goes back to the side it came from. The exercise stretch, from to , is chosen because it has no trend and has, on both averages, false crossovers and crossovers that hold. At every update the page recomputes the low, the lags and the false crossovers and does not go out if they do not match. Figures 1, 2 and 4 are diagrams drawn to explain; figure 3 uses real prices. This guide explains how the tools work: it does not contain investment recommendations and promises no returns. Our method · license · report an error.

Cookie preferences