How this calculator works
Return on investment is (gain ÷ cost) × 100. Gain is the final value minus the initial investment, so a $5,000 investment that returns $6,250 has a gain of $1,250 and an ROI of 25%. The number ignores how long you held the investment, which is why it is a useful comparison tool only for investments of similar duration.
Annualised ROI (also called CAGR, compound annual growth rate) fixes the duration problem. The formula is CAGR = (Ending ÷ Beginning)^(1/years) − 1. A 25% return over 2 years is only 11.8% annualised; over 5 years it is 4.56%. When you compare a stock held for 3 years to a bond held for 8 years, annualise both or you will mislead yourself.
ROI should include every cost, not just the purchase price. For a rental property that includes transaction costs, repairs, management fees, taxes and vacancy — otherwise the number is cosmetic. For a stock include commissions (now usually zero at US brokers) and spread. For a business include your own unpaid time at a reasonable hourly rate; a project that returns 20% but ate 500 hours of your time at a $50 opportunity cost is a loss.
ROI is a point-in-time ratio. It does not account for the shape of returns (a steady 10% versus a volatile 10%), the risk you took on, or whether the gain was real cash or still unrealised. Two investments with the same ROI can have very different risk-adjusted outcomes.
For projects spread over time, use IRR (internal rate of return) or NPV instead. ROI treats a $10,000 investment that returns $12,000 next year the same as one that returns $12,000 over five years, which is clearly wrong.
Worked example
Cost $1,000, final value $1,250
- Formula: ROI = (final value − cost) ÷ cost × 100.
- (1,250 − 1,000) ÷ 1,000 × 100 = 25%.
- Simple ROI: 25%.
- If this took 2 years, annualised ROI = (1,250 ÷ 1,000)^(1/2) − 1 = 11.8%.
- If this took 5 years, annualised ROI = (1,250 ÷ 1,000)^(1/5) − 1 = 4.56%.
Common mistakes
- Ignoring time. A 50% return over 10 years is a 4.1% annualised return, which lags inflation. Always annualise returns longer than a year.
- Leaving out costs. Commissions, taxes, fees and your own time all come out of ROI. A deal that looks great on gross numbers can be break-even after costs.
- Comparing nominal ROI to inflation-adjusted benchmarks. A 7% ROI in a 3% inflation environment is a 3.9% real return; adjust both sides before comparing.
- Using unrealised gains. Stock up 50% is not a 50% ROI until you sell — it is a paper gain. Treating it as locked-in leads to real losses when the price moves back.
Limitations of this calculator
- ROI is a single ratio and ignores risk. Two 20% returns from very different risk profiles are not equivalent.
- Does not handle multiple cash flows well. For an investment that pays out gradually, use IRR or NPV.
- Does not model taxes, inflation or currency movement.
- Assumes the final value is realised. Unrealised ROI changes with the next market tick.
- ROI on a leveraged position (margin, loan-financed property) is magnified both ways; the leverage term is not shown.
For your specific situation, consult a tax professional or financial advisor.
Questions people ask
What is a good ROI?
Context-dependent. Public equity has averaged about 10% nominal (7% real) a year over the long run, so an annualised ROI below that over several years is underperforming the market. For a small business, investors often look for 20%+ annualised returns to compensate for risk.
Does ROI include taxes?
Not by default. For stocks or property, long-term capital gains are taxed at 0%, 15% or 20% federally depending on income, plus state tax. For a true after-tax ROI, deduct expected taxes from the gain before dividing.
Is ROI the same as profit margin?
No. Profit margin is profit ÷ revenue (a snapshot of operating efficiency). ROI is gain ÷ cost (a measure of return on invested capital). A business with a 5% profit margin can have a 50% ROI if capital turns over 10 times a year.
When should I use IRR instead?
When cash flows happen at irregular times. ROI compresses everything to a single ratio; IRR handles month-by-month or year-by-year cash flows and gives the discount rate that makes net present value zero. Real-estate deals almost always use IRR for this reason.
Sources
Last reviewed October 26, 2026