Personal Finance
How to Calculate ROI Step by Step, With Annualized ROI
Calculate return on investment step by step with the ROI formula, include fees and other costs, convert total ROI to annualized ROI so different holding periods compare fairly, and see calculator screenshots and spreadsheet formulas.

ROI = (amount returned − amount invested) ÷ amount invested × 100. Put in $10,000, get back $14,500, and your ROI is $4,500 ÷ $10,000 = 45%. If that took three years, the annualized ROI is (14,500 ÷ 10,000)^(1/3) − 1 = 13.19% a year. The same 45% over five years would be only 7.71% a year, which is why the time period matters.
Step 1: Add up everything you put in
Include every cost, not just the purchase price:
| Investment type | Costs to include |
|---|---|
| Stocks and funds | Purchase price, commissions, transfer fees |
| Rental or flip | Down payment, closing costs, repairs, holding costs (if not already netted from income) |
| Business project or equipment | Purchase, installation, training, financing costs |
| Marketing campaign | Ad spend, agency fees, creative production, software |
| Collectible or resale item | Price paid, shipping, grading, selling fees |
Example: $10,000 of stock plus $150 in fees = $10,150 invested.
Step 2: Add up everything you got back
Sale proceeds after selling costs, plus any income received along the way (dividends, rent, interest). For an investment you still hold, use today's value and call it an unrealized ROI.
Example: sold for $14,500.
Step 3: Calculate ROI
($14,500 − $10,150) ÷ $10,150 = 42.86%
Leaving out the $150 of fees would have shown 45%. Small costs matter more on small or short-term investments.
Step 4: Annualize it
Total ROI can't compare a 3-month trade with a 5-year hold. Annualized ROI can:
Annualized ROI = (amount returned ÷ amount invested)^(1 ÷ years) − 1
($14,500 ÷ $10,150)^(1/3) − 1 = 12.62% a year
| Total ROI | Over 6 months | Over 1 year | Over 3 years | Over 5 years | Over 10 years |
|---|---|---|---|---|---|
| 10% | 21.0% | 10.0% | 3.2% | 1.9% | 1.0% |
| 30% | 69.0% | 30.0% | 9.1% | 5.4% | 2.7% |
| 45% | 110.3% | 45.0% | 13.2% | 7.7% | 3.8% |
| 100% | 300.0% | 100.0% | 26.0% | 14.9% | 7.2% |
Annualizing a short-term gain can produce a huge number. A 30% gain in six months annualizes to 69%, but only if you could repeat it twice a year, which is rarely realistic.
Step 5: Check it in the calculator
Enter what you invested, what you got back and how long you held it:

Add fees in the extra-costs field so they're counted as money invested:

For short holds, switch the period to months:

ROI in a spreadsheet
With the amount invested in B1, amount returned in B2 and years in B3:
| What | Formula |
|---|---|
| ROI | =(B2-B1)/B1 |
| Annualized ROI | =(B2/B1)^(1/B3)-1 |
| Annualized from dates (A1 start, A2 end) | =(B2/B1)^(365/(A2-A1))-1 |
| Return multiple | =B2/B1 |
Format the ROI cells as percentages.
Worked examples
| Investment | Invested | Returned | Time | ROI | Annualized |
|---|---|---|---|---|---|
| Stock with fees | $10,150 | $14,500 | 3 years | 42.86% | 12.62% |
| Equipment that saves labor | $25,000 | $31,000 in savings | 4 years | 24.0% | 5.53% |
| Resale flip | $2,000 | $2,600 | 6 months | 30.0% | 69.0% |
| Loss on a used car sale | $8,000 | $7,200 | — | −10.0% | — |
Limits of simple ROI
- Ignores timing of cash flows. If you added money or received income at different times, use IRR. See CAGR vs. average return vs. IRR.
- Ignores risk. A 15% ROI on a lottery-like bet isn't the same as 15% on a bond.
- Ignores your time. A rental with a 20% ROI that takes ten hours a month has a lower return per hour than it looks.
- Taxes. Compare after-tax returns when one option is in an IRA and another is taxable.
For home projects, see ROI of home improvements. For ads, see marketing ROI vs. ROAS.