Exponential Smoothing Forecast Calculator
Operations
- Simple exponential smoothing updates the forecast each period: the new forecast is alpha times the latest actual plus (1 - alpha) times the old forecast, starting from a first forecast equal to the first actual.
- With alpha = 0.30, the forecast for period 4, made after period 3, was 103.60, against an actual of 120.00 - an error of 16.40.
- A small alpha trusts history and reacts slowly; a large alpha chases the latest observation and inherits its noise.
- Updating once more with the period 4 actual gives the forecast for period 5: 108.52.
Simple exponential smoothing is the elder statesman of forecasting: a weighted average in which yesterday matters more than last week and last week more than last month, with the weights decaying by a constant factor. It has one parameter, alpha, and one evolving forecast - and for the enormous class of demand series that wander without trend or season, it remains embarrassingly hard to beat.
Enter four actual values and an alpha between 0 and 1, and this calculator runs the recursion period by period: each new forecast is alpha times the latest actual plus (1 - alpha) times the old forecast, starting from a first forecast equal to the first actual. It returns the next-period forecast, the forecast it made for the final period, and that forecast's error - the evidence by which alpha is judged.
Worked examples
Alpha 0.3, four periods
(0.3 · 100 · 110 · 105 · 120)
| Next-period forecast | 108.52 |
| Forecast made for period 4 | 103.60 |
| Period 4 forecast error (actual - forecast) | 16.40 |
Alpha 0.8, four periods
(0.8 · 50 · 55 · 52 · 60)
| Next-period forecast | 58.48 |
| Forecast made for period 4 | 52.40 |
| Period 4 forecast error (actual - forecast) | 7.60 |
Alpha 0.5, four periods
(0.5 · 200 · 190 · 210 · 205)
| Next-period forecast | 203.75 |
| Forecast made for period 4 | 202.50 |
| Period 4 forecast error (actual - forecast) | 2.50 |
The smoothing recursion
F_new = alpha x A_latest + (1 - alpha) x F_old. Each period, the forecast moves a fraction alpha of the way from its previous value toward the latest actual. The first worked example makes the mechanics visible: the series 100, 110, 105, 120 at alpha 0.3 produces forecasts of 100, 100, 103 and 103.60 for the four periods, and updating once more with the final actual of 120 gives the next-period forecast of 108.52.
Alpha is the model's temperament. At 0.3 the forecast is a diplomat, conceding 30 percent of each surprise. The second example at alpha 0.8 is an excitable responder - on the series 50, 55, 52, 60 it chases each new value hard, and its forecast for the final period (52.40, made after seeing 52) misses the actual of 60 by 7.60. Neither temperament is 'correct': alpha prices the trade between reacting to real level shifts and chasing noise.
- F_new = alpha A + (1 - alpha) F_old; next forecast is the final updated value
- Alpha near 1: fast reaction, noisy forecast. Alpha near 0: stable forecast, slow reaction
- Initialised with the first forecast equal to the first actual
- Flat forecast function - no trend, no seasonality in this model
Worked examples and the alpha trade
The third example splits the difference: alpha 0.5 on the series 200, 190, 210, 205. Its forecast for period 4 was 202.50 - an error of only 2.50 against the actual 205 - and the next-period forecast lands at 203.75. Compare the three final-period errors: 16.40 at alpha 0.3 (caught napping by the jump to 120), 7.60 at alpha 0.8, 2.50 at alpha 0.5. On these short series the mid-to-high alphas win because the series genuinely moved; on a noisy flat series the same alphas would be whipped around by noise and the patient 0.3 would win instead.
In practice, analysts choose alpha by testing it on the series' own history - running the recursion at several alphas and keeping the value whose one-step errors are smallest - then re-checking as new data arrives. The three worked runs are that search in miniature: same method, three temperaments, and the reported period-4 error as the arbiter. Four periods is a demonstration, not a dataset; on real series the test should run over the longest stable history available.
| Series | Alpha | Forecast for period 4 | Period-4 error | Next forecast |
|---|---|---|---|---|
| 100, 110, 105, 120 | 0.3 | 103.60 | 16.40 | 108.52 |
| 50, 55, 52, 60 | 0.8 | 52.40 | 7.60 | 58.48 |
| 200, 190, 210, 205 | 0.5 | 202.50 | 2.50 | 203.75 |
When simple smoothing is the wrong tool
The model's flat forecast is its signature and its limit. A series with a genuine trend will be perpetually under-forecast by a level-only model - every forecast is the current level, and the level trails the trend by a lag proportional to (1-alpha)/alpha. A seasonal series fares no better: the level averages the seasons away. Both cases have named successors - Holt's method adds a trend state, Holt-Winters adds seasonality - and the diagnostic is in this page's errors: one-step errors that are persistently one-signed, or that oscillate with the calendar, are the model confessing.
The confession matters more than the confession's remedy. A planner who sees bias in the smoothing errors and reaches for Holt has understood the family; one who raises alpha to chase a trend has bought responsiveness at the price of noise amplification, and the MAPE on this card will usually expose the bargain.
Smoothing vs moving averages
A simple moving average weights the last k observations equally and the rest at zero; exponential smoothing weights every past observation, decaying geometrically, and needs only the previous level stored. The two are related - an alpha of 2/(k+1) mimics a k-period average's centre of mass - but the smoother's infinite memory with fading weight is usually the better temperament for demand data, and its one-number state makes it the workhorse inside inventory systems that re-forecast thousands of SKUs nightly.
That industrial role explains the model's survival. It is not the most accurate method on any benchmark suite; it is the most accurate method that a planner can explain, audit and run at scale on messy data. This calculator keeps that spirit: the full level path is printed, so every forecast can be traced back through the recursion by hand.
From forecast to decision
A level forecast is an input, not an answer. Inventory turns it into reorder points via the error distribution (the one-step errors this recursion leaves behind are the first sketch of that distribution's width); capacity planning reads it against demonstrated output; finance reads the flat line as the no-change scenario against which initiatives must justify themselves. In each case the honest accompaniment is the error history - a next forecast of 108.52 whose last error was 16.40 is a different commitment from a forecast of 203.75 whose last error was 2.50.
Which returns to why this page reports the final forecast error with the same prominence as the forecast itself. The level is one number; the error is its credibility rating. Shipping the first without the second is how planning departments lose the room.
Initialisation and the first periods
Every recursion needs a starting level, and the choice is visible in this calculator's early rows: the level is initialised at the first actual, S_1 = A_1, the standard textbook convention, which makes the first forecast (for period 2) equal to the first observation. Alternatives exist - initialising at the average of the first few observations, or backcasting - and they matter most for short series and high alpha, where the initial value's influence fades slowly or the series ends before it fades at all. With alpha 0.8, the second example's level is still visibly chasing its start after four periods.
The practical reading: distrust fine alpha comparisons on short series, because part of what is being compared is the initialisation, not the temperament. On long series the question evaporates - the weight of the first observation after n periods is (1 - alpha)^n, which at alpha 0.3 is under 3 percent by period 10 - one more reason the worked examples here run to eight points. A forecaster comparing alphas for a live SKU should use the longest stable history available and the same initialisation for every candidate, which is exactly the controlled comparison this page's two runs on the same series demonstrate.
It is worth closing with why this modest model anchors a forecasting curriculum. Everything in modern forecasting is visible inside it in miniature: a state that summarises history, a parameter that prices responsiveness against stability, an error series that diagnoses misspecification, and a forecast function whose shape confesses the model's assumptions. Holt's trend, seasonal indices, damped trends and the whole state-space family are this page's recursion with extra states and honest names. A planner who has tuned alpha by hand on a real series - watched the level lag, watched it chase noise, read the MAPE both ways - owns intuitions that no black-box AutoML forecast can give and that transfer to every fancier method. The calculator is deliberately transparent for that reason: every intermediate level is printed, so the recursion can be followed with a pencil. Learn it here, where the machinery is visible, and the rest of forecasting becomes variations on a theme you already understand. Keep the alpha, the initialisation and the error statistics stapled to any forecast this method produces: a level of 108.52 quoted bare will be compared, unfairly and inevitably, against outcomes the model never claimed to predict, whereas the same number travelling with its MAPE and its flat-function warning carries its own terms of use - and a forecaster whose numbers carry their terms survives the audit that ends vaguer colleagues.
FAQs
What forecast does the first example produce?
At alpha 0.3 the next-period forecast is 108.52; the forecast made for period 4 was 103.60, an error of 16.40.
What does alpha 0.8 do in the second example?
It weights the latest actual by alpha = 0.8: the second example reaches a next forecast of 58.48 and its period-4 error is 7.60.
What does alpha 0.5 give on the third series?
A next forecast of 203.75, with the period-4 forecast of 202.50 missing by only 2.50.
Why is the forecast flat?
Simple exponential smoothing models a level only - no trend or seasonality - so the forecast function is the current level repeated.
How is the recursion initialised?
The first forecast equals the first actual; each later forecast blends the newest actual with the previous forecast.
When should Holt or Holt-Winters replace this model?
When errors are persistently one-signed (trend) or calendar-patterned (seasonality) - the level-only model is confessing its limits.