What does this calculator do?
ROI measures the profit of an investment relative to everything it cost: purchase price plus fees and other costs, against the final value plus any income received along the way (rent, dividends). Enter a duration and the calculator also shows the annualized rate, which makes investments of different lengths comparable.
Formula
Net gain over total cost, as a percentage:
ROI = (Net Gain ÷ Total Cost) × 100 Annualized = (Total Return ÷ Total Cost)^(1/years) − 1
How to use it
Enter what you paid (initial plus additional costs), what it is worth now or sold for, and any income received. The optional duration adds the annualized figure.
Worked example
Bought for 10,000 plus 500 in costs, received 1,200 in income, sold at 12,500: total return 13,700 against total cost 10,500 — net gain 3,200, ROI ≈ 30.5%. Over 2 years that annualizes to ≈ 14.2%/year.
Frequently asked questions
How is ROI different from CAGR?
ROI ignores time — a 30% ROI over 1 year and over 10 years look identical. CAGR (and the annualized figure here) spreads the return over the duration, which is the fair way to compare.
Should fees and taxes go into the cost?
Everything you actually paid belongs in the cost for a realistic figure. Taxes vary by country and situation, so add them yourself if you want an after-tax view.
What does a negative ROI mean?
A loss — the total return was smaller than the total cost. The net gain line shows the amount.
Sources
- OpenStax — Principles of Finance (ROI, growth rates, present/future value) and Principles of Managerial Accounting (cost–volume–profit / break-even analysis); formulas shown on every page.
- U.S. SEC — Investor.gov glossary and investing basics (government investor-education resource)
- Reviewed: 2026-07-30
Related calculators
Last updated: 2026-07-30 · v1.0.1 · Report an error