Skip to main content

HomeAll guides

How to Calculate Your Return on Investment

What rate of return means and why you calculate it

Rate of return is the percentage gain or loss on money you invested over a specific period. It tells you how much your investment grew (or shrank) relative to what you put in. Calculating it yourself lets you compare one investment against another on the same terms, track whether your portfolio is meeting your goals, and understand what your money actually earned after you account for the time it was invested.

The calculation is straightforward: you subtract what you started with from what you ended with, divide by what you started with, and multiply by 100 to get a percentage. The tricky part is deciding which version of the formula fits your situation — whether you held the investment for one year or many, whether you added or withdrew money along the way, and whether you want a straightforward snapshot or an annualized figure that accounts for time.

Key Takeaways

  • straightforward return divides your gain or loss by your initial investment and converts to a percentage; use this when you held an investment for one year or want a quick snapshot.
  • Annualized return spreads that gain or loss across multiple years so you can compare investments held for different lengths of time on equal footing.
  • Money-weighted return accounts for deposits and withdrawals you made during the holding period, which matters if you added to or pulled from the investment over time.
  • The formula changes depending on whether you are measuring a single year, multiple years, or a period when your balance shifted due to your own contributions.

straightforward return: the basic one-year calculation

straightforward return is the easiest version and works when you want to measure a single year or any period where you did not add or withdraw money. The formula is:

(Ending Value − Beginning Value) ÷ Beginning Value × 100 = Return %

If you bought a stock for $1,000 and it was worth $1,150 one year later, your straightforward return is ($1,150 − $1,000) ÷ $1,000 × 100 = 15%. If it dropped to $900, your return is ($900 − $1,000) ÷ $1,000 × 100 = −10%. The negative sign shows a loss.

This method works for any time period, not just a year. If you held the investment for three months, you would still use the same formula — but the result would be the three-month return, not an annual one. That matters when you compare it to other investments, because a 15% return over three months is much stronger than a 15% return over a year.

Annualized return: comparing investments held for different lengths of time

Annualized return converts your total return into an average yearly rate, so you can fairly compare an investment you held for two years against one you held for five years. The formula is:

((Ending Value ÷ Beginning Value) ^ (1 ÷ Number of Years)) − 1 × 100 = Annualized Return %

The "^" symbol means "to the power of" — you are taking a root of the ratio. If you invested $10,000 and it grew to $12,100 over two years, the calculation is ((12,100 ÷ 10,000) ^ (1 ÷ 2)) − 1 × 100. That is (1.21 ^ 0.5) − 1 × 100 = (1.1) − 1 × 100 = 10% annualized return per year.

This method assumes you reinvested any dividends or interest you earned along the way. If you withdrew dividends and spent them, the actual annualized return on the money still in the account would be different. Most investment statements use this formula because it reflects the compounding effect — your gains earned gains of their own.

Money-weighted return: accounting for deposits and withdrawals

If you added money to an investment at different times or withdrew some, straightforward and annualized returns can mislead you. Money-weighted return (also called internal rate of return) adjusts for the timing and size of your own contributions. This matters because $5,000 added when the market was down had a bigger effect than $5,000 added when it was up.

Money-weighted return is harder to calculate by hand because it requires solving an equation where the answer appears on both sides. Most investors use a spreadsheet function (Excel's XIRR, Google Sheets' XIRR) or let their brokerage calculate it. You input the date and amount of each deposit and withdrawal, plus the ending value and date, and the function solves for the rate that makes all the cash flows balance.

This method is most useful when you are evaluating your own performance as an investor — how well you timed your contributions and withdrawals — rather than comparing two different securities. If you added $10,000 in January and another $10,000 in October, and the account grew to $22,000 by year-end, money-weighted return tells you the true rate of growth accounting for when you added that second $10,000.

Total return: including dividends and interest

Total return includes not just the change in price but also any dividends (from stocks) or interest (from bonds) you received. If you reinvested those payments back into the investment, they compound and boost your return. If you took the cash out, you still count it as part of your gain.

To calculate total return, add any dividends or interest received to your ending value before you subtract the beginning value. If you bought a stock for $1,000, received $30 in dividends, and the stock was worth $1,150 at the end, your total return is ($1,150 + $30 − $1,000) ÷ $1,000 × 100 = 18%. Without including the dividend, you would have calculated only 15%.

Most investment statements show total return by default because it is the truest picture of what your money earned. If you see a return figure on a brokerage statement or fund fact sheet, it almost always includes reinvested dividends unless the statement specifically says otherwise.

Return on investment versus rate of return: what the difference is

Return on investment (ROI) and rate of return are often used interchangeably, but ROI sometimes refers to the dollar amount of gain rather than the percentage. If you made $200 on a $1,000 investment, the ROI might be stated as "$200" and the rate of return as "20%". In practice, most people use "rate of return" to mean the percentage and "ROI" to mean the same thing.

For clarity, always state whether you are talking about a dollar amount or a percentage. "My return was $200" is different from "My return was 20%," and the context matters when you are comparing investments or explaining results to someone else.

Common mistakes when calculating rate of return

The most common error is forgetting to account for the time period. A 10% return over six months is much better than a 10% return over five years, but the straightforward return formula gives the same number for both. Always annualize if you are comparing investments held for different lengths of time.

Another mistake is leaving out dividends or interest. If a stock paid you $50 in dividends during the year, that money is part of your return even if you spent it. Forgetting to include it understates how much your investment actually earned.

A third error is using the wrong beginning value. If you are calculating a return for a specific year, use the value on January 1 of that year, not the value from when you originally bought the investment. If you bought in 2015 but want to know your 2023 return, start with your balance on January 1, 2023.

Frequently Asked Questions

How do I annualize a return if I only held the investment for a few months?

Divide the straightforward return by the number of months you held it, then multiply by 12. If you earned 5% over four months, the annualized return is (5 ÷ 4) × 12 = 15%. This assumes the same rate of return would continue for the full year, which is a rough estimate but useful for quick comparisons.

Should I use straightforward return or annualized return?

Use straightforward return if you are measuring a single year or want a quick snapshot of gain or loss. Use annualized return when you are comparing two investments held for different lengths of time, or when you want to know the average yearly performance over a multi-year period. Most investment statements show annualized return for this reason.

What if my investment lost money — how do I calculate a negative return?

Use the same formula. If you invested $1,000 and it dropped to $800, your return is ($800 − $1,000) ÷ $1,000 × 100 = −20%. The negative sign shows a loss. Annualized returns can also be negative if your investment declined over multiple years.

Does my brokerage calculate rate of return for me?

Most brokerages show total return on your account statements, usually as both a dollar amount and a percentage. Some also show annualized return and money-weighted return. Check your statement or log into your account online to see what figures are already calculated — you may not need to do the math yourself.

How is rate of return different from yield?

Yield is the income (dividends or interest) an investment produces in a year, expressed as a percentage of its current price. Rate of return includes both the income and any change in the price itself. A bond might have a 4% yield but a 2% rate of return if its price fell. Rate of return is the broader measure.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.