Tool Guides
ROI: the return you actually earned, fees included
Calculate return on investment with dividends and costs, see why it differs from CAGR, and use it to compare positions without flattering the winner.
Your stock went up 20%. Your return is not 20%. There were brokerage charges, maybe a dividend, maybe a tax, and the money was tied up for a period you have not accounted for.
ROI is the simple version of the truth: net profit divided by what you put in. It is not annualised, it does not handle multiple cash flows, and it is still the first number you should calculate.
The formula with real numbers
Buy shares for Rs 100,000 and pay Rs 1,000 in costs. Receive Rs 5,000 in net dividends. Sell for Rs 120,000 and pay Rs 1,000 in costs. Your net profit is Rs 23,000, and your invested capital is Rs 101,000. ROI is 22.8%.
Without the dividends and costs, the headline gain is 20%. The difference is small in this example. On a shorter holding period or a smaller position, costs can turn a gain into a loss.
ROI versus CAGR versus XIRR
- ROI: total net gain divided by invested capital. Simple, not annualised.
- CAGR: the constant annual rate between a starting and ending value. Annualised, single cash flow.
- XIRR: the annualised rate for many dated cash flows. The right tool for a portfolio with contributions and withdrawals.
Use ROI when you want to know how much a position made in rupees. Use CAGR or XIRR when you want to compare investments over different time periods. Using ROI to compare a one-year trade with a ten-year holding is how people conclude that short-term trading is more profitable than it is.
Include everything that touches the money
Brokerage, sales tax, CGT, withholding on dividends and any account fees all reduce the return. If you ignore them, you are measuring the market’s return, not yours. The difference is usually small per trade and large per year.
For a dividend stock, decide whether to include dividends in the numerator and whether to include withholding tax. Be consistent across the positions you compare. A gross comparison against a net comparison is not a comparison.
The denominator question
Invested capital can mean the purchase price, the purchase price plus costs, or the average capital employed over the holding period. Each gives a slightly different answer. The most conservative and most useful is purchase price plus all costs, because that is the money you actually committed.
If you added to the position over time, a single ROI becomes misleading. Use the weighted average cost and include all the buys, or switch to XIRR with the actual dates.
A number to compare, not to brag about
A 50% ROI sounds excellent until you learn it took eight years. An 18% ROI over one year may be better. Always pair the ROI with the holding period and the risk taken.
Calculate it once per position per year, write it down, and compare it with your plan. The number is not a score. It is feedback.
Run your own numbers
ROI Calculator
What a position actually returned, including dividends and costs rather than price alone.
Open the calculatorFree with a Google account. No card, no trial.
Investing Sparkle
We teach Pakistani investors to understand PSX and manage their own money. We do not hold client funds, execute trades, or recommend specific stocks.
About us →One honest email a week
One PSX explainer, one market update. No hype, no tips, no forwarding your address to anyone.
