ROI Calculator (Return on Investment)

Calculate your return on investment as a percentage, your net profit and the annualized ROI per year for any holding period

Last updated: November 3, 2026

How to Use the ROI Calculator (Return on Investment)

How to calculate return on investment

  1. Enter the amount invested. This is your starting cost.
  2. Enter the final value. Use the current value, or the price you sold for.
  3. Add any extra costs (optional). Include fees, commissions, taxes, repairs or other expenses, because they reduce your real return.
  4. Add the time held (optional). Enter years and months to see the annualized ROI.
  5. Read the result. You will see the ROI percentage, the net profit, the annualized ROI, and how many times your money has grown.

A negative ROI means a loss. For example, an investment of $10,000 that is now worth $8,000 has an ROI of −20%.

Formula & Methodology

ROI formula

ROI = (Final value − Total cost) ÷ Total cost × 100

  • Final value = what the investment is worth now, or what you sold it for
  • Total cost = the amount invested plus any fees and other costs
  • Net profit = final value − total cost

Annualized ROI

A simple ROI ignores how long you held the investment. The annualized ROI turns it into a yearly rate so investments of different lengths can be compared:

Annualized ROI = ((Final value ÷ Total cost) ^ (1 ÷ years) − 1) × 100

This is the same as the compound annual growth rate (CAGR).

Worked example

You invest $10,000, pay no extra costs, and sell for $15,000 after 2 years.

  1. Net profit = 15,000 − 10,000 = $5,000
  2. ROI = 5,000 ÷ 10,000 × 100 = 50%
  3. Annualized ROI = (1.5 ^ (1 ÷ 2) − 1) × 100 = 22.47% a year

Now add $500 of fees. The total cost is $10,500, so the net profit is $4,500 and the ROI is 4,500 ÷ 10,500 × 100 = 42.86%.

What counts as a good ROI?

There is no single answer, because it depends on the risk and the time. Long-run stock market returns have averaged roughly 7 to 10% a year before inflation, and a high-yield savings account pays a few percent with almost no risk. A 50% ROI over 10 years is only about 4.1% a year, which may be less impressive than it sounds, so always check the annualized figure.

About ROI Calculator (Return on Investment)

Our roi calculator (return on investment) is a free, easy-to-use tool designed to help you calculate your return on investment as a percentage, your net profit and the annualized roi per year for any holding period. For professionals or those who need quick calculations, our calculator provides accurate results instantly.

Frequently Asked Questions

How do you calculate ROI?

Subtract the total cost from the final value, divide the result by the total cost, and multiply by 100. If you invest $10,000 and it grows to $15,000, the ROI is (15,000 − 10,000) ÷ 10,000 × 100 = 50%.

What is annualized ROI?

It is the average yearly return that would produce your total gain over the time you held the investment, compounded. The formula is ((final value ÷ cost) ^ (1 ÷ years) − 1) × 100. A 50% ROI over 2 years is about 22.47% a year, not 25%.

What is a good ROI?

It depends on the risk and the time period. Broad stock market indexes have historically returned roughly 7 to 10% a year on average, while safer options like savings accounts and bonds pay less. A return is only good compared with the risk you took and the alternatives you had.

Should I include fees and taxes in ROI?

Yes, if you want your real return. Add commissions, fees, taxes, repairs and other expenses to the total cost. The calculator has an extra costs field for this, and including them lowers the ROI.

Can ROI be negative?

Yes. If the final value is lower than the total cost, the ROI is negative and shows your loss as a percentage. Losing everything gives an ROI of −100%.

What is the difference between ROI and profit margin?

ROI compares your profit with the money you put in, while profit margin compares your profit with the selling price or revenue. A product bought for $60 and sold for $100 has an ROI of 66.7% but a profit margin of 40%. Use the profit margin calculator for the second one.

What are the limits of ROI?

A basic ROI ignores time, so a 30% return over 10 years looks the same as 30% over 1 year. It also ignores risk and the timing of cash flows. Use the annualized ROI to compare investments held for different lengths of time.

Enter your values
$

What you paid for the investment

$

What it is worth now or what you sold it for

$

Fees, commissions, taxes, repairs or other expenses

years

Add the time to see the annualized ROI

months

Your result will appear here

Loading…