Skip to content
Omnikalc

What is the new exponential moving average?

Enter the latest value, the previous EMA and the period: get the smoothing factor, the new EMA, how far the value is from its average and the half-life of an observation.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Results

New EMA

100.769

Smoothing factor α = 2 ÷ (N + 1)
0.1538
Latest value minus the new EMA
4.231
The latest value is above its EMA: momentum is upward
Half-life of an observation (in periods)
4.15
Weight carried by the last N observations
86.5%
Weight of each observation in a simple average
8.33%

An exponential moving average (EMA) smooths a series of values, such as daily prices, temperatures or website visits, while giving more weight to recent observations. A simple moving average treats all of its values equally and drops the oldest abruptly, whereas the EMA lets old values fade out gradually. This calculator updates an EMA from the previous EMA and the latest value, and shows how quickly the average reacts.

How the calculation works

  • Smoothing factor α = 2 ÷ (N + 1), with N the period
  • New EMA = α × latest value + (1 − α) × previous EMA
  • Half-life = ln(0.5) ÷ ln(1 − α), the number of periods after which an observation has lost half of its weight
  • Weight of the last N observations = 1 − (1 − α)^N

Example

With a 12-period EMA, α = 2 ÷ 13 = 0.1538. The previous EMA was 100 and the latest value is 105, so the new EMA is 0.1538 × 105 + 0.8462 × 100 = 100.77. The latest value is above its EMA by 4.23. An observation loses half its weight after about 4.1 periods, and the last 12 observations carry about 87% of the total weight, compared with 8.33% each in a simple 12-period average.

Choosing the period

A short period reacts quickly but follows the noise. A long period is smooth but lags behind real changes. Traders often use 12 and 26 periods, or 50 and 200 for slower trends. Outside finance, the EMA is used for forecasting demand, smoothing sensor readings and tracking performance over time, with the period chosen to match how fast the underlying process changes.

Limits

The EMA always lags the data, and it cannot predict turning points. At the start of a series the first EMA values depend on the starting value you choose. The more observations that have passed, the less that choice matters. Use the EMA as a summary of the recent trend, not as a forecast on its own.

Frequently asked questions

What is an exponential moving average?

A moving average that gives more weight to recent values, so it reacts faster to changes than a simple moving average.

How is the smoothing factor chosen?

The usual choice is α = 2 ÷ (N + 1), where N is the period. A 12-period EMA has α = 0.1538.

How do I start the EMA?

A common start is the simple average of the first N values, or just the first value.

Is this investment advice?

No. The calculator only applies the formula; moving averages are used with many other tools.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.