ROI Calculator

Work out the return on any investment, project or purchase: the gain, the ROI percentage and the annualized return per year.

  • ✓ Free
  • ✓ No sign-up
  • ✓ Runs in your browser
$
$
years
Optional, for the annualized ROI

Add this calculator to your website

Copy the code below and paste it into your page’s HTML (in WordPress, use a Custom HTML block). It’s free, with no sign-up and no ads inside the calculator.

Preview

Please keep the link under the calculator. It tells your readers where the calculator comes from.

The formulas

ROI = (Returned − Invested) ÷ InvestedAnnualized ROI = (Returned ÷ Invested)^(1 ÷ years) − 1

Example: $5,000 that turns into $6,500 is a 30% ROI. Over 3 years that is about 9.14% a year; over 1 year it is the full 30% a year.

Have money going in and out at different times? Use the IRR Calculator. For yearly returns, see the Average Return Calculator.

Frequently asked questions

How do I calculate ROI?

ROI = (what you got back − what you put in) ÷ what you put in. If you invest $5,000 and end with $6,500, the gain is $1,500 and the ROI is 30%.

Why annualize ROI?

A 30% ROI is great over one year and poor over ten. The annualized ROI turns any ROI into a yearly rate so investments held for different lengths of time can be compared fairly.

What should I count as cost?

Everything you paid to get the result: the purchase price plus fees, commissions, repairs or marketing. Count income received along the way, such as rent or dividends, as part of what you got back.