Skip to main content
Calcimator

Moving Average Calculator

Calculate Simple Moving Average (SMA), Exponential Moving Average (EMA), Cumulative Moving Average (CMA), and Weighted Moving Average from a series of data points.

Inputs

Results

Simple Moving Average (SMA)

23

Exponential Moving Average (EMA)

23.87

Cumulative Moving Average (CMA)18
Weighted Moving Average (WMA)24.17
Periods Used10
Window Size3
How to Use This Calculator
  1. Enter the time series data points and the desired window size.
  2. Select moving average type: simple (SMA), exponential (EMA), or weighted (WMA).
  3. Review the smoothed series values and lag introduced by the window.
  4. Use shorter windows to detect trends sooner; use longer windows for noise reduction.
  5. Compare SMA vs. EMA to determine which better tracks your data underlying trend.

How the result changes with Period 10

Period 10Simple Moving Average (SMA)Exponential Moving Average (EMA)
-800,000-266,652.33-399,989.13
-300,000-99,985.67-149,989.13
300,000100,014.33150,010.87
800,000266,681400,010.87

What each input means

Period 1
Value for the first time period in your data series.
Period 2
Value for the second time period.
Period 3
Value for the third time period.
Period 4
Value for the fourth time period.
Period 5
Value for the fifth time period.
Period 6
Value for the sixth time period.
Period 7
Value for the seventh time period.
Period 8
Value for the eighth time period.
Period 9
Value for the ninth time period.
Period 10
Value for the tenth time period.
Window Size
Number of periods to include in each moving average window.
EMA Smoothing Factor
Smoothing constant for EMA calculation. Standard value is 2. Higher = more weight on recent data.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Period 1 = 10, Period 2 = 12, Period 3 = 15, Period 4 = 14 = 12 input(s) provided
  2. Calculate Simple Moving Average
    Simple Moving Average
    23 = 23
  3. Calculate Exponential Moving Average
    Exponential Moving Average
    23.8672 = 23.8672
  4. Calculate Cumulative Moving Average
    Cumulative Moving Average
    18 = 18
  5. Calculate Weighted Moving Average
    Weighted Moving Average
    24.1667 = 24.1667

Engine last updated . Checked against 1 independently-derived test how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.