Moving Average Calculator

Compare SMA, EMA, WMA, DEMA and TEMA using a chronological price series.

Your inputs

The starting values are an illustrative example. Calculations run locally; your inputs are not sent to a data provider.

Separate prices with commas, spaces or new lines. No thousands separators. Keep one currency, interval and adjustment basis. Maximum 2,000 observations.

Illustrative example result

Latest SMA: 116.805. Period: 14. Input order: oldest to newest.

50 records

Calculation steps, oldest observation first. Unavailable values are warm-up or undefined windows; they are not zero.
1100
2102.08
3102.62
4101.48
5100.09
6100.08
7101.84
8104.11
9105.18
10104.42
11102.91
12102.4
13103.73
14106.04102.6414
15107.58103.1829
16107.3103.5557
17105.82103.7843
18104.88104.0271
19105.7104.4279
20107.9104.9864
21109.83105.5571
22110.07105.9829
23108.78106.24
24107.51106.4607
25107.79106.8093
26109.74107.3336
27111.93107.9193
28112.71108.3957
29111.74108.6929
30110.27108.905
31110.02109.205
32111.59109.6843
33113.9110.27
34115.2110.7914
35114.66111.1364
36113.14111.3557
37112.42111.6157
38113.51112.0443
39115.79112.6157
40117.53113.1721
41117.49113.5693
42116.08113.81
43114.97114.0407
44115.54114.4171
45117.64114.9614
46119.7115.5407
47120.2115.9907
48119.05116.2657
49117.66116.48
50117.69116.805

How to read these results

Formula & calculation basis

SMA is the mean of n values. WMA gives oldest to newest observations weights 1 through n. EMA starts with the first n-value mean and uses α = 2/(n+1). DEMA = 2×EMA − EMA(EMA). TEMA = 3×EMA − 3×EMA(EMA) + EMA(EMA(EMA)); each nested EMA seeds from n valid values.

Coverage & limitations

SMA, WMA and EMA need n values; DEMA needs 2n−1; TEMA needs 3n−2. Warm-up values remain unavailable. Data is processed oldest first; this tool does not fill missing dates or adjust prices for corporate actions.

Sources & update policy

Methodology reference ↗

Example inputs are synthetic and are not company data or a forecast. The formula version is dated 2026-10-28. Calculations do not fetch market data.

Continue the research

Explore company records and their sources with Pineify Finance Agent.

Open Finance Agent ↗