Used by 50,000+ investors in the US & UK

Investment Return Calculator

Stocks, ETFs, crypto, mutual funds, real estate — whatever you invest in, this calculator gives you a single annualised return number that accounts for every contribution and withdrawal.

Excel-accurate XIRRPDF + CSV exportNo sign-upWorks offline
Portfolio XIRR Calculator

Negative = invested. Positive = received / final value.

Presets:
AmountDateActions
Results
XIRR
17.79%
CAGR
11.86%
Invested
$30,000
Final Value
$42,000
Profit / Loss
+$12,000
Duration
3.00 yrs
Growth over time

What is XIRR?

XIRR (Extended Internal Rate of Return) is the annualised return on an investment where cash flows happen at irregular intervals. It's the standard metric for measuring the performance of SIPs, mutual funds, stock portfolios, and any scenario where you add or withdraw money over time.

Unlike simple averages or absolute return, XIRR weights every cash flow by the exact number of days it stayed invested. That makes it the most honest single-number return for real-world portfolios — and the same formula Microsoft Excel and Google Sheets use under the hood.

How to Calculate XIRR

  1. List every investment you made with its date (enter as a negative amount).
  2. Add every redemption or current portfolio value with its date (positive).
  3. Make sure there's at least one positive and one negative value.
  4. The calculator finds the discount rate that makes the net present value zero.
  5. That rate, annualised, is your XIRR.

In Excel the formula is =XIRR(values, dates, [guess]). Our tool replicates this with Newton-Raphson iteration and a bisection fallback for hard-to-converge cases.

XIRR vs CAGR

AspectCAGRXIRR
Cash flowsSingle lump sumMultiple, irregular
Best forOne-time investmentsSIPs, top-ups, withdrawals
Accuracy on SIPsMisleadingMathematically correct
Excel functionManual formula=XIRR()
Handles datesNoYes (to the day)

Example Calculation

Suppose you invested $500/month for 36 months into a US index fund, and your portfolio is worth $21,500 today. You invested $18,000 total, so the absolute return is +19.4%. But because some of that money was only invested for a few months, the annualised return is what matters.

Plug those 37 cash flows into the calculator above and you'll see an XIRR of roughly 11.8% — significantly higher than the 6.5% you'd naively compute from total return ÷ years. That's the SIP magic XIRR captures.

Why XIRR Matters for Investors

If you're comparing two mutual funds, two brokerages, or your own portfolio against the S&P 500, XIRR is the only fair way to do it. Absolute return ignores time. Average return double-counts. CAGR breaks the moment you do a top-up. XIRR is bulletproof.

For retail investors in the US and UK, calculating XIRR used to mean wrestling with Excel. This tool does it instantly, on any device, with the charts and exports you need to share with an advisor or just track your own progress.

Coming soon — XIRRPro Premium

Portfolio tracking, broker imports, tax-ready reports.

Connect your brokerage, import trades, and get monthly XIRR reports across every account — equities, mutual funds, crypto, real estate. Join the waitlist.

Auto-sync brokerage cash flows
Benchmarking vs S&P 500 / FTSE 100
Tax-loss harvesting suggestions

Weekly investment insights

One short email every Sunday. Market XIRR snapshots, SIP strategies, calculator updates.

No spam. Unsubscribe anytime.

Frequently Asked Questions

Everything investors usually ask about XIRR, SIPs and return calculations.

Related Tools

Free calculators built for serious investors.