ROI Calculator: Total Return on Investment vs Annualized ROI Explained

"This investment returned 60%." Impressive, until you ask: over how long? Sixty percent in three years and sixty percent in ten years are very different results. An ROI calculator that shows both the total return and the annualized ROI lets you compare investments fairly, whether that is a stock, a property, a business purchase or a course you paid for.
DoraPDF's ROI Calculator needs just three numbers: the amount invested, the amount returned and the number of years. It gives you the ROI %, the gain in money and the annualized ROI, the average yearly growth rate also known as CAGR.
The two numbers, explained
Total ROI is the simplest measure of return on investment:
ROI % = (Amount returned − Amount invested) ÷ Amount invested × 100
Invest 100,000, get back 160,000, and your ROI is 60%.
Annualized ROI answers a different question: what steady yearly return would have turned my investment into this amount over this period?
Annualized ROI = (Amount returned ÷ Amount invested)^(1 ÷ years) − 1
That is the same formula as the compound annual growth rate (CAGR). It is the fairer way to compare investments that lasted different lengths of time.
How to use the ROI Calculator
- Open the ROI Calculator.
- Enter the Amount invested: everything you put in, including fees and costs you paid to buy.
- Enter the Amount returned: what you got back or what the investment is worth now, after selling costs.
- Enter the number of Years you held it. Decimals work, so 6 months is 0.5.
- Choose a currency symbol (PKR, USD, EUR, GBP, INR or AED).
- Read ROI, Gain and Annualized ROI. They update as you type.
Same ROI, very different investments
| Invested | Returned | Years | ROI | Annualized ROI |
|---|---|---|---|---|
| 100,000 | 160,000 | 3 | 60% | about 16.96% |
| 100,000 | 160,000 | 5 | 60% | about 9.86% |
| 100,000 | 200,000 | 7 | 100% | about 10.41% |
| 50,000 | 65,000 | 1 | 30% | 30% |
The first two rows have the same ROI, but the three-year investment grew almost twice as fast each year. And the 100% investment in row three is only slightly better per year than the 60% five-year one. Total ROI alone would have hidden all of this.
Short periods can mislead
Annualizing a short holding period stretches it to a full year. A 30% gain in six months shows an annualized ROI of about 69%. That is mathematically correct, but it assumes you could repeat the same result every six months, which is rarely realistic. For periods under a year, look at the total ROI first and treat the annualized figure with caution.
Getting the inputs right
ROI is only as honest as the numbers you enter:
- Include all costs in "invested". Brokerage fees, stamp duty, transfer costs, renovation spend.
- Include income in "returned". Rent, dividends or interest you received during the holding period, plus the sale value, minus selling costs.
- Use the full period. Count from the date you put money in to the date you took it out (or today).
- Mind tax. If you want an after-tax ROI, subtract tax from the amount returned.
ROI for things that are not stocks
ROI works for any spending that should pay you back:
- A marketing campaign: invested = campaign cost; returned = profit from the extra sales (not revenue).
- New equipment: invested = purchase and setup; returned = money saved or earned over its life.
- A course or certificate: invested = fees; returned = the extra income you can link to it.
For pricing individual products rather than whole investments, the Profit Margin Calculator is the better tool.
Limits to keep in mind
The ROI Calculator assumes one amount goes in at the start and one amount comes out at the end. If you added money regularly, such as a monthly SIP, ROI on the totals will understate how well the money really did, because later deposits had less time to grow. For regular contributions, the Investment Calculator is a better fit.
ROI also says nothing about risk. Two investments with the same annualized ROI can have had very different ups and downs along the way.
Common problems and fixes
ROI shows a dash. The amount invested is 0, so a percentage cannot be calculated.
Annualized ROI equals total ROI. Years is set to 1, or left at 0 or empty, in which case the calculator treats the period as one year. Enter the real holding period.
Negative ROI. You got back less than you put in. The annualized figure then shows the average yearly loss.
Privacy
Your investment figures stay on your device. The calculator runs in your browser, uploads nothing and needs no sign-up.
FAQ
What is the difference between ROI and annualized ROI? ROI is the total return over the whole period. Annualized ROI is the equivalent steady return per year.
Is annualized ROI the same as CAGR? Yes, for a single amount in and a single amount out, the formula is the same.
What is a good ROI? It depends on the risk and the alternatives. Compare it with what a low-risk option such as a bank deposit would have paid over the same period.
Can I enter months instead of years? Convert them: 18 months = 1.5 years.
Try the tools from this guide — free
Keep reading
Margin vs Markup: Use a Profit Margin Calculator to Price Products Correctly
Understand the difference between margin and markup, and get profit, margin % and markup % from cost and selling price with a free calculator.
GuideHow Much Should I Save for Retirement? A Simple Calculator Guide
Work backwards from the monthly income you want, turn it into a savings target, and find how much to save each month at your age with a free calculator.
GuideCompound Interest Explained: How It Works, the Rule of 72 and a Calculator
Compound interest explained with simple examples: interest on interest, why time beats rate, the Rule of 72 for doubling money, and how to check it yourself.