ROI Calculator (Return on Investment)
See the return on an investment as a percentage and a yearly rate.
Last updated 2026-11-21 · How we calculate this
Return on Investment
Enter the amount invested.
The calculator uses the two amounts you enter and assumes any growth compounds once a year. It does not account for money added or taken out along the way, taxes, inflation or risk, and a past return does not predict future results.
Quick Answer
ROI (return on investment) is your gain or loss as a percentage of what you put in. Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. $10,000 that grows to $12,500 has an ROI of 2,500 ÷ 10,000 × 100 = 25%.
How to Use This Calculator
Enter what you put into an investment and what you got out of it, or what it is worth today. The calculator shows the ROI as a percentage and the gain or loss in money. If you also enter how many years you held it, it shows the yearly rate, which lets you compare investments held for different lengths of time.
- Enter the amount invested.
- Enter the amount returned.
- Optionally, enter the years held.
- Read the ROI, the gain or loss and the yearly rate.
The Formula
ROI = (amount returned − amount invested) ÷ amount invested × 100. Yearly rate = ((amount returned ÷ amount invested)^(1 ÷ years) − 1) × 100
ROI on its own ignores time: a 25% gain is very different over one year and over ten. The yearly rate fixes that by finding the steady annual return, compounded once a year, that would turn the amount invested into the amount returned over the years you held it.
Worked Example
A gain: $10,000 that grew to $12,500 is a gain of $2,500.00 and an ROI of 25%. Held for 3 years, that is a yearly rate of 7.72%.
A loss: $8,000 that is now worth $6,800 is a loss of $1,200.00 and an ROI of −15%.
A business spend: a $2,000 marketing campaign that brought in $3,500 of extra gross profit is a gain of $1,500.00 and an ROI of 75%.
Frequently Asked Questions
Sources: Corporate Finance Institute, Return on Investment (ROI); The Association of Corporate Treasurers, Compound Annual Growth Rate