How to Calculate ROI
Calculate return on investment, annualized ROI, and net profit for any investment.
The Formula
ROI = (netProfit / cost) * 100The roi formula uses the mathematical relationship: ROI = (netProfit / cost) * 100. Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the roi formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| Initial Investment | Input (you provide) | $10,000 |
| Final Value | Input (you provide) | $14,500 |
| Holding Period (Years) | Input (you provide) | 3 |
| Additional Costs (Fees, Taxes) | Input (you provide) | $500 |
| Net Profit | Result (calculated) | — |
| ROI | Result (calculated) | — |
| Annualized ROI | Result (calculated) | — |
| Total Return (Before Costs) | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: Initial Investment, Final Value, Holding Period (Years), Additional Costs (Fees, Taxes).
- 2Substitute your known values into the formula: ROI = (netProfit / cost) * 100.
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive ROI Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: initial investment = $5,000, with the other inputs at the typical values from the variables table above. Substituting into the formula gives net profit = 9000.00, roi = 163.64, annualized roi = 38.14, total return (before costs) = 9500.00. These numbers are solved by the same engine that powers the ROI calculator, so you can reproduce them exactly by entering the same inputs there.
| Initial Investment | Net Profit | ROI | Annualized ROI | Total Return (Before Costs) |
|---|---|---|---|---|
| $1 | 13999.00 | 2794.21 | 207.03 | 14499.00 |
| $5,000 | 9000.00 | 163.64 | 38.14 | 9500.00 |
| $8,000 | 6000.00 | 70.59 | 19.49 | 6500.00 |
| $10,000 | 4000.00 | 38.10 | 11.36 | 4500.00 |
| $20,000 | -6000.00 | -29.27 | -10.90 | -5500.00 |
| $30,000 | -16000.00 | -52.46 | -21.95 | -15500.00 |
| $40,000 | -26000.00 | -64.20 | -28.99 | -25500.00 |
How each result changes as initial investment changes, holding the other inputs constant.
Practice Problems
1. 3-year investment: Plug in Initial Investment $10,000, Final Value $14,500, Holding Period (Years) 3, Additional Costs (Fees, Taxes) $500. What is the answer?
Answer: Entering Initial Investment $10,000, Final Value $14,500, Holding Period (Years) 3, Additional Costs (Fees, Taxes) $500 gives Net Profit $4,000.00, ROI 38.10%, Annualized ROI 11.36%, Total Return (Before Costs) $4,500.00.
2. Given Initial Investment $62,500, Final Value $80,000, Holding Period (Years) 5, Additional Costs (Fees, Taxes) $5,000, what does it come out to?
Answer: The calculator returns Net Profit $12,500.00, ROI 18.52%, Annualized ROI 3.46%, Total Return (Before Costs) $17,500.00 for Initial Investment $62,500, Final Value $80,000, Holding Period (Years) 5, Additional Costs (Fees, Taxes) $5,000.
Frequently Asked Questions
What is the formula for roi?
The formula is: ROI = (netProfit / cost) * 100. Calculate return on investment, annualized ROI, and net profit for any investment.
What values do I need to calculate roi?
You need initial investment, final value, holding period (years), additional costs (fees, taxes). The calculator produces net profit, roi, annualized roi, total return (before costs) from those inputs.
What is the roi when initial investment is $5,000?
With initial investment = $5,000, the result is net profit = 9000.00, roi = 163.64, annualized roi = 38.14, total return (before costs) = 9500.00. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free ROI calculator.
