ROI Calculator

Calculate total and annualized return on investment from initial and final values.

Results

Visualization

How It Works

The ROI Calculator measures how much profit you've earned from an investment relative to what you initially spent, showing both total return and annualized return over your holding period. Understanding ROI helps you compare the performance of different investments and determine whether your money is working effectively toward your financial goals. This tool is designed for both quick estimates and detailed planning scenarios. Results update instantly as you adjust inputs, making it easy to compare different approaches and understand how each variable affects the outcome. For best accuracy, use precise measurements rather than rough estimates, and consider running multiple scenarios to establish a realistic range of expected results.

The Formula

Total ROI (%) = [(Final Value - Initial Investment) / Initial Investment] × 100; Annualized ROI (%) = [(Final Value / Initial Investment)^(1 / Years) - 1] × 100; Net Profit ($) = Final Value - Initial Investment

Variables

  • Initial Investment — The amount of money you put into the investment at the start, expressed in dollars. This is your principal or starting capital.
  • Final Value — The total worth of your investment at the end of the holding period, including any gains or losses but before accounting for taxes or fees.
  • Investment Period — The number of years (or fraction of years) you held the investment from purchase to sale or valuation date.
  • Total ROI — The percentage gain or loss on your entire investment over the complete holding period, without accounting for the time value of money.
  • Annualized ROI — The average annual return on investment, accounting for the compounding effect over multiple years—useful for comparing investments held for different time periods.
  • Net Profit — The absolute dollar amount gained or lost on the investment, calculated as the difference between final value and initial investment.

Worked Example

Let's say you invested $5,000 in a stock mutual fund on January 1, 2019, and that investment grew to $7,250 by January 1, 2024 (a 5-year holding period). First, calculate net profit: $7,250 - $5,000 = $2,250 gained. Next, find total ROI: ($2,250 / $5,000) × 100 = 45% total return over 5 years. Finally, annualize it: [(7,250 / 5,000)^(1/5) - 1] × 100 = 7.76% annualized return. This tells you that while your investment grew 45% overall, it averaged about 7.76% growth per year—useful when comparing this to other investments you held for different periods.

Practical Tips

  • Always use the annualized ROI when comparing investments held for different lengths of time. A 50% return over 10 years looks impressive until you annualize it to 4.1% per year and compare it to a stock that gained 40% in 2 years (17.9% annualized).
  • Remember that this calculator doesn't account for taxes, trading fees, or inflation. For a true picture of returns, subtract capital gains taxes from your final value and consider using inflation-adjusted returns for long-term comparisons.
  • Include dividends and interest in your final value when calculating ROI. If you received $200 in dividend payments during your holding period, add that to your stock's selling price before calculating returns.
  • Use this calculator to evaluate your investment portfolio annually. Tracking ROI year-over-year helps you identify underperforming investments and hold yourself accountable to your financial goals.
  • Benchmark your annualized ROI against appropriate indexes—compare stock investments to the S&P 500, bond portfolios to bond indexes, and real estate to real estate appreciation rates in your area.

Frequently Asked Questions

What's the difference between total ROI and annualized ROI?

Total ROI shows your complete profit percentage from start to finish, regardless of how long you held the investment. Annualized ROI breaks that return into an average yearly rate, accounting for compounding. If you made 60% over 5 years, your total ROI is 60%, but your annualized ROI is about 9.95% per year—the annualized figure is better for comparing investments held for different periods.

Why does my investment show negative ROI?

Negative ROI means your final value is less than your initial investment, resulting in a loss. For example, if you bought a stock for $1,000 and it's now worth $800, you have a -20% total ROI. This happens when investments decline in value and occurs frequently in volatile assets like individual stocks, cryptocurrency, and speculative trades.

Should I include fees and taxes in my final value?

Not initially—calculate ROI using the actual market value of your investment at the end date. However, for a true picture of what you actually earned, create a separate calculation where you subtract trading commissions, advisory fees, and estimated capital gains taxes from your final value. This 'after-cost' ROI is what you actually keep.

How do I calculate ROI for an investment I still own?

Use the current market value as your 'final value.' For example, if you bought stock for $3,000 and it's currently worth $4,200, calculate ROI using $4,200 as the final value. Keep in mind this is unrealized ROI—the actual gains haven't locked in until you sell.

Can annualized ROI be misleading for short-term investments?

Yes, it can exaggerate returns on investments held less than a year. If you made $500 profit on a $2,000 investment over 3 months (25% total ROI), annualizing it shows 100% returns—but that's not realistic if you won't repeat that performance. For short-term results, focus on total ROI instead of annualized figures.

Sources

  • Investopedia: Return on Investment (ROI)
  • SEC Office of Investor Education and Advocacy: Investment Returns
  • The Balance: How to Calculate ROI on Your Investments

Last updated: April 02, 2026 · Reviewed by the CalcSuite Editorial Team · About our methodology