
Updated November 2026
In SMA vs EMA, the exponential moving average reacts faster. A simple moving average (SMA) gives every close in its window the same weight, while an exponential moving average (EMA) gives more weight to recent prices, so it responds sooner to price changes.
That is the short answer to EMA vs SMA, and it has two catches. With matching settings, both lines trail a steady trend by about the same distance. And the EMA is slower to forget an old shock, while the SMA forgets it all at once, on a day of its own choosing. This comparison computes both averages on the same illustrative price series to show the difference between SMA and EMA in numbers. For how traders use the lines, see how to use moving averages.
SMA vs EMA at a glance
The simple moving average vs exponential moving average, side by side, with 5-period settings where a number is needed:
Simple moving average (SMA) | Exponential moving average (EMA) | |
|---|---|---|
Calculation | Sum of the last n closes, divided by n | Today's close × multiplier, plus yesterday's EMA × (1 − multiplier) |
Weight on the latest close (5 periods) | 1 ÷ 5 = 20% | 2 ÷ 6 = 33.3% |
Old data | Drops out completely after n periods | Fades but never leaves: in a long-running 5-period EMA, the last five closes carry 86.8% of the weight and older ones the rest |
Reaction to a sudden move | Slower | Faster |
Distance behind a steady trend (same n) | About (n − 1) ÷ 2 periods of movement | About the same, once it has settled |
Quirk | Can move on a day the price does not, when an old close leaves the window | Keeps part of every past shock |
How each average is calculated
SMA. Add the last n closes and divide by n. Investopedia's example adds 20 daily closes to get $311, so the 20-day SMA is $311 ÷ 20 = $15.55. Each close counts the same, which is why the SMA gives yesterday's price the same weight as the oldest one in its window.
EMA. The EMA formula is EMA = close × multiplier + previous EMA × (1 − multiplier), where the multiplier is usually 2 ÷ (n + 1). For a 20-period EMA that is 2 ÷ 21 = 0.0952. The EMA needs a starting value: the usual method takes the SMA as the first EMA and calculates from the next period on. For a short definition, see exponential moving average.
The same price series, both averages
The table follows one illustrative market for 19 days. The closes are invented, not market data; both averages use 5 periods, so the EMA multiplier is 2 ÷ 6, or one third. The series has four phases: flat, a one-day spike, a steady rise of 2 a day, and a turn.
Day | Close | 5-period SMA | 5-period EMA | Close minus SMA | Close minus EMA |
|---|---|---|---|---|---|
1 to 4 | 100 each day | not yet (needs 5 closes) | not yet | ||
5 | 100 | 100.00 | 100.00 (starts from the SMA) | 0.00 | 0.00 |
6 | 110 | 102.00 | 103.33 | +8.00 | +6.67 |
7 | 100 | 102.00 | 102.22 | −2.00 | −2.22 |
8 | 100 | 102.00 | 101.48 | −2.00 | −1.48 |
9 | 100 | 102.00 | 100.99 | −2.00 | −0.99 |
10 | 100 | 102.00 | 100.66 | −2.00 | −0.66 |
11 | 100 | 100.00 | 100.44 | 0.00 | −0.44 |
12 | 102 | 100.40 | 100.96 | +1.60 | +1.04 |
13 | 104 | 101.20 | 101.97 | +2.80 | +2.03 |
14 | 106 | 102.40 | 103.32 | +3.60 | +2.68 |
15 | 108 | 104.00 | 104.88 | +4.00 | +3.12 |
16 | 110 | 106.00 | 106.58 | +4.00 | +3.42 |
17 | 106 | 106.80 | 106.39 | −0.80 | −0.39 |
18 | 102 | 106.40 | 104.93 | −4.40 | −2.93 |
19 | 100 | 105.20 | 103.28 | −5.20 | −3.28 |
Checking the first rows. Day 5: the SMA is 500 ÷ 5 = 100.00, and the EMA starts there. Day 6: the SMA is (4 × 100 + 110) ÷ 5 = 102.00; the EMA is 110 × ⅓ + 100.00 × ⅔ = 103.33. Day 7: the EMA is 100 × ⅓ + 103.33 × ⅔ = 102.22.
What the table shows
- The spike (day 6): the EMA reacts faster. A one-day jump of 10 lifts the EMA by 3.33 and the SMA by 2.00. The EMA moves a third of the gap; the SMA moves a fifth of the change.
- After the spike (days 7 to 11): two ways to forget. Price is back at 100 from day 7, but the SMA sits at 102.00 for five days, then drops 2.00 on day 11, a day the price did not move, because the spike has left its window. The EMA fades a little each day instead (102.22, 101.48, 100.99, 100.66) and is still 0.44 above the price on day 11.
- The steady rise (days 12 to 16): about the same lag. With price rising 2 a day, the SMA trails by 4.00 on days 15 and 16. The EMA trails by 3.42 on day 16 and is still closing in on 4. The reason is that, with these settings, both lines have the same average age: the SMA's five closes are 0 to 4 days old, 2 days on average, and the EMA's weights also average 2 days. A line 2 days behind a market rising 2 a day trails it by 4.
- The turn (days 17 to 19): the EMA turns a day earlier. Both averages are above the close on day 17. The EMA turns down that day, from 106.58 to 106.39. The SMA rises, from 106.00 to 106.80, because the close leaving its window (102, from day 12) is lower than the new one (106). It turns down on day 18.
Length matters more than type
The period you choose changes reaction speed more than the choice between SMA and EMA. The weight each line puts on the latest close:
At each length the EMA weights the latest close about twice as heavily. Across lengths the gap is far larger: a 5-period SMA (20%) reacts more to a new close than a 20-period EMA (9.52%). Both types are still lagging: all the moving averages commonly used in technical analysis are lagging indicators, because both are built from closes that have already happened. Where each sits among other tools is covered in leading and lagging indicators.
Which should you use?
Neither is better in every market. Each trades one weakness for another:
- Speed has a cost. Many traders read recent prices as the better guide to the current trend; others find that overweighting recent data creates a bias that leads to more false alarms. The day-6 spike shows both: the EMA moved more, for a move that reversed the next day.
- Steadiness has a quirk. The SMA ignores the order of prices inside its window, so it can hold a level for days and then jump when an old close drops out, as on day 11.
- Conventions, not rules. Short-term traders often use 8- and 20-day EMAs, and longer-term ones 50- and 200-day lines. The 12- and 26-day EMAs are the inputs to MACD.
Whichever you pick, read the chart's label: an SMA and an EMA of the same length draw different lines, and a level "on the 200" means different prices on each.
What each extra signal costs
A faster line crosses price more often, and each crossing you act on is a round trip that pays the spread or the fee, whatever the trade then does. The moving averages tip works out what a run of false crosses costs. Zero commission on forex, stock indices and commodities: you pay the spread. Crypto perpetuals are 0.045%. See what Ouinex charges on each market.
CFDs and perpetuals are leveraged products: leverage amplifies both gains and losses. Check the leverage and margin terms on Ouinex before you open a position. Trading leveraged products carries a high risk of loss.
FAQ: SMA vs EMA
Which is better, EMA or SMA?
Neither is better in every market. The EMA reacts faster to a sudden move and turns earlier, which also means more false alarms. The SMA is steadier but can jump when an old close leaves its window. With matching settings, both trail a steady trend by about the same amount. The length you choose matters more.
Is SMA the same as EMA?
No. Both average past closes over a chosen number of periods, but the SMA weights every close in its window equally and drops the oldest one each day, while the EMA weights the latest close most and lets older closes fade without ever leaving entirely. On the same chart they draw different lines.
Is the 200 SMA or the 200 EMA better?
Neither is better; they are different lines. A 200-period EMA puts 0.995% of its weight on the latest close against 0.5% for the SMA, so it turns a little sooner. At that length both move slowly. What matters is knowing which one a chart, or a level quoted to you, refers to.
Why does an SMA move when the price does not?
Because an SMA changes when an old close leaves its window as well as when a new one arrives. If the close dropping out differs from today's, the average moves even on a flat day. In the worked example, the SMA fell 2.00 on day 11, five days after a spike, with the price unchanged.
Conclusion
In SMA vs EMA, the EMA reacts faster to a sudden move and turns sooner at a top or bottom. It does not trail a steady trend by less, with matching settings, and it pays for its speed with more false alarms. The SMA is steadier but carries the drop-off effect. Choose the length first, then the type, and read which one the chart shows.
Trading leveraged products carries a high risk of loss. Before you act on any moving-average signal, check what each trade costs on the Ouinex fees page.
Sources
- Investopedia: Decoding Exponential and Simple Moving Averages for Traders (updated 16 September 2026), for the EMA responding sooner to recent prices, the SMA's equal weights and its worked $15.55 example, and the 8- and 20-day and 50- and 200-day conventions
- Investopedia: Exponential Moving Average (EMA): Definition, Formula, and Usage (updated 20 November 2026), for the EMA formula and multiplier, starting the EMA from the SMA, the 18.18% and 9.52% weights, the 12- and 26-day EMAs in MACD, moving averages as lagging indicators, and the false-alarm criticism of overweighting recent data



