ROI Calculator

Calculate your return on investment as a percentage and as an annualized rate so you can compare investments held for different lengths of time.

Loading calculator…

Understanding Your Results

ROI tells you how much you gained relative to what you put in. Because a 50% return over one year is very different from 50% over ten, the calculator also shows the annualized rate, which is the constant yearly growth that would produce the same result.

How to Use the ROI Calculator

  1. Enter the amount you invested.
  2. Enter the final value or sale price.
  3. Add any extra costs such as commissions, repairs or closing costs.
  4. Enter how long you held the investment in years.
  5. Press Calculate.

Formula

Cost basis = amount invested + additional costs
Net profit = final value − cost basis
ROI = net profit ÷ cost basis × 100
Annualized ROI = ((final value ÷ cost basis)^(1 ÷ years) − 1) × 100

Example Calculation

You invest $10,000 and sell for $15,000 after 3 years with no extra costs. Profit is $5,000, so ROI is 50%. The annualized ROI is (1.5^(1/3) − 1), about 14.5% per year.

What Is ROI?

Return on investment measures gain or loss relative to cost. It is one of the most common ways to compare investments, from stocks and real estate to equipment and marketing spend.

Total ROI vs Annualized ROI

Total ROI ignores time. Annualized ROI converts the result into a yearly growth rate, making a 3-year deal and a 10-year deal comparable. For periods under a year the annualized number can look extreme, so interpret it cautiously.

What Belongs in the Cost Basis

Include everything you spent to acquire and maintain the investment: purchase price, commissions, closing costs, repairs and fees. Leaving costs out inflates ROI.

Tips

  • Add income received (dividends, rent) to the final value.
  • Compare ROI to inflation using the inflation calculator.
  • Consider risk and liquidity, not only the percentage.

Common Mistakes

  • Forgetting transaction costs and taxes.
  • Comparing total ROI across different time periods.
  • Extrapolating a short-term annualized return into the future.

Frequently Asked Questions

What is a good ROI?

It depends on risk and time. Compare against alternatives and against inflation, and use the annualized figure for comparison.

Does ROI include dividends or rent?

Only if you add them to the final value. For a complete picture, include all income received.

Why use annualized ROI?

It makes investments with different holding periods comparable.

Does ROI account for risk?

No. Two investments with the same ROI can have very different risk.

How do I include taxes?

Subtract expected taxes from the final value, or add them to costs, to compute an after-tax return.

About This Calculator

Calculation methodology: All math runs locally in your browser using the formula shown on this page. Nothing you enter is sent to our servers by the calculator.

Last updated:

Disclaimer: This calculator provides estimates for educational purposes only and is not financial, tax, legal or investment advice. Results depend on the information you enter and on assumptions that may not match your situation. Consult a qualified professional before making financial decisions. Read the full disclaimer.