ROI Calculator
ROI tells you how much you earned relative to what you spent. Enter your cost and final value for a quick percentage return.
Updated November 2026 · How we build calculators
Result
Your result will appear here
Enter your numbers, then press Calculate.
How the ROI Calculator works
Net profit is the final value minus the cost. ROI divides net profit by cost and multiplies by 100. If you enter a holding period, the annualized ROI is the equivalent yearly compound rate.
Formula used
ROI = (Final value − Cost) ÷ Cost × 100%
Annualized ROI = (Final ÷ Cost)^(1/years) − 1
Step-by-step example
Using the default values in the calculator above:
- Amount invested (cost): $20,000
- Final value / amount returned: $26,500
- Years held (optional): 3 years
- Other costs (fees, maintenance, closing costs): $0
- Income received while holding (rent, dividends): $0
- Tax rate on profit: 0 %
The calculator then applies the formula above and returns:
- Return on investment: 32.50% ($6,500.00 net)
- Net profit: $6,500.00
- ROI: 32.50%
- Annualized ROI: 9.83%
What-if scenarios
Each table changes one input and keeps everything else at the calculator's default values.
| Amount invested (cost) | Return on investment |
|---|---|
| $10,000 | 165.00% |
| $15,000 | 76.67% |
| $20,000 (default) | 32.50% |
| $30,000 | -11.67% |
| $40,000 | -33.75% |
| Final value / amount returned | Return on investment |
|---|---|
| $13,000 | -35.00% |
| $20,000 | 0.00% |
| $26,500 (default) | 32.50% |
| $40,000 | 100.00% |
| $53,000 | 165.00% |
Return on investment for different amount invested (cost) and final value / amount returned
Every other input is left at its default value.
| Amount invested (cost) | $13,000 | $26,500 | $40,000 | $53,000 |
|---|---|---|---|---|
| $10,000 | 30.00% | 165.00% | 300.00% | 430.00% |
| $15,000 | -13.33% | 76.67% | 166.67% | 253.33% |
| $20,000 | -35.00% | 32.50% | 100.00% | 165.00% |
| $30,000 | -56.67% | -11.67% | 33.33% | 76.67% |
| $40,000 | -67.50% | -33.75% | 0.00% | 32.50% |
Tips and background
Include all costs such as fees, taxes and maintenance. For marketing, use revenue attributable to the campaign rather than total revenue.
How to calculate ROI the right way
ROI equals net profit divided by total cost. Include every cost: purchase price, fees, repairs, closing costs. If you bought for $20,000, spent $1,500 on upkeep and sold for $26,500, the real ROI is about 23%, not the 32.5% you would see by ignoring the extra costs.
Why annualized ROI matters
A 30% ROI over 2 years is better than 30% over 6. Entering the years held shows the compound annual rate. Add rent or dividends in the income field for properties and stocks, and the tax rate for an after-tax view. Compare to broader performance with the investment return calculator and, for businesses, the profit margin calculator.
Which costs should you include in ROI?
Include everything you paid because of the investment. Suppose you invest $20,000 and receive $26,500.
| What you count | Net profit | ROI | Annualized over 3 years |
|---|---|---|---|
| Purchase price only | $6,500 | 32.50% | 9.83% |
| Plus $1,500 of other costs | $5,000 | 23.26% | 7.22% |
| Price only, plus $2,000 of income | $8,500 | 42.50% | 12.53% |
With both the $1,500 of costs and the $2,000 of income, and a 15% tax on the profit, ROI is 27.67% and the annualized figure is 8.48%. Notice that leaving out costs makes a result look much better than it was.
How does time change the meaning of an ROI?
A 32.5% ROI says nothing about how long it took. Earned in 1 year it is 32.50% a year. Over 2 years it works out to 15.11% a year, over 3 years 9.83%, over 6 years 4.80% and over 10 years 2.85%. Always compare annualized figures when two projects run for different lengths of time.
How do you use ROI for a business decision?
Use the profit that the spending caused, not total revenue. For an advertising campaign, count the extra gross profit from the extra sales, after the cost of the goods, then subtract the cost of the campaign and divide by that cost. Using revenue instead can make a campaign that loses money look successful. Decide in advance how you will estimate which sales happened only because of the spending, since that is usually the weakest part of the calculation.
What does ROI leave out?
ROI does not measure risk, how easy it is to get your money back or when the cash arrives. Two projects with equal ROI differ a lot if one pays back early and the other pays everything at the end, or if one outcome is much less certain. For an investment held several years, compare with the investment return calculator, which also handles inflation.
Common mistakes to avoid with the ROI Calculator
- Leaving out holding costs.
- Using revenue instead of profit in marketing ROI.
- Not annualizing returns on different time spans.
Frequently asked questions
What is a good ROI?
It depends on risk and time. Stock markets historically return around 7% to 10% a year, so beating that for similar risk is generally considered good.
Does ROI include time?
Plain ROI does not. Use annualized ROI to compare investments held for different lengths of time.
Can ROI be negative?
Yes. A negative ROI means you lost money after costs.
How do I calculate rental property ROI?
Add the net income from rent plus any appreciation, subtract all costs and taxes, and divide by your total cash invested.