CalcUnit Logo

How to Calculate ROI

Calculate return on investment, annualized ROI, and net profit for any investment.

The Formula

ROI = (netProfit / cost) * 100

The 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:

VariableTypeExample value
Initial InvestmentInput (you provide)$10,000
Final ValueInput (you provide)$14,500
Holding Period (Years)Input (you provide)3
Additional Costs (Fees, Taxes)Input (you provide)$500
Net ProfitResult (calculated)—
ROIResult (calculated)—
Annualized ROIResult (calculated)—
Total Return (Before Costs)Result (calculated)—

Step-by-Step Method

  1. 1Write down the values you know: Initial Investment, Final Value, Holding Period (Years), Additional Costs (Fees, Taxes).
  2. 2Substitute your known values into the formula: ROI = (netProfit / cost) * 100.
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 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 InvestmentNet ProfitROIAnnualized ROITotal Return (Before Costs)
$113999.002794.21207.0314499.00
$5,0009000.00163.6438.149500.00
$8,0006000.0070.5919.496500.00
$10,0004000.0038.1011.364500.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

ROIreturn on investmentprofitinvestment

Use the Interactive Calculator

Skip the manual math — get instant results with our free ROI calculator.

Open Calculator

Related Calculators