How to Calculate Simple Moving Average?

How do you find Simple Moving Average (SMA)?

SMA Calculation

Simple moving average is a simple or arithmetic moving average that is calculated by adding all the closing prices for a number of time periods and then dividing it by the total number of periods. Learn how to calculate simple moving average in this tutorial.
How To Calculate Simple Moving average
Formula :
SMA = (Pm + Pm-1 + .......Pm-(n-1)) / n
Where,
(Pm, Pm-1,......, Pm-(n-1)) - Closing Prices of m Periods
n - Total Number of Items.
Simple Moving average Formula
Step 1 :Consider the closing prices of 5 items as 10, 15, 20, 25, and 30 for 5 days. What is the SMA?
Given,
Closing Prices (P1, P2, P3, P4, P5) = 10, 15, 20, 25,30
n = 5
m = 5
Simple Moving average Calculation Step1
Step 2 :Applying the values in the formula,
Simple / Arithmetic Moving average = (10 + 15 + 20 + 25 + 30) / 5
= 100 / 5
= 20
Simple Moving average Calculation Step2
Calculate SMA online using Simple moving average calculator


Related Topics