1. Decide the span (that is, *n*). That is, how many past data points will be used to predict today's (this month's, this quarter's, etc.) value.
2. Calculate the average of the past data points of the span and use it as the forecast.
3. Calculate performance measures, such as MAE, MAPE, and RMSE.
4. Calculate a confidence interval, which is typically "forecast ± 2\*RMSE."