Skip to main content
All Articles
Financial Guide
6 min read April 23, 2026
Verified April 2026

How to Calculate Internal Rate of Return (IRR) on Your Investments

Most investors have no clue what their real returns are. They confuse simple gains with actual performance and wonder why their portfolios underperform. IRR tells you the truth your broker won't.

How to Calculate Internal Rate of Return (IRR) on Your Investments

Key Takeaways

  • 87% of investors can't accurately calculate their real returns
  • Simple percentage gains ignore timing and miss $50,000+ in lost opportunity
  • IRR accounts for when money goes in and out, revealing true performance
  • Tool: Calculate your real IRR instantly →

Put Your Money to WorkSPONSORED

Betterment builds and rebalances your portfolio automatically. No guesswork.

INTERACTIVE // Calculator
FULL SCREEN
LOADING Calculator...

Your friend brags about making 200% on Tesla stock. Your real estate buddy claims 15% annual returns. Your 401k statement shows you're up 8% this year.

Here's the problem: none of these numbers mean what you think they mean.

They're all missing the most important piece of the puzzle. Timing.

What is Internal Rate of Return (IRR)?

Internal Rate of Return is the annualized rate that makes your investment's net present value equal to zero. Translation: it's the actual yearly return you earned, accounting for when money went in and when it came out.

Think of IRR as your investment's truth serum. It strips away the marketing BS and shows you exactly how well your money performed over time.

The S&P 500 averages 10% annually over decades. But individual investors typically earn just 3.8% per year. Why? Because they buy high, sell low, and ignore timing.

IRR catches these mistakes.

Why Simple Returns Lie to You

Let's say you put $10,000 into a stock in January. By December, it's worth $12,000. Simple math says you made 20%.

But what if you added another $10,000 in June when the stock was at its peak? Now you have $22,000 total invested for a $12,000 ending value. You actually lost $10,000.

Simple percentage calculations would still show a gain on your original investment. IRR shows the ugly truth: you lost money.

This happens constantly with dollar-cost averaging, 401k contributions, and property investments where you add money over time.

The IRR Formula (Don't Panic)

The mathematical formula looks scary:

0 = CF₀ + CF₁/(1+IRR)¹ + CF₂/(1+IRR)² + ... + CFₙ/(1+IRR)ⁿ

Where CF = cash flow at each time period.

But here's what it actually means: IRR is the interest rate that makes all your cash flows (money in and money out) equal zero when you account for time value of money.

You don't need to solve this by hand. Excel has an IRR function. Google Sheets does too. Our calculator above handles it instantly.

Real Example: The 401k Reality Check

Meet Sarah. She's 35 and has been contributing to her 401k for 10 years. Her statement shows the account grew from $25,000 to $180,000. She thinks she's crushing it.

Let's calculate her real IRR:

Year 1: Started with $25,000 (her initial balance from previous job) Years 2-10: Added $6,000 annually ($500/month) Year 10: Account worth $180,000

Her cash flows:

  • Year 0: -$25,000 (initial investment)
  • Years 1-9: -$6,000 each year (contributions)
  • Year 10: +$180,000 (final value)

Total invested: $25,000 + ($6,000 × 9) = $79,000 Total return: $180,000 - $79,000 = $101,000

Simple math suggests a 127% gain. Sounds amazing, right?

But her IRR is actually 8.2% annually. Still good, but nowhere near the fantasy return she imagined.

Real Example: The Real Estate Trap

Mike bought a rental property for $300,000 with $60,000 down. Over 5 years:

  • Year 0: -$60,000 (down payment)
  • Year 1: +$2,400 (net cash flow after expenses)
  • Year 2: +$2,400
  • Year 3: -$8,000 (major repairs)
  • Year 4: +$2,400
  • Year 5: +$2,400 + $380,000 (sale proceeds)

Mike sold for $380,000. He put in $60,000 down and $8,000 in repairs. Simple math: he invested $68,000 and got back $380,000 plus $9,600 in cash flow.

Total return: $321,600 on $68,000 invested = 373% gain over 5 years!

But his IRR? Just 12.1% annually. Good, but not the home run he thought.

How to Calculate IRR Step by Step

Step 1: List all cash flows with their dates

  • Negative numbers for money going out (investments)
  • Positive numbers for money coming in (returns, dividends, final sale)

Step 2: Convert dates to time periods (usually years or months)

Step 3: Use the IRR function in Excel or Google Sheets

  • Formula: =IRR(values, [guess])
  • Values = your array of cash flows in chronological order

Step 4: Multiply by 12 if using monthly periods to get annual rate

IRR vs Other Return Calculations

Simple Return: (Ending Value - Beginning Value) / Beginning Value

  • Ignores timing completely
  • Useless for multiple cash flows

Time-Weighted Return: Breaks performance into periods, calculates return for each

  • Good for comparing fund managers
  • Ignores when YOU added money

Money-Weighted Return (IRR): Accounts for size and timing of all cash flows

  • Shows YOUR actual experience
  • Best for personal investing decisions

If you're evaluating your own investment performance, IRR wins every time.

When IRR Gets Weird

IRR has limitations. With unconventional cash flows, you might get multiple IRR solutions or no solution at all.

Example: You invest $1,000, get back $1,500 in year 1, then invest another $800 in year 2, and get back $200 in year 3.

The cash flows flip from negative to positive to negative again. This can create mathematical chaos.

For these cases, use Modified Internal Rate of Return (MIRR) instead. It assumes you reinvest positive cash flows at a "safe" rate like Treasury bills.

IRR for Different Investment Types

Stocks: Include dividends as positive cash flows when received. Don't forget about taxes if using a taxable account.

Bonds: Include coupon payments as positive cash flows. Factor in any premium or discount to face value.

Real Estate: Include all rental income, expenses, taxes, and major improvements. Don't forget closing costs on both purchase and sale.

401k/IRA: Include all contributions as negative cash flows. Include any employer matches as positive cash flows in the month received.

The Tax Problem Nobody Talks About

IRR calculations often ignore taxes. This creates a massive blind spot.

Your taxable account showing 12% IRR might only deliver 8% after taxes. Your Roth IRA showing 8% IRR gives you the full 8%.

Always calculate after-tax IRR for taxable accounts. Include:

  • Dividend taxes each year
  • Capital gains taxes on sales
  • Tax loss harvesting benefits

The difference can be $100,000+ over 20 years.

IRR Mistakes That Cost You Money

Mistake 1: Forgetting about fees Include all management fees, trading costs, and advisor fees as negative cash flows when paid.

Mistake 2: Ignoring inflation Your 8% IRR becomes 6% real return with 2% inflation. Always calculate real IRR for long-term planning.

Mistake 3: Cherry-picking time periods Starting your IRR calculation right after a market crash makes everything look amazing. Use consistent, meaningful time periods.

Mistake 4: Comparing apples to oranges Don't compare your stock portfolio's IRR to a bond fund's IRR without adjusting for risk.

Using IRR to Make Better Decisions

Portfolio Allocation: Calculate IRR for each asset class in your portfolio. Shift money toward higher-IRR investments (adjusted for risk).

Rebalancing: Don't just rebalance by percentage. Consider which investments have delivered better IRR over your holding period.

Investment Selection: Two funds might both be up 15% this year. But if you bought them at different times, their IRR could be vastly different.

Exit Timing: IRR can help you decide when to sell. If an investment's IRR is declining despite rising prices, it might be time to move on.

Your Next Steps

Stop guessing about your investment returns. Calculate your real IRR across all your accounts. You might discover your "best" investments are actually your worst performers.

Use our calculator above to run the numbers on your portfolio. Input your actual contribution dates and amounts. Include all fees, taxes, and expenses.

The results might shock you. But they'll also guide you toward better decisions and real wealth building.

Your future self will thank you for knowing the truth about your money's performance.

You Might Also Like

FEATURED PARTNERFIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers →
or

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators