ROI Calculator

Calculate return on investment (ROI) from the amount invested and the ending value of the investment or project.

Enter investment values

Use total initial cost and ending value measured on the same basis.

$
$
Your result

Return on investment

Updates automatically as you change the inputs.

Return on investment
25%
Gain or loss$2,500
Initial investment$10,000
Ending value$12,500

How to use the roi calculator

Enter the initial amount invested and the ending value. ROI measures the gain or loss relative to the original cost.

ROI formula

Calculation formulaROI formula
Used for the result above
ROI = (ending value − initial investment) ÷ initial investment × 100.

ROI is useful for a quick comparison, but it does not account for how long the investment was held. Two investments with the same ROI can have very different annualized returns.

Example: Omar measures a 25% return

Omar invests $10,000 and later receives $12,500, with no intermediate cash flows or additional costs. His gain is $2,500 and his return on investment is $2,500 ÷ $10,000 × 100 = 25%.

That is a total return for the entire holding period. It is not a 25% annual return unless the holding period is exactly one year. Include relevant costs in the inputs when comparing outcomes.

What ROI percentage measures

Simple return on investment compares net gain with the amount invested. A positive ROI means the modeled gain is greater than zero; a negative ROI means the modeled outcome is a loss relative to the cost base.

The percentage is useful for putting investments of different sizes on a common scale, but it does not by itself show how long the investment took to produce that return.

ROI is not an annualized return

A 20% ROI over one year and a 20% ROI over five years have the same simple percentage but very different time profiles. Annualized return adjusts for time; simple ROI does not.

Use this calculator when you want a basic gain-versus-cost ratio. Use an annualized return, CAGR, or IRR method when timing is central to the comparison.

Include the costs that belong in the decision

An ROI result is only as complete as the gain and cost figures entered. Transaction fees, maintenance, taxes, financing costs, labor, or other expenses can change the true economic return when they belong to the project or investment.

Assumptions and limitations

What the estimate assumes

Does not annualize returns or handle multiple deposits and withdrawals.

Important limitation 2

Taxes, fees, inflation, and risk are excluded.

ROI Calculator FAQs

What does a positive ROI mean?

The ending value is above the initial investment under the values entered.

Can ROI be negative?

Yes. If ending value is below initial cost, the result is negative.

Is ROI annualized?

No. This is total ROI for the full period represented by your inputs.

Does ROI include dividends or cash income?

Include them in the ending value or use a more detailed return calculation if cash flows occur at different times.

How is ROI calculated?

Simple ROI is net gain divided by investment cost, multiplied by 100 to express the result as a percentage.

Is ROI the same as annual return?

No. Simple ROI does not account for how long the investment was held. An annualized return method is needed when time periods differ.

For basic return comparisons. This is not investment advice and does not account for timing, risk, taxes, inflation, or multiple cash flows.