Finance

ROI Calculator

What this does

Compute return on investment as a percentage, with an optional annualized (CAGR) view when you enter a holding period.

Enter your details

Runs in your browser

Calculator inputs

ROI’s strength and weakness

Its simplicity makes ROI universal; marketing campaigns, renovations, courses and stocks can all be compared in one percentage. But raw ROI hides time: always ask “over how long?” before acting on the number.

When to annualize

Compare anything held for different lengths of time using the CAGR row instead. Two investments with identical ROI can have wildly different quality once time enters the picture.

The math behind this calculator

ROI = (Final − Initial) / Initial CAGR = (Final / Initial)^(1/years) − 1

ROI expresses profit as a share of what you put in. Because ROI ignores time, we also annualize it when you provide a holding period; a 25% gain in two years is very different from 25% in twenty.

Assumptions & limitations

  • No contributions or withdrawals during the holding period.
  • All costs of the investment are included in the initial amount.
  • Ignores taxes and transaction fees unless you fold them in.

Worked example

Turning $12,000 into $15,000 is a 25% ROI; achieved over 2.5 years, that is a 9.34% annualized return.

Frequently asked questions

Should I include fees in the initial amount?
Yes; adding commissions, closing costs or platform fees gives a truer picture of net return.
What if the final value is lower than the initial?
ROI goes negative and the calculator reports the loss honestly; annualized figures still compute for positive ending values.
Is ROI the same as profit margin?
No. Margin compares profit to revenue; ROI compares profit to invested capital.

Related calculators