ROI Calculator

Return on investment over total cost — with optional annualized rate.

This calculator provides a mathematical estimate for general information. It does not include taxes, product-specific fees, legal requirements or changes in future rates. It is not financial advice.

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.

Formula version1.0.1
FormulaROI = (Net Gain ÷ Total Cost) × 100 Annualized = (Total Return ÷ Total Cost)^(1/years) − 1
Precision2 decimals

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

Related calculators

Last updated: 2026-07-30 · v1.0.1 · Report an error