Meyka Pro banner
Learning

XIRR Meaning: How to Calculate Your Real Investment Return

December 5, 2026
08:24 AM
10 min read

Key Points

XIRR means extended internal rate of return: one yearly rate that reflects both amounts and dates.

Investing 60,000 monthly instead of upfront for the same 6,000 profit gives about 18.9% XIRR versus 10%.

In Excel or Google Sheets, use =XIRR(values, dates) with investments negative and current value positive.

With one deposit and one end value, XIRR and CAGR give almost the same answer.

Short holding periods can inflate XIRR, so check absolute return too.

Be the first to rate this article

XIRR meaning is simple once we see it in action. It is your personal yearly return when money moves in and out on different dates. Most of us do not invest one lump sum and then wait. We add money every month, top up after a bonus, and sometimes pull cash out. A plain “I made 10%” figure hides all of that timing. XIRR fixes it. Below, we explain what XIRR means and how it works. Then we calculate it in a spreadsheet, step by step.

XIRR Meaning in Plain English

XIRR is short for extended internal rate of return. It gives one yearly rate that matches every deposit and withdrawal, on the exact day each happened.

Imagine a savings account that paid one fixed yearly rate. XIRR asks: what rate would turn all your deposits, on their real dates, into the money you have today? That rate is your XIRR.

The “internal rate of return”, or IRR, is the older idea. Plain IRR assumes your cash flows arrive at equal gaps, such as once a month or once a year. Real life is messier. The “extended” version allows any dates at all. Microsoft describes its XIRR function as the return “for a schedule of cash flows that is not necessarily periodic.”

So what XIRR means for your portfolio is this. It is the closest single number to the return you earned. That can differ from the return the fund or stock earned.

Why the XIRR Meaning Matters: Simple Returns Can Mislead

Let us look at two investors. Both put in the same total amount. Both end with the same final value. Yet their real returns differ a lot.

  • Investor A puts 60,000 in on day one. One year later, the account is worth 66,000.
  • Investor B invests 5,000 on the first of each month for 12 months. That is also 60,000 in total. One year after the first payment, the account is worth 66,000.

Both made a profit of 6,000. That is a 10% absolute return for each. However, Investor B’s money was not invested for the full year. The last 5,000 went in just one month before the end. On average, B’s cash worked for about half the time, yet earned the same profit.

Investor Total invested Final value Absolute return XIRR
A: one lump sum 60,000 66,000 10.0% 10.0%
B: 12 monthly payments 60,000 66,000 10.0% about 18.9%

We calculated both XIRR figures with the standard XIRR formula. The lesson is clear. Timing changes your real return. Absolute return ignores timing, but XIRR does not.

How XIRR Works: The Formula Behind the Number

Under the hood, XIRR finds the rate at which all your cash flows “cancel out” after adjusting for time. Microsoft shows the equation it solves:

0 = Σ Pi ÷ (1 + rate)(di − d1) / 365

Here is what each part means:

  • Pi is each cash flow. Money you put in is negative. Money you take out, or your current value, is positive.
  • di is the date of that cash flow, and d1 is the date of the first one.
  • 365 means days are counted on a 365-day year.
  • rate is the XIRR we are solving for.

There is no neat way to solve this by hand. So spreadsheets use trial and error. Excel starts with a guess of 10%, then adjusts it. According to Microsoft, it stops once the answer is accurate within 0.000001 percent. If it cannot find an answer after 100 tries, it shows a #NUM! error.

How to Calculate XIRR in Excel or Google Sheets

Both Excel and Google Sheets have a built-in XIRR function. The format is almost the same in both:

=XIRR(values, dates, [guess])

Follow these steps:

  1. List every cash flow in column A. Enter purchases and deposits as negative numbers, such as -5000.
  2. Enter withdrawals and cash dividends as positive numbers. These are money coming back to you.
  3. Put each matching date in column B. Use real date values, not text. Microsoft warns that dates typed as text can cause problems.
  4. Add your current value as the last row. Enter it as a positive number, dated today. This acts as if you sold everything now.
  5. Type the formula. For example, =XIRR(A2:A14, B2:B14). Then format the cell as a percentage.

You can test your setup with Microsoft’s own example. It invests 10,000 on 1 January 2008. Then it receives four payments of 2,750, 4,250, 3,250 and 2,750 over 15 months. Excel returns an XIRR of 37.34%. We ran the same numbers and got the same result. If your sheet matches, your setup works.

Worked Example: A 12-Month Monthly Plan

Many people invest a fixed amount each month. In India, this is called a systematic investment plan, or SIP. Elsewhere, it is often called a regular savings or automatic investment plan. Here is Investor B from earlier, laid out for a spreadsheet:

Date Cash flow What it is
1 Jan (Year 1) -5,000 First monthly payment
1 Feb to 1 Nov (Year 1) -5,000 each Ten more monthly payments
1 Dec (Year 1) -5,000 Twelfth payment
1 Jan (Year 2) +66,000 Current value

The XIRR comes out at about 18.9%. This plan is a classic case for XIRR. Each payment buys at a different price, on a different date. Our guide on why mutual fund SIPs suit long-term wealth building explains this habit further.

Worked Example: Adding Money and Taking Some Out

Now let us try a messier, more realistic case over three years:

Date Cash flow
1 Jan (Year 1) -50,000
1 Jul (Year 1) -20,000
1 Jun (Year 2) +15,000 (partial withdrawal)
1 Jan (Year 3) -10,000
1 Jan (Year 4) +85,000 (current value)

We put in 80,000 and got back 100,000 in total. That looks like a 25% gain. But it took three years, and the money moved in and out. The XIRR is about 9.8% a year. That is the more useful number for comparing this portfolio with other options.

XIRR vs CAGR vs Absolute Return

These three measures answer different questions. Here is a quick side-by-side view:

Measure What it tells us Best used for Handles many cash flows?
Absolute return Total gain as a percentage, ignoring time A quick “how much did I make” check No
CAGR (compound annual growth rate) Average yearly growth from one start value to one end value Comparing a fund’s or stock’s track record No
XIRR Your yearly return, weighted by when each cash flow happened Your own portfolio, plans, top-ups and withdrawals Yes

Here is a handy fact. With just one deposit and one final value, XIRR and CAGR give almost the same answer. For example, 100,000 growing to 150,000 over three years gives a CAGR of about 14.5%. The XIRR is also about 14.5%. Tiny gaps can appear because XIRR counts actual days, including leap years.

So we can use CAGR to judge a fund’s history. Then we use XIRR to judge our own results. For a wider look at return measures, see our guide on how to calculate portfolio investment returns.

Common XIRR Mistakes to Avoid

XIRR is only as good as the data we feed it. These errors come up often:

  • Wrong signs. Excel and Google Sheets both need at least one negative and one positive value. Otherwise, Excel returns #NUM!.
  • Forgetting the current value. Without a final positive row, the formula has nothing to measure against.
  • Dates stored as text. Excel returns #VALUE! when a date is not valid. Use proper date cells.
  • Mismatched ranges. The values and dates columns must have the same number of rows.
  • Missing dividends. Cash dividends you received are positive cash flows. Leave them out, and your XIRR looks worse than it was. Our dividend calculator guide shows how to track that income.
  • Reading too much into short periods. XIRR is yearly. A 3% gain in one month becomes roughly 41.6% when stretched over a year. That figure is real maths, but it is not a realistic forecast.

For holdings under a year old, check absolute return too. Treat a very high XIRR with caution.

What XIRR Means for Judging Your Returns

There is no single “good” XIRR. A useful number depends on what you compare it with. Here are three fair checks:

  • Compare with a benchmark. Run XIRR on the same dates and amounts as if they had gone into a broad index fund. If you want a refresher, read what index funds are and how they work.
  • Compare with inflation. An XIRR below the inflation rate means your money lost buying power.
  • Compare like with like. Judge a three-year XIRR on shares against other three-year share results.

Also, remember that XIRR looks backward. Knowing the XIRR meaning helps here: it tells us what happened, not what comes next.

Where to Find the Data for Your XIRR

To calculate XIRR, we need every transaction with its date. Most brokers and fund platforms let you download a transaction history as a spreadsheet file. Many also show an XIRR figure on screen, though labels vary by platform.

Investors in India can use a Consolidated Account Statement, or CAS. The Securities and Exchange Board of India (SEBI) describes the CAS as one combined statement. It shows your mutual fund transactions and the securities in your demat account. Download it, copy the dates and amounts, and you are ready to go.

FAQs on XIRR Meaning

What is the XIRR meaning in simple words?

The XIRR meaning is your yearly rate of return when you invest or withdraw money on different dates. It gives one percentage that reflects both the amounts and their timing.

What does XIRR stand for?

XIRR stands for extended internal rate of return. “Extended” means it works with cash flows on any dates, not just at equal gaps like plain IRR.

Is XIRR better than CAGR?

Neither is better in every case. CAGR suits one starting amount and one end value, like a fund’s track record. XIRR suits your own investing, with regular payments, top-ups, and withdrawals.

Why is my XIRR higher than my absolute return?

Your later payments were invested for a shorter time. They still shared in the gains. XIRR rewards that, so it can be higher than the simple percentage gain.

Why does Excel show #NUM! for XIRR?

Usually, your values lack at least one negative and one positive number. Mismatched ranges cause it too. So does a case where Excel finds no answer after 100 tries.

The Bottom Line on XIRR Meaning

The real XIRR meaning comes down to one idea. When you invest matters as much as how much. Absolute return ignores time. CAGR handles only one start and one end. XIRR handles the messy reality of monthly plans, top-ups, and withdrawals. All we need are dates, amounts, the right signs, and one formula. Run it once a year on your own portfolio. Then compare it with a simple benchmark. That habit shows whether our choices are really paying off.

Interested in the stock market and want to research companies with more context? Check out Meyka. Meyka is an AI-powered stock research and alternative-data platform. It brings prices, financials, and AI insights together in one place. Its forecasts are research tools, not guarantees.

Disclaimer: This article is for informational purposes only and is not financial advice. Always do your own research or speak with a licensed professional before making investment decisions.

About Author

Author

Huzaifa Zahoor

Co Founder

Huzaifa Zahoor is the engineer who built Meyka. He has spent years writing Python, training AI models, and building data pipelines specifically for financial markets. His technical articles have reached over 30,000 readers on Medium, so he knows how to make complex things easy to follow. If this article touches on how the tools work, he is the person who actually built them.

What brings you to Meyka?

Pick what interests you most and we will get you started.

I'm here to read news

Find more articles like this one

I'm here to research stocks

Ask Meyka Analyst about any stock

I'm here to track my Portfolio

Get daily updates and alerts (coming March 2026)