ROI Calculator

Profit ÷ invested, and CAGR if you enter years. Click any i for detail.

Jump to result

Cash in and out

Invested ($)
i
Invested

What you put in.

Returned ($)
i
Returned

What you got back (ending value, sale proceeds, etc.).

Years (optional)
i
Years

Set to 0 to skip annualization.

How to use this calculator

  1. Enter cash in and cash out.
  2. Optionally enter holding years for CAGR.
  3. ROI can be negative.
  4. Taxes and contributions-along-the-way are not in this simple form.

Results explained

ROI = (returned − invested) / invested. CAGR = (returned/invested)^(1/years) − 1 when years > 0.

Quick reference: ROI vs CAGR

A 25% ROI over two years is not a 25% annual return.

ItemDetail
$10k → $12.5k25% ROI
Same over 2 years≈ 11.8% CAGR
Loss $10k → $8k−20% ROI
Compound interest pageScheduled contributions / compounding

Simple two-number ROI. Not an IRR with multiple cash flows.

How the estimate is built

ROI = (R − I)/I. CAGR = (R/I)^(1/t) − 1.

Example scenario

$10,000 → $12,500 is 25% ROI; over 2 years ≈ 11.8% annualized.

FAQ

Include fees?

Net them in invested or returned — this page will not guess them.

Stock dividends?

Fold dividends into returned if you want a total-return ROI.

Margin vs ROI?

Margin is on a sale price; ROI is on capital deployed.