ROI Calculator (Excel Style)
Enter your values below to instantly calculate return on investment (ROI), net profit, and annualized return.
If you are asking, “how do I calculate return on investment in Excel?”, the good news is that it is simple once you know the formula and where to put it. ROI is one of the fastest ways to compare investments, business projects, or even marketing campaigns.
What is ROI?
ROI (Return on Investment) tells you how much profit you earned compared with how much you invested. It is usually shown as a percentage.
ROI = (Net Profit / Total Investment) * 100
Where:
- Net Profit = Ending Value - Total Investment
- Total Investment = Initial Investment + Additional Costs
How to calculate ROI in Excel (step by step)
1) Set up your worksheet columns
Create these headers in row 1:
- A1: Initial Investment
- B1: Additional Costs
- C1: Ending Value
- D1: Net Profit
- E1: ROI %
2) Enter your numbers
Example row in row 2:
- A2 = 10000
- B2 = 500
- C2 = 13000
3) Add formulas
Use these formulas exactly:
D2: =C2-(A2+B2)
E2: =D2/(A2+B2)
Then format E2 as a percentage (Home → Number → %).
=(C2-(A2+B2))/(A2+B2)
How to calculate annualized ROI in Excel (CAGR)
Simple ROI is useful, but it does not account for time. If one investment took 1 year and another took 5 years, annualized return is better.
Use this Excel formula if years are in F2:
=((C2/(A2+B2))^(1/F2))-1
Format the result as a percentage. This gives annualized ROI (CAGR).
Common mistakes to avoid
- Ignoring fees: transaction fees, taxes, commissions, and maintenance costs should be included.
- Dividing by the wrong number: divide by total investment, not ending value.
- Mixing time periods: compare annualized returns when investment durations differ.
- Using ROI for uneven cash flows: if money is added/removed over time, IRR or XIRR may be better.
When to use ROI vs IRR/XIRR in Excel
Use ROI when there is one clear start amount and one clear ending amount. Use IRR or XIRR when cash flows happen at multiple points in time.
- ROI: quick, easy comparison metric
- IRR: periodic cash flows
- XIRR: irregular dates and real-world cash flow timing
Quick Excel ROI template formulas
Net Profit:
=C2-(A2+B2)
ROI:
=(C2-(A2+B2))/(A2+B2)
Annualized ROI (Years in F2):
=((C2/(A2+B2))^(1/F2))-1
Final thoughts
To calculate return on investment in Excel, remember this structure: profit over cost. Keep your inputs consistent, include all costs, and use annualized ROI when time matters. If you want a fast check before building a full spreadsheet, use the calculator above and then copy the same formula into Excel.