Skip to content

ROI Calculator

Find the percentage return on an investment after subtracting costs, with an optional annualized ROI for comparing investments held for different lengths of time.

Free No signup Runs in your browser

Your Details

What the investment is worth now, or what you sold it for.

Fees, commissions, closing costs, or other expenses.

Optional. Used to calculate annualized ROI. Decimals are allowed (1.5 = 18 months).

Your calculations are performed locally in your browser. Nothing you enter is sent or stored.

Your Results

Return on Investment (ROI) —
Total Profit (after costs)
—
Net Return (value after costs)
—
Gain Before Costs
—
Total Cost Basis
—

About the ROI Calculator

Return on investment (ROI) is one of the simplest ways to measure how well an investment performed. It compares your profit to the amount you put in, so you can compare a stock trade, a rental property, a small business purchase, or a marketing campaign on the same scale.

Because a 30% return over one year is very different from 30% over ten years, the calculator can also show annualized ROI when you enter a holding period.

How It Works

The calculator subtracts your initial investment and any additional costs from the final value to find your profit. It then divides that profit by the initial investment to get ROI as a percentage. Results can be positive (a gain) or negative (a loss).

If you enter a holding period, annualized ROI shows the constant yearly return that would turn your initial investment into the final value after costs over that time.

Formula

Return on investment
ROI = ((Final Value − Initial Investment − Costs) / Initial Investment) × 100
Annualized ROI
Annualized ROI = ((Final Value − Costs) / Initial Investment)1/t − 1
  • tholding period in years

Example

You invest $10,000, pay $250 in fees and commissions, and three years later the investment is worth $13,500.

Inputs

Initial investment
$10,000
Final value
$13,500
Additional costs
$250
Holding period
3 years

Results

Total profit
+$3,250.00
ROI
+32.50%
Annualized ROI
+9.83%

Understanding Your Results

  • ROI: Profit after costs as a percentage of your initial investment. A negative ROI means the investment lost money.
  • Total Profit: Final value minus the initial investment minus costs.
  • Net Return: The amount you walk away with after paying costs (final value minus costs).
  • Gain Before Costs: The change in value before fees, useful for seeing how much costs reduced your result.
  • Annualized ROI: The equivalent yearly return. Use it to compare investments held for different periods.

Frequently Asked Questions

What is a good ROI?
It depends on the investment, its risk, and how long it was held. ROI is most useful for comparing options on the same basis, ideally using annualized ROI when holding periods differ.
Can ROI be negative?
Yes. If the final value minus costs is less than your initial investment, ROI is negative, which represents a loss.
What costs should I include?
Include any money spent to buy, hold, or sell the investment: commissions, transaction fees, closing costs, maintenance, or advisory fees. Leaving costs out overstates ROI.
Why use annualized ROI?
Total ROI ignores time. A 20% return in one year and a 20% return over five years are very different; annualized ROI converts both to a yearly rate so they can be compared fairly.
Does ROI include taxes?
Only if you include them as a cost. Capital gains taxes can significantly change after-tax returns, so consider entering an estimate if you want an after-tax ROI.