1. Home
  2. Money
  3. ROI Calculator
Money

ROI Calculator

Measure return relative to an investment cost.

Your numbers

Results update as you type. Nothing you enter is sent anywhere.

Result

25%

Net gain/loss: $250.00 from $1,000.00 invested.

Formula used

ROI = (current value − cost) ÷ cost × 100

Return on investment compares what you gained or lost with what you put in, as a percentage. Enter the initial cost and the current value, and this calculator returns the ROI along with the net gain or loss in dollars.

How to use the ROI calculator

  1. Enter the Initial cost: everything you paid to acquire the investment, including commissions or setup costs.
  2. Enter the Current value: today's market value or the amount you sold for, after selling costs.
  3. Read the ROI percentage. A negative figure means a loss.
  4. Check the net gain or loss in dollars below the result.

How the roi calculation works

FormulaROI = (current value − cost) ÷ cost × 100

What to count as cost and value

ROI is only as good as its inputs. If you bought shares for $12,000 and paid $50 in fees, the cost is $12,050. For a rental or a home project, include repairs, closing costs and other money you put in, not only the purchase price. Dividends, rent or interest you received can be added to the current value so they count toward the return.

Leaving costs out inflates the result. A $3,300 gain on $12,000 is 27.5%, but if another $1,000 of costs was missed, the true figure is $2,300 on $13,000, about 17.7%.

ROI ignores time

A 27.5% return over one year and the same return over five years are very different results, yet the ROI is identical. To compare investments held for different periods, convert to an annualized rate: (current value ÷ cost)^(1 ÷ years) − 1. Over 3 years, 27.5% works out to about 8.4% a year.

ROI also ignores inflation and taxes, and it cannot handle money added or withdrawn partway through. For a lump sum, check your annualized figure with the Future Value Calculator by entering the cost, the annual rate and the years.

Worked example

An investment that grew from $12,000 to $15,300

Initial cost: 12000 · Current value: 15300

  1. Net gain = 15,300 − 12,000 = 3,300.
  2. ROI = 3,300 ÷ 12,000 × 100 = 27.5%.
  3. If this took 3 years: (15,300 ÷ 12,000)^(1/3) − 1 = 1.275^(1/3) − 1 ≈ 0.0844, about 8.4% a year.

Result: 27.5%

Assumptions and limits

Does not account for time, inflation, taxes, fees or cash flows. Currency is a display choice, not an exchange-rate conversion.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

What is a good ROI?

There is no single benchmark, because ROI depends on risk and how long the money was tied up. Compare the annualized return with the alternatives open to you, such as an insured savings account, over the same period. A high ROI on a risky bet is not directly comparable to a lower guaranteed return.

How do I calculate ROI with a loss?

Use the same formula; the result comes out negative. If $8,000 fell to $6,800, ROI = (6,800 − 8,000) ÷ 8,000 × 100 = −15%.

How is ROI different from annual return?

ROI measures the total change over the whole holding period. Annual return spreads it over the years held, which lets you compare investments of different lengths. A 50% ROI over 5 years is about 8.4% a year.

Should I include dividends in ROI?

Yes, if you want total return. Add the dividends or other income you received to the Current value before calculating. Leaving them out understates the return of income-paying investments.