Investment ROI Calculator

Standard ROI formula ยท By Stuart Mathieson · Updated October 2026

$
$
$

Optional

years

Optional, for annualized ROI

How the ROI calculator works

Total cost = initial investment + additional costs
Net profit = final value − total cost
ROI = net profit ÷ total cost × 100

If you enter how many years you held the investment, the calculator also finds the annualized ROI: the steady yearly return that would turn your total cost into your final value over that time. It is also known as the compound annual growth rate (CAGR).

Annualized ROI = ((1 + ROI ÷ 100)1 ÷ years − 1) × 100

Worked example

$10,000 invested with $200 of fees, sold for $15,000 after 4 years:

Why annualized ROI matters

The same total ROI means very different things over different lengths of time. A 50% total return works out to:

Annualized equivalent of a 50% total return
Held forAnnualized return
1 year50.00%
2 years22.47%
5 years8.45%
10 years4.14%

Annualized figures let you compare an investment fairly with others held for different lengths of time, or with a savings rate. To compare several investments at once, use the ROI Comparison Calculator.

Things to keep in mind

Frequently asked questions

What counts as "additional costs"?

Anything on top of the purchase price that reduces your real profit - brokerage fees, commissions, closing costs, or similar expenses.

What's the difference between ROI and annualized ROI?

ROI is your total return over the whole holding period. Annualized ROI converts that into an average yearly rate, which makes it possible to compare a 2-year investment fairly against a 10-year one.

Can ROI be negative?

Yes - a negative ROI simply means the final value (after costs) was lower than what you put in.

What is CAGR?

CAGR, the compound annual growth rate, is the constant yearly rate that would take an investment from its starting value to its ending value over a period. It is what this calculator shows as annualized ROI.