Return on investment (ROI) answers the most basic question about any use of money: for every unit you put in, how much did you get back on top? It works for shares, a rental flat, a small business, a marketing campaign, solar panels or a training course, as long as you can put a number on what went in and what came out.
Enter the amount invested and the final value — what you received or what the investment is worth now, including income such as dividends, interest or rent — and this ROI calculator returns the net gain and the ROI in percent. Add the holding period, in years or as start and end dates, and it also computes the annualized ROI, the constant yearly rate that would have turned the same investment into the same final value.
Annualizing matters because a plain ROI ignores time: 35% over three years is not better than 30% over two. Switch to Compare A and B to put two investments side by side; the calculator tells you which one did better per year and by how many percentage points. With Solve for you can also find the final value needed for a target ROI.
How to use this calculator
- Choose One investment or Compare A and B.
- Enter the amount invested, including fees and any money added along the way.
- Enter the final value: sale proceeds or current value, plus income received, minus selling costs.
- Give the holding period either in years or as start and end dates (the period field is optional for a plain ROI).
- Read the ROI, the net gain and the annualized ROI. In compare mode, the verdict shows the better investment.
The formula
With an amount invested and a final value (income included):
Over a holding period of years, the annualized ROI is the compound annual growth rate:
With dates, is the exact number of days between them divided by 365. An ROI of −100% means the whole investment was lost; the annualized figure is then also −100%.
Worked example
Investment A: 10,000 grew to 13,500 in 3 years. ROI , and the annualized ROI is .
Investment B: 8,000 grew to 10,400 in 2 years. ROI — lower than A — but annualized it is , so B did better by 3.50 points a year.
With dates: 2,500 invested on 1 March 2025 is worth 2,900 on 1 September 2026. That is 549 days, or years; ROI 16.00%, annualized 10.37%.
What to count in ROI
ROI is only as good as the numbers you feed it. On the invested side, include every cost needed to own the asset: purchase price, commissions, notary or legal fees, renovation work, and any extra contributions. On the final value side, include the sale price (or a realistic current value) minus selling costs, plus all income received — dividends, coupons, rents net of expenses, savings generated by the project.
| Use | Invested | Final value |
|---|---|---|
| Shares | Price + commission | Sale proceeds + dividends |
| Rental property | Price + fees + works | Sale price − costs + net rents |
| Marketing campaign | Campaign cost | Gross margin generated |
Taxes are usually left out, which gives a pre-tax ROI; subtract them from the final value for an after-tax figure.
Limits of ROI
ROI says nothing about risk: a 10% return on a government bond and on a start-up are not equivalent. It also assumes a single amount in and a single amount out; when money goes in and out at different times, an internal rate of return (IRR) or a money-weighted return is more accurate. For property, the cap rate is a useful companion measure, and for a trade on a single stock, the stock profit calculator handles commissions on each leg.
Frequently asked questions
What is a good ROI?
It depends on the risk and the time involved. A useful benchmark is what you could have earned elsewhere over the same period, such as a savings account, a bond or a broad stock index, compared on an annualized basis.
What is the difference between ROI and annualized ROI?
ROI is the total return over the whole period. Annualized ROI spreads it over the years as a compound yearly rate, which makes investments of different lengths comparable.
Can ROI be negative?
Yes. When the final value is below the amount invested, the ROI is negative; −100% means everything was lost.
How do I calculate ROI from dates?
Choose Dates as the holding period and enter the start and end dates. The calculator counts the exact days, divides by 365 and uses that number of years to annualize.
Is ROI the same as profit margin?
No. ROI divides the gain by the money invested, while a profit margin divides profit by revenue. A shop can have a thin margin and still a high ROI if its capital turns over quickly.
Sources
- OpenStax, Principles of Finance, §15.1 Risk and Return to an Individual Asset
- OpenStax, Principles of Finance, §7.3 Methods for Solving Time Value of Money Problems
Last updated: