EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • All Courses
    • All Specializations
  • Blog
  • Enterprise
  • Free Courses
  • All Courses
  • All Specializations
  • Log in
  • Sign Up
Home Excel Excel Resources Excel Tips Exponential Moving Average Formula
 

Exponential Moving Average Formula

Madhuri Thakur
Article byMadhuri Thakur

Updated August 22, 2023

Exponential Moving Average Formula

 

 

Exponential Moving Average Formula (Table of Contents)
  • Formula
  • Examples

What is the Exponential Moving Average Formula?

The Exponential Moving Average (EMA) is a moving average that gives more weight to the recent data than the simple moving average. It is also known as the exponentially weighted moving average. Giving more weight to the most recent data makes the EMA sensitive to recent price changes. Calculating the EMA requires a multiplier, and the calculation needs to start with a simple moving average.

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

Traders use the EMA as a technical indicator to obtain buy and sell indicators based on historical averages. Traders usually use 20 days, 30 days, 90 days, and 200-day moving averages.

Formula –

EMA Today = Price Today * (Smoothing / (1 + Days)) + EMA Yesterday * ( 1 – (Smoothing / (1 + Days))

Example of Exponential Moving Average Formula (With Excel Template)

Let’s take an example to understand the exponential Moving Average Formula calculation in a better manner.

You can download this Exponential Moving Average Formula Excel Template here – Exponential Moving Average Formula Excel Template

Below we will look at different ways exponential moving averages can use. We can calculate the moving average for one day; in another example, we look at how different weights impact the data. And in the third example, we look at the volatility of data using moving average for three and seven years and exponential moving average assigning different weights.

Exponential Moving Average Formula – Example #1

Let us understand this concept by looking at a simple example. Consider the price of a commodity for the next ten days. Let us calculate a 15 day EMA considering Day 1 as the oldest and D15 as the latest value.

Exponential Moving Average Formula -1.1

Solution:

First, we calculated the Moving average of three days. Then using the moving average, we calculated the exponential moving average.

The moving average is calculated as

Exponential Moving Average Formula -1.2

Similarly, we will Calculate the below.

Exponential Moving Average Formula -1.3

The exponential Moving Average is calculated as

Exponential Moving Average Formula -1.4

Calculating as the same,

Exponential Moving Average Formula -1.5

Similarly, Calculated as below.

Exponential Moving Average Formula -1.6

Similarly, the calculation of the remaining days can be done.

Exponential Moving Average Formula – Example #2

Let us use the sales data below to forecast revenue for April through July using trend projections and simple exponential smoothing. Let us calculate what length of moving average and smoothing constant works best.

forecast revenue
Solution:

Exponential Moving Average Formula -2.2

In the above example, we have calculated the absolute change trend and moving average of two, three, and four periods by taking the average using those periods. To calculate the exponential average using the smoothing method, we have considered the alpha to be 0.6, 0.7, and 0.8. Using these as weights, we have calculated the average.

  • Step 1: Calculate the moving average for two periods in March – SUM({12,15})/2
  • Step 2: Calculate the exponential moving average for March- 0.6*15+(1-0.6)*12

Exponential Moving Average Formula – Example #3

Below are the years and the factory sales of firm A. Let us calculate the ESV using 0.25 and 0.50 weights and plot a graph to understand these trends.

factory sales
Solution:

MA for three years is calculated by using the average function in Excel; similarly, MA for seven-year is calculated. The exponential moving average for (W = .25) is calculated by giving 0.25 weight to the sales and 0.75 to the value obtained by the exponential average. While ESV at 0.5 gives equal weight to both the sales and the value obtained by the exponential average.

Calculating Moving Average 3 years for the year 1971.

Calculating Moving Average 3years

Similarly, calculate for all the years.

Exponential Moving Average Formula -3.3

Calculating the Moving Average 7 years for the year 1973.

Moving Average 7years

Similarly, calculate for all the years.

Exponential Moving Average Formula -3.5

Calculating ESV (W=25) for the year 1970.

ESV (W=25)

Calculating ESV (W=25) for the year 1971.

Exponential Moving Average Formula -3.7

Calculating, Similar to all the remaining years.

Exponential Moving Average Formula -3.8

Calculating ESV (W=50) for the year 1970.

ESV (W=50)

Calculating ESV (W=50) for the year 1971.

Exponential Moving Average Formula -3.10

Calculating, Similar to all the remaining years.

Exponential Moving Average Formula -3.11

Take a close look at the above graph; we observe that the sales are very volatile when taken without any average; while using the weights, we can see that the lines have averaged out and are more smooth even when compared to the moving average.

graph

Explanation

The formula for Exponential Moving Average can calculate by using the following steps:

Step 1: Calculate the Simple moving average for a particular period. The calculation of the simple moving average is quite straight forward. First, we simply find the closing prices of the stocks for a particular period. Then we divide the total sum of all these prices with the same number of period.

Step 2: Next, calculate the multiplier for finding weights. This is calculated as ( 2 / ( time period + 1)). So if we want to calculate the moving average for 90 day period, we will calculate the multiplier as ( 2/(90 + 1)) = 0.021.

Step 3: Now, finally, to calculate the EMA, we will use the formula above – (Closing Price – EMA of the previous day) * multiplier + EMA of the previous day.

Relevance and Use of Exponential Moving Average Formula

The exponential Moving Average is suitable for markets that are trending. Traders use these EMA’s with other indicators to comprehend the trend. It is particularly important for traders and trending, fast-moving markets.EMA is an important indicator for analyzing trends in commodities. It is known that EMA’s are prone to recency bias. However, there is still a conflict between the traders; more emphasis should be given on old data, or emphasis should be given on new data.

Recommended Articles

This is a guide to Exponential Moving Average Formula. Here we discuss calculating the Exponential Moving Average along with practical examples. We also provide an Exponential Moving Average, a downloadable Excel template. You may also look at the following articles to learn more –

  1. Excel Average Formula
  2. Weighted Average in Excel
  3. Excel AVERAGEIF
  4. Excel SUM MAX MIN AVERAGE
Primary Sidebar
Footer
Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

Download Exponential Moving Average Formula Excel Template

EDUCBA Login

Forgot Password?

EDUCBA

Download Exponential Moving Average Formula Excel Template

EDUCBA

डाउनलोड Exponential Moving Average Formula Excel Template

🚀 Limited Time Offer! - 🎁 ENROLL NOW