Skip to main content

How to Calculate Return on Investment and Understand What Your Money Earned

What Return on Investment Means and Why You Calculate It

Return on investment, or ROI, is the percentage gain or loss you made on money you put into something. It answers a straightforward question: if I invested $1,000, how much did I actually make or lose, and what percentage of my original money does that represent?

ROI lets you compare how well different investments performed against each other on equal terms. A $500 gain on a $5,000 investment (10% return) outperformed a $500 gain on a $10,000 investment (5% return), even though the dollar amount was the same. ROI strips away the size difference and shows you the efficiency of each investment.

You calculate ROI the same way whether you are looking at stocks, bonds, real estate, or a business venture. The formula is simple, but the details matter—especially what you include as a "gain" and when you measure it.

Key Takeaways

  • ROI is calculated by dividing your net profit (or loss) by the amount you invested, then multiplying by 100 to get a percentage.
  • Net profit means the money you received back minus what you paid in, including any fees, commissions, or taxes you owe on the gain.
  • The time period matters: a 10% return over one year is much better than a 10% return over ten years, so always state the timeframe.
  • ROI does not account for risk, so two investments with the same ROI may carry very different chances of loss.
  • Annualized ROI converts returns from any time period into a yearly percentage, making it easier to compare investments held for different lengths of time.

The Basic ROI Formula and a Concrete Example

The formula is:

ROI = (Net Profit ÷ Amount Invested) × 100

Say you bought 100 shares of a stock at $50 per share, spending $5,000. Two years later, you sold all 100 shares at $65 per share, receiving $6,500. You also paid a $25 commission when you sold. Your net profit is $6,500 minus $5,000 minus $25 = $1,475. Your ROI is ($1,475 ÷ $5,000) × 100 = 29.5% over two years.

That 29.5% tells you that your original $5,000 grew by nearly 30 percent. But it does not tell you whether that was fast or slow—that depends on the two-year timeframe. If someone else made 29.5% in six months, they did better. If they took five years, they did worse.

What Counts as "Net Profit" and What Does Not

Net profit is what you have left after subtracting everything that cost you money. This includes brokerage commissions, trading fees, advisory fees, and taxes on the gain. It does not include money you would have earned elsewhere—that is called "opportunity cost," and it is real but separate from ROI.

If you received dividends or interest while holding the investment, add that to your proceeds before calculating profit. If you held the investment in a taxable account and owe capital gains tax, subtract what you owe (not what you paid in taxes, but what you actually owe based on your gain). If you held it in a tax-deferred account like a 401(k) or traditional IRA, you do not subtract taxes now because you will pay them later when you withdraw.

Fees matter more than many investors realize. A $50 commission on a $5,000 investment reduces your ROI by 1 percentage point. Over many trades, fees compound. Always include them in your calculation.

Annualizing Your Return to Compare Across Different Time Periods

A 20% return sounds great until you learn it took eight years. A 20% return in one year is much stronger. To compare returns fairly across different holding periods, convert them to an annualized return—the average percentage gain per year.

The formula for annualized ROI is:

Annualized ROI = [(Ending Value ÷ Beginning Value) ^ (1 ÷ Number of Years)] − 1

Using the stock example: your beginning value was $5,000, your ending value was $6,475 (the $6,500 you received minus the $25 commission), and you held it for 2 years. The calculation is [(6,475 ÷ 5,000) ^ (1 ÷ 2)] − 1 = [1.295 ^ 0.5] − 1 = 1.138 − 1 = 0.138, or 13.8% per year.

This annualized figure is what you see in fund prospectuses and performance reports. It lets you compare a fund that returned 29.5% over two years against one that returned 15% over one year on the same basis—the first one averaged 13.8% yearly, so they performed similarly.

Why ROI Alone Does Not Tell the Whole Story

Two investments can have identical ROI but very different risk profiles. A stock that swung wildly and ended up 15% higher delivered the same return as a bond that climbed steadily to 15%, but the stock was far more volatile. ROI does not measure volatility, drawdown, or the chance you could lose money.

ROI also does not account for the time your money was tied up. If you invested $10,000 and got back $11,000 after five years, your ROI was 10%. But your money was locked away the whole time—you could not use it for emergencies or other opportunities. That opportunity cost is real, even though it does not show up in the ROI number.

Use ROI as one tool among several. Pair it with measures of risk, your personal time horizon, and your actual financial goals. A lower-ROI investment that lets you sleep at night may be the right choice.

Calculating ROI on Investments You Still Hold

You do not have to sell an investment to calculate its current ROI. Use the current market value instead of the sale price. If you bought a stock for $50 and it is now worth $65, your unrealized gain is $15 per share. Multiply by the number of shares and divide by your total investment to get your current ROI.

Keep in mind that this is unrealized—the gain exists on paper but you have not locked it in by selling. If the stock drops back to $50 tomorrow, your ROI drops to zero. Unrealized ROI is useful for tracking your portfolio's progress, but it is not final until you sell.

If you are holding an investment in a tax-deferred account, you still calculate ROI the same way. The tax deferral does not change the math; it only changes when you pay taxes on the gain. Calculate the ROI now, and remember that you will owe taxes on the gain when you eventually withdraw the money.

ROI on Investments That Pay Income

Bonds, dividend stocks, and rental properties generate income while you hold them. Include all that income in your profit calculation. If you bought a bond for $10,000 and received $400 in annual interest over three years ($1,200 total), then sold it for $10,100, your total profit is $1,200 plus $100 = $1,300. Your three-year ROI is ($1,300 ÷ $10,000) × 100 = 13%, or about 4.2% annualized.

For rental property, your profit is the rent you collected minus expenses (mortgage interest, property tax, insurance, maintenance, vacancy losses). If you collected $30,000 in rent over three years and spent $18,000 on expenses, your net profit is $12,000. Divide that by your down payment (not the full property price) to get your ROI on the capital you actually invested.

Frequently Asked Questions

Is a 10% ROI good?

It depends on the time period and what you are comparing it to. Historically, the stock market has averaged around 10% annually over very long periods, but individual years vary widely. A 10% return in one year is solid; 10% over five years is weak. Compare your return to a relevant benchmark—the S&P 500 for stocks, the Bloomberg Aggregate Bond Index for bonds—not to an arbitrary number.

Do I include taxes I already paid in my ROI calculation?

No. Include only the taxes you owe on the gain itself. If you already paid estimated taxes or had taxes withheld, that is a separate cash flow issue. For ROI purposes, subtract only the actual tax liability created by your profit. In a tax-deferred account, subtract nothing now because you will pay taxes later.

How do I calculate ROI if I added money to the investment over time?

The simple formula breaks down when you make multiple deposits. Use the money-weighted return method: calculate the return for each period between deposits separately, then link them together. Many investment platforms calculate this automatically and call it "internal rate of return" or IRR. If you are doing it by hand, consult your brokerage's help section for their specific method.

Can ROI be negative?

Yes. If you invested $5,000 and sold for $4,200, your profit is negative $800. Your ROI is (−$800 ÷ $5,000) × 100 = −16%. A negative ROI means you lost money on the investment.

Should I use ROI to decide whether to sell an investment?

ROI tells you what happened in the past, not what will happen next. A stock with a 50% ROI might keep climbing or might fall. A stock with a −20% ROI might recover or might fall further. Use ROI to understand your portfolio's history and to compare how different investments performed. Use other analysis—the company's fundamentals, your financial goals, your time horizon—to decide whether to hold or sell.