# How to calculate returns from Stocks including dividends

Published: August 4, 2015 at 9:01 am

Last Updated on January 2, 2016 at 7:08 pm

This post describes how one can calculate returns from stock investments including the declared dividends.  There is a lot of confusion about this calculation with regard to how the dividend should be treated.

In this post, return refers to XIRR, that is the personal rate of return. See this for more details:  What is XIRR?

The following is the universally accepted definition of computing return from cash flow:

1. Only actions by the investor should be  shown as inflow (investment) and outflow(redemption).
2. Actions by the instrument – dividends, bonuses, splits – should not be accounted for directly in the cash flow but must reflect only in the stock price or NAV.
3. A dividend (be it stock or mutual fund) should always be treated as reinvested, even if the investor chooses not to actually reinvest it! That is the dividend will be accounted for in the price or NAV and should not show up as cash flow entry.
4. Wrt mutual funds, SEBI has mandated the above method for calculation.  To put it simply, an equity mutual fund with dividend reinvestment option will have the same return as the grown option (ignoring the small security transaction tax). Not true for debt mutual funds due to the dividend distribution tax.

Some authors think it is ‘okay’ to assume dividends are paid out.  This could lead to significant differences in the way returns are reported.

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! 🔥

I have earlier written a rather heavy post on the subject:

The logic for stocks is the same. In this post, I would like to present a much simpler (hopefully!) illustration.

Let us say, you purchased Rs. 5000 worth of a stock each month.

You start in January. In February, the stock splits. In March, the company declares a dividend. In April, You receive bonus shares.

If you wish to calculate the XIRR for the above scenario, it would be easy  if the stock price is adjusted for bonuses and splits.

It would be terrific if you could get the stock price adjusted for splits, bonuses and dividends. I cannot find such a source.

Money control adjusts for splits and bonuses and not for dividends.  Yahoo Finance adjusts for splits and dividends and not bonuses.  Historical stock price downloaders from Money Control and Yahoo Finance are available.

Therefore, it is  easier to use Moneycontrol historical data which is adjusted for splits and bonuses and account for dividends separately.

Use of adjusted stock price implies that the price used in XIRR calculation could be different  from our actual purchase price.

The actual stock price can be used and corporate action accounted for separately, but I think it is easier from the point of view of an automated calculator to use adjusted price.

So, in Jan (of 2015), the adjusted stock price is Rs. 1000. I get 5 shares with my investment of Rs. 5000.

In February, the adjusted price is 1010. With my investment of Rs. 5000, I get 4.95 shares. So I now hold a total of 9.95 shares. (please ignore occurrence of fractional shares)

The stock split has been accounted for retrospectively using the adjusted price.

In March,  the adjusted price is 1020. The company declares a dividend of Rs. 10 per share.

So the total dividend received is 10 x 9.95 = Rs. 99.5

This is assumed to be reinvested at the adjusted ex- dividend price. Ex-dividend price is the price before dividend declaration minus the dividend rate.  In this case it is,  1020- 10 = 1010.

The reinvestment due to the dividend is, 99.5/1010 = 0.1 shares.

Assuming we buy Rs. 5000 worth of shares on the same day, additional 5000/1010 = 4.95 shares are purchased.

So no of shares deemed to be purchased in March  = 0.1+ 4.95 ~ 5.

So total number of shares held up to March = 9.95 +5 = 14.95 shares.

In April, I would like to calculate XIRR before making an investment. XIRR for short durations can fluctuate wildly. This is only for illustration.

The price now is Rs. 1030.

So the total value that will be used for calculation is Rs. 1030 x 14.95  = Rs. 15,398.5

So the cash flow would lo0k like this

01-01-2015      -5000

01-02-2015      -5000

01-03-2015      -5000

01-4-2015          15,398.95

Here the minus stands for investment.  So XIRR is 17.25%.  In Excel, we use =XIRR(list of values, list of dates)

Notice that the dividend declaration appears in the final value only. It is not shown as  a receipt.

Please let me know if this example makes sense to you. Treating dividends as reinvested is a convention. That need not make sense! 🙂

🔥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
Podcast: Let's Get RICH With PATTU! Every single Indian CAN grow their wealth!  You can watch podcast episodes on the OfSpin Media Friends YouTube Channel. 🔥Now Watch Let's Get Rich With Pattu தமிழில் (in Tamil)! 🔥
• 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!

(PhD) is the founder, managing editor and primary author of freefincal. He is an associate professor at the Indian Institute of Technology, Madras. He has over ten years of experience publishing news analysis, research and financial product development. Connect with him via or Pattabiraman has co-authored three print books: (1) You can be rich too with goal-based investing (CNBC TV18) for DIY investors. (2) Gamechanger for young earners. (3) Chinchu Gets a Superpower! for kids. He has also written seven other free e-books on various money management topics. He is a patron and co-founder of “” an organisation promoting unbiased, commission-free investment advice.
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! Most investor problems can be traced to a lack of informed decision-making. We made bad decisions and money mistakes when we started earning and spent years undoing these mistakes. Why should our children go through the same pain? What is this book about? As parents, what would it be if we had to groom one ability in our children that is key not only to money management and investing but to any aspect of life? My answer: Sound Decision Making. So, in this book, we meet Chinchu, who is about to turn 10. What he wants for his birthday and how his parents plan for it, as well as teaching him several key ideas of decision-making and money management, is the narrative. What readers say!
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.
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? (it will work with any index!), or get the Tactical Buy/Sell timing tool!
We publish monthly mutual fund screeners and
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 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
Our publications

You Can Be Rich Too with Goal-Based Investing

Published by CNBC TV18, this book is meant to help you ask the right questions and seek the correct answers, and since it comes with nine online calculators, you can also create custom solutions for your lifestyle! Get it now.
Gamechanger: Forget Startups, Join Corporate & Still Live the Rich Life You Want This book is meant for young earners to get their basics right from day one! It will also help you travel to exotic places at a low cost!