Free online tool

ROI Calculator

Enter the final value including returned capital and your investment cost. The calculator subtracts the cost once to find the gain or loss.

Instant calculation

Calculate Return on Investment

Enter the final value including returned capital, then the original investment cost.

Calculation inputs are processed in your browser. Copying or sharing a result is your choice. See our privacy policy for advertising and technical logs.

Tool and explanation maintained by Leslie. Report an incorrect result.

Input steps

How to use this calculator

  1. 01

    Enter the final value including returned capital

    In Final value including returned capital, enter 1,150 for an investment that began at 1,000 and gained 150.

  2. 02

    Enter the investment cost

    In Investment cost, enter 1,000 for this example.

  3. 03

    Calculate ROI

    The gain is 1,150 − 1,000 = 150. Dividing 150 by 1,000 gives a return of 15%.

The formula

How this calculation works

Final value includes the capital returned. The difference is the gain or loss; divide that by the initial investment.

ROI Calculator

ROI = (final value − initial investment) / initial investment × 100

Check the method

Worked examples

Each example follows the same formula used by the calculator.

20000 investment ends at 25000?

(25000 − 20000)/20000 × 100 = 25%25% return; 5000 gain.

1000 investment ends at 800?

(800 − 1000)/1000 × 100 = −20%20% loss.

1000 investment ends at 1000?

(1000 − 1000)/1000 × 100 = 0%0% nominal return, before any uncounted costs.

Enter the final value including capital

An investment of 20000 that ends at 25000 has profit 5000 and ROI 25%. Entering only the 5000 profit as the final value would incorrectly imply a 75% loss. Include costs consistently.

State what the final value includes

If an investment costs 1000 and the final total value is 1150, ROI is 15%. If the final value is 900, ROI is −10%. Income or distributions omitted from the final value make this simple comparison incomplete; costs also need consistent treatment. Keep a record of which cash amounts were included.

Avoid comparing different holding periods blindly

Growing 1000 to 1210 over two years gives 21% cumulative ROI. With no intervening cash flows, that corresponds to 10% compound annual growth, not 10.5%. The Average Return page calculates that annualized measure. Neither page computes a money-weighted return with dated deposits and withdrawals, and neither result predicts future performance.

Plan a savings goal and compare growth assumptions, including the different deposit timing used by our two savings tools.

Method notes updated by Leslie.

Common questions

Questions about this calculation

Does ROI account for time?

No. A 25% gain in one year and the same gain over ten years have the same simple ROI. Use annualized return for elapsed-year comparisons, and a cash-flow model when deposits or withdrawals occur.