Business and finance

ROI Calculator (Return on Investment)

ROI (return on investment) measures gain relative to what you put in: (final value − investment) ÷ investment × 100. Invest $5,000 and end with $6,200 and your ROI is 24%. Add the holding period to also get the annualized return, which lets you compare investments of different lengths.

Return on an investment, total and annualized.

ROI

24%

Net gain
1,200.00
Annualized return
≈ 7.43%

Formula

ROI = (Final value − Investment) ÷ Investment × 100

Step by step

  1. Gain: 6,200.00 − 5,000.00 = 1,200.00
  2. ROI: 1,200.00 ÷ 5,000.00 × 100 = 24%
  3. Annualized: (6,200.00 ÷ 5,000.00)^(1/3) − 1 = 7.43%
Start: 5,000 → End: 6,200 (24%) Start 5,000 End 6,200 ▲ 24%
Visual representation

Formula

ROI = (Final value − Investment) ÷ Investment × 100

Annualized return = (Final value ÷ Investment)^(1 ÷ years) − 1

The final value should include everything you received — sale proceeds, dividends, interest, savings — and the investment should include fees. A 24% ROI over 3 years is 7.43% a year compounded, not 8%.

How to use this calculator

  1. Enter the total amount invested (including fees).
  2. Enter the final value or everything you got back.
  3. Optional: enter the years to get the annualized return.

Worked examples

I invest $5,000 and have $6,200 after 3 years.

Solution: ROI: 24%

  1. Gain: 6,200.00 − 5,000.00 = 1,200.00
  2. ROI: 1,200.00 ÷ 5,000.00 × 100 = 24%
  3. Annualized: (6,200.00 ÷ 5,000.00)^(1/3) − 1 = 7.43%

An ad campaign costs $1,200 and brings in $3,300 of gross profit.

Solution: ROI: 175%

  1. Gain: 3,300.00 − 1,200.00 = 2,100.00
  2. ROI: 2,100.00 ÷ 1,200.00 × 100 = 175%

I buy shares for $2,000 and sell them for $1,640 two years later.

Solution: ROI: -18%

  1. Gain: 1,640.00 − 2,000.00 = -360.00
  2. ROI: -360.00 ÷ 2,000.00 × 100 = -18%
  3. Annualized: (1,640.00 ÷ 2,000.00)^(1/2) − 1 = -9.45%

Common mistakes

  • Dividing ROI by the years

    24% over 3 years is not 8% a year; compounded it is 7.43%.

  • Leaving out costs

    Fees, taxes and upkeep reduce the real ROI.

  • Comparing ROIs over different periods

    20% in 1 year beats 25% in 5 years. Compare annualized returns.

When to use it

  • Investing

    Stocks, funds, savings accounts or property.

  • Marketing

    Return on campaigns or tools, comparing profit generated with cost.

  • Projects

    Check whether an upgrade — solar panels, equipment — pays for itself.

Frequently asked questions

How do I calculate ROI?

Subtract the investment from what you got back, divide by the investment and multiply by 100.

What is a good ROI?

It depends on risk and time. Compare the annualized return with alternatives of similar risk.

Can ROI be negative?

Yes, when you get back less than you put in. −100% means losing everything.

Does ROI account for inflation?

No. For the real return, remove the period’s inflation (compounded).

Methodology

Simple ROI on the initial investment and geometric annualization. It does not handle cash flows on different dates (use IRR for that) or taxes. Not financial advice.

Calculation Methodology — Percentage Calculator

References