Last Updated on December 29, 2021 at 6:15 pm
In this article, let us consider an example of calculating the annualized return from a stock investment after accounting for corporate actions like dividends and stock splits. We shall consider Colgate-Palmolive the oldest stock in my portfolio.
The calculator used in this illustration can also handle bonuses, buybacks and rights issues. It was first released as a beta version in Oct 2017 and is now being reworked for a fresh release to handle a full portfolio. The beta version is no longer available. We may recall that the CAGR (compounded annualized growth rate) is the measure of annualized return for single investments, the IRR (intern rate of return) for periodic investments and the XIRR (extended IRR) for investments on random dates.
The XIRR for Colgate-Palmolive in my portfolio is 19.7% between Oct 2014 to May 2021. The same purchase dates shall be used in this example, but only one stock is assumed to be purchased each time, resulting in an XIRR of 18%.
XIRR calculation for investments in growth mutual funds or a stock that does not offer dividends or announce any other corporate action is quite simple. Suppose
Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email! 🔥Enjoy massive discounts on our robo-advisory tool & courses! 🔥
- you buy 200 stocks of a company at Rs. 1000 a share on 1st Jan 2010
- You sell 25 of those stocks at Rs. 6000 a share on 7th July 2017 and
- calculate the XIRR as of 8th October 2017 (current market price is Rs. 6100). What is the annualized return?
To do this in Excel
![Stock XIRR annualized return calculation for buying and selling](https://freefincal.com/wp-content/uploads/2017/10/stock-XIRR-calculation-1.png)
Things become complicated with corporate actions. When a stock split or dividend is announced, it is an action by the instrument and not an action by the investor. For example, a dividend announced is money in our hands, but we did not initiate this money transfer the company did.
So while computing XIRR, we shall assume all dividends are reinvested on ex-date (date on which stock price has been adjusted to account for the latest dividend). This is this standard and universally accepted procedure to find out instrument returns. Also see: How to calculate returns from Dividend Mutual Funds and How to calculate returns from Stocks including dividends.
Many people make the mistake of assuming the dividend as a payout. This is certainly easier to do but is not universally accepted and can result in confusion. In this illustration, we have not accounted for dividend taxation, but this is quite simple to include.
Let us now continue with the above example. Now on 3rd March, a 3:2 split is announced. That is, since you hold 400 shares, half that number or 200 shares will be given to you. This is because
400 x (3/2) = 400 x (1.5) = 400 + 400 * 0.5 = 400 + 200.
So now, you will hold 600 shares. The price will drop by a factor of 1/.5. For example, if the price before the split is Rs. 500, it will drop to 500/1.5 = 333.33.
This will again not be reflected in the cash flow. Entires for a 1:1 bonus on 2nd Feb 2011 is also included with the same reasoning.
![Stock split XIRR Calculation](https://freefincal.com/wp-content/uploads/2017/10/stock-XIRR-calculation-3.png)
Now a dividend of Rs. 2 per share is announced on 4th April 2013. Regardless of what you do with the dividend, to find the XIRR of the instrument, it will be assumed to be reinvested at the ex-dividend market price. Ex-dividend price is the price before dividend declaration minus the dividend rate.
So the dividend amount of 2 x 600 = 1200 is used to buy imaginary stocks for the XIRR calculation at the ex-div market price of Rs. 200.
So 1200/500 gives 2.4 stocks. Making the total stocks held as 602.4.
![Stock dividends XIRR Calculation](https://freefincal.com/wp-content/uploads/2017/10/stock-XIRR-calculation-4.png)
Many investors are confused by this and say that this wrong. It is, however, important to recognise that a dividend is an action by the instrument and not by us. Reinvesting stock or mutual fund dividends at ex-price is the standard procedure adopted to calculate instrument XIRR. This is also the procedure recommended by SEBI for mutual funds with dividend option.
Colgate-Palmolive Stock Transactions
The transactions made are shown in the image below. This is a screenshot from the calculator. Several dividends and one stock split are included. For purchases and redemptions, the real-time market price can be included. For corporate actions, one can either use the opening price or closing price on the ex-date. The opening price is probably more accurate but will not make much difference to the XIRR over the long term.
![Colgate-Palmolive Transactions entered in the stock xirr calculator](https://freefincal.com/wp-content/uploads/2021/05/Colgate-Palmolive-Transactions-entered-in-the-stock-xirr-calculator.jpg)
The XIRR calculation is shown below. The reinvested dividends result in a small increase in shares (relevant only for the XIRR calculation). Also, notice that the splits and dividends are not shown as cashflow entires for XIRR.
![Screenshot of Colgate-Palmolive Xirr calculation (backend)](https://freefincal.com/wp-content/uploads/2021/05/Screenshot-of-Colgate-Palmolive-Xirr-calculation-backend.jpg)
With the current market price and date, the XIRR is computed to be 18%.
![Colgate-Palmolive Xirr output](https://freefincal.com/wp-content/uploads/2021/05/Colgate-Palmolive-Xirr-output.jpg)
This calculation can also be extended to an entire portfolio of stocks. The user will have to accomplish two tasks to get XIRR for a particular stock or portfolio. Get all transactions from the demat account trade book and then automatically extract the price on ex-dates. The final version of the XIRR calculator will hopefully feature this.
🔥Enjoy massive discounts on our courses, robo-advisory tool and exclusive investor circle! 🔥& join our community of 5000+ users!
Use our Robo-advisory Tool for a start-to-finish financial plan! ⇐ More than 1,000 investors and advisors use this!
New Tool! => Track your mutual funds and stock investments with this Google Sheet!
We also publish monthly equity mutual funds, debt and hybrid mutual funds, index funds and ETF screeners and momentum, low-volatility stock screeners.
![Follow Freefincal on Google News Follow Freefincal on Google News](https://freefincal.com/wp-content/uploads/2023/07/Follow-Freefincal-on-Google-News.jpg)
![Subscribe to the freefincal Youtube Channel Subscribe to the freefincal Youtube Channel. Subscribe button courtesy: Vecteezy.](https://freefincal.com/wp-content/uploads/2023/07/Subscribe-to-the-freefincal-Youtube-Channel.jpg)
![Follow freefincal on WhatsApp Channel Follow freefincal on WhatsApp Channel](https://freefincal.com/wp-content/uploads/2023/09/Follow-freefincal-on-WhatsApp-Channel-300x83.jpg)
![Listen to the Lets Get Rich with Pattu Podcast Listen to the Lets Get Rich with Pattu Podcast](https://freefincal.com/wp-content/uploads/2023/07/Listen-to-the-Lets-Get-Rich-with-Pattu-Podcast.jpg)
![Lets Get RICH With PATTU podcast on YouTube Lets Get RICH With PATTU podcast on YouTube](https://freefincal.com/wp-content/uploads/2023/08/Lets-Get-RICH-With-PATTU-podcast-on-YouTube-644x362.jpg)
- Do you have a comment about the above article? Reach out to us on Twitter: @freefincal or @pattufreefincal
- Have a question? Subscribe to our newsletter using the form below.
- Hit 'reply' to any email from us! We do not offer personalized investment advice. We can write a detailed article without mentioning your name if you have a generic question.
Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email!
About The Author
![Pattabiraman editor freefincal](https://freefincal.com/wp-content/uploads/2019/11/Pattabiraman-author-freefincal-article-bottom.jpg)
Our flagship course! Learn to manage your portfolio like a pro to achieve your goals regardless of market conditions! ⇐ More than 3,000 investors and advisors are part of our exclusive community! Get clarity on how to plan for your goals and achieve the necessary corpus no matter the market condition is!! Watch the first lecture for free! One-time payment! No recurring fees! Life-long access to videos! Reduce fear, uncertainty and doubt while investing! Learn how to plan for your goals before and after retirement with confidence.
Our new course! Increase your income by getting people to pay for your skills! ⇐ More than 700 salaried employees, entrepreneurs and financial advisors are part of our exclusive community! Learn how to get people to pay for your skills! Whether you are a professional or small business owner who wants more clients via online visibility or a salaried person wanting a side income or passive income, we will show you how to achieve this by showcasing your skills and building a community that trusts and pays you! (watch 1st lecture for free). One-time payment! No recurring fees! Life-long access to videos!
Our new book for kids: “Chinchu Gets a Superpower!” is now available!
![Both boy and girl version covers of Chinchu gets a superpower](https://freefincal.com/wp-content/uploads/2021/02/Article-bottom-Chinchu-gets-a-superpower-front-cover-for-girls-and-boys.jpg)
![Feedback from a young reader after reading Chinchu gets a Superpower (small version)](https://freefincal.com/wp-content/uploads/2021/02/For-bottom-Feedback-from-a-young-reader-after-reading-Chinchu-gets-a-superpower.jpg)
Must-read book even for adults! This is something that every parent should teach their kids right from their young age. The importance of money management and decision making based on their wants and needs. Very nicely written in simple terms. - Arun.Buy the book: Chinchu gets a superpower for your child!
How to profit from content writing: Our new ebook is for those interested in getting side income via content writing. It is available at a 50% discount for Rs. 500 only!
Do you want to check if the market is overvalued or undervalued? Use our market valuation tool (it will work with any index!), or get the Tactical Buy/Sell timing tool!
We publish monthly mutual fund screeners and momentum, low-volatility stock screeners.
About freefincal & its content policy. Freefincal is a News Media Organization dedicated to providing original analysis, reports, reviews and insights on mutual funds, stocks, investing, retirement and personal finance developments. We do so without conflict of interest and bias. Follow us on Google News. Freefincal serves more than three million readers a year (5 million page views) with articles based only on factual information and detailed analysis by its authors. All statements made will be verified with credible and knowledgeable sources before publication. Freefincal does not publish paid articles, promotions, PR, satire or opinions without data. All opinions will be inferences backed by verifiable, reproducible evidence/data. Contact information: letters {at} freefincal {dot} com (sponsored posts or paid collaborations will not be entertained)
Connect with us on social media
- Twitter @freefincal
- Subscribe to our YouTube Videos
- Posts feed via Feedburner.
Our publications
You Can Be Rich Too with Goal-Based Investing
![You can be rich too with goal based investing](https://freefincal.com/wp-content/uploads/2016/11/You-can-be-rich-243x300.jpg)
Gamechanger: Forget Startups, Join Corporate & Still Live the Rich Life You Want
![Gamechanger: Forget Start-ups, Join Corporate and Still Live the Rich Life you want](https://freefincal.com/wp-content/uploads/2017/05/2-mini-Cover-pink.jpg)
Your Ultimate Guide to Travel
![Travel-Training-Kit-Cover-new](https://freefincal.com/wp-content/uploads/2019/11/Travel-Training-Kit-Cover-new.jpg)