ROI Calculator

Calculate ROI from cost and gain.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

Educational estimate only — not investment, lending, or financial advice. Confirm figures with statements or a qualified professional before you act.

About this tool

Enter the total value you got back and the cost of the investment. The calculator returns ROI as a percentage of cost, positive for a gain and negative for a loss.

How to use

1
Step 1
Enter the gain field as the total value returned, including your original money.
2
Step 2
Enter the cost, the amount you originally put in.
3
Step 3
Press Calculate to see ROI as a percentage.

How it works

ROI compares profit with cost. Note that the first field is the total return, not the profit: if you invested 10,000 and ended up with 11,500, enter 11,500. ROI does not account for time, so a 15% return over one year and over ten years show the same figure.

ROI % = (total return − cost) ÷ cost × 100

Worked example

Selling for 11,500 after paying 10,000

Input
Total return 11,500; cost 10,000
Output
15.00%
Walkthrough
11,500 − 10,000 = 1,500 profit. 1,500 ÷ 10,000 = 0.15, which is 15%.

Limitations

  • Ignores how long the money was invested. Use CAGR for a per-year rate.
  • Cost cannot be zero.
  • Fees and tax count only if you include them in the cost or the return.

Questions

How do I calculate ROI on a 10,000 investment that returned 11,500?
(11,500 − 10,000) ÷ 10,000 × 100 = 15%.
Can ROI be negative?
Yes. Getting back 4,200 on a cost of 5,000 gives (4,200 − 5,000) ÷ 5,000 = −16%.
What is the difference between ROI and CAGR?
ROI is the total return over the whole holding period. CAGR converts it to a yearly rate, which makes investments held for different lengths comparable.
Should the gain field include my original money?
Yes. Enter the total value you received. The calculator subtracts the cost itself to find the profit.

Features

  • Positive and negative returns
  • Percentage result
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Compound interest introduction

    Khan Academy

    Core finance math behind interest and loan calculators.

    Watch on YouTube
  • Calculating simple and compound interest

    Khan Academy

    Worked interest examples to compare with calculator output.

    Watch on YouTube
  • Simple Interest

    Math is Fun

    Simple interest when comparing with compound calculators.

  • Compound Interest

    Math is Fun

    Formulas for compound growth used by loan and interest tools.