What is an exponential moving average?
Revised 2026-11-21An exponential moving average (EMA) is a moving average that gives more weight to recent prices and progressively less to older ones, so it reacts to new moves faster than a simple moving average of the same length.
Exponential moving average (EMA), explained
A simple moving average treats every price in its window equally and then forgets a price completely the day it leaves. An EMA never forgets a price entirely; it lets each one fade. Each new value is calculated as EMA today = price today × k + EMA yesterday × (1 − k), where the multiplier k is 2 ÷ (n + 1). For a 20-period EMA, k is 2 ÷ 21, or about 0.095, so today's close carries roughly 9.5% of the weight and everything before it shares the rest.
The practical difference is speed. After a sharp move, a 20-period EMA bends towards the new price sooner than a 20-period SMA, and it also flattens sooner when the move stalls. That makes it a common choice on shorter timeframes, where lag is more costly, and it is the building block of the MACD indicator, which is the difference between a 12-period and a 26-period EMA.
The faster response has a cost: an EMA also reacts more to moves that reverse, so it changes direction more often. Neither type is more accurate in any general sense. They answer slightly different questions about how much the most recent prices should count.
Because an EMA depends on every earlier value, two charts can show slightly different EMAs for the same market if their price history starts on different dates. The difference shrinks as more data is included, but it is one reason indicator values do not always match exactly across platforms.
Exponential moving average (EMA): common questions
What is the difference between an EMA and an SMA?
An SMA weights every price in its window equally. An EMA gives the most weight to the newest price and less to each older one, so it responds to new moves sooner and changes direction more often.
How is the EMA multiplier calculated?
The multiplier is 2 ÷ (n + 1), where n is the number of periods. A 10-period EMA uses about 0.18; a 50-period EMA about 0.039.