Skip to main content
Calcimator

SMA & EMA

5-point simple and exponential moving average for a mini price series.

Inputs

Results

SMA(5)

10.44

EMA(5)10.5155
How to Use This Calculator
  1. Enter five consecutive price observations from oldest (t-4) to newest (t).
  2. Adjust the EMA smoothing factor -- higher values weight recent prices more heavily.
  3. Compare the SMA (equal-weight average) with the EMA (exponentially weighted) to see how the smoothing factor affects trend detection.

How the result changes with Price t-1

Price t-1SMA(5)
100,000,000,00020,000,000,008.28
350,000,000,00070,000,000,008.28
650,000,000,000130,000,000,008.28
900,000,000,000180,000,000,008.28

What each input means

Price t-4
Oldest observation.
Price t-3
Second-oldest price observation in the series.
Price t-2
Middle price observation in the five-point series.
Price t-1
Second-most-recent price observation.
Price t
Latest observation.
EMA smoothing
Higher = more weight on latest price.

How this is calculated

Formula

SMA(n) = Σ(prices) / n | EMA = α × Price + (1 − α) × Previous EMA

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.