Skip to content

Demo environment. Sample data and demo handoffs only — no real accounts or transactions.

Returns

XIRR, explained

Enter dated cash flows and watch the annual return that balances them appear — step by step.

Cash flows

Each amount you invested and each amount you received — with the value today as the last “received”. The rows start as a sample; replace them with yours.

  1. Flow 1
  2. Flow 2
  3. Flow 3
  4. Flow 4
  5. Flow 5

XIRR

Newton’s method

9.32%

Annualised return that accounts for when each rupee moved.

Invested
₹2,00,000
Received / value
₹2,65,000
Gain
₹65,000

Where the NPV crosses zero

Step by step

  1. List every cash flow with its date. Money you invested counts as negative (−₹2,00,000 in total); money you received, or the value today, counts as positive (₹2,65,000).
  2. Measure each date’s distance from the first one in years (days ÷ 365). These flows span 4 years.
  3. Pick a trial annual rate r and discount each flow back to the first date: amount ÷ (1 + r)^years. Add them up — that total is the net present value (NPV).
  4. At 4.32% the NPV is ₹30,970. Raising the rate shrinks later receipts, so the NPV falls.
  5. XIRR is the rate where the NPV is exactly zero. Here it is 9.32% a year (NPV at that rate ≈ ₹0), found by Newton’s method in 3 steps.
  6. Compare: the simple (absolute) return is 32.5% in total. XIRR annualises it and accounts for when each rupee went in and came out.
Cash flows used
5
First date
4 Oct 2022
Last date
4 Oct 2026

Keep this result

Save it, share a link (numbers only — no personal details), or talk it through with a person.

01Method

How this is calculated

The same formulas run on the server and in your browser, documented in plain language. Every assumption is shown beside the result and you can change it.

Default assumptions reviewed
4 Oct 2026
Formula version
1.0.0

Money invested is negative; money received, or the value today, is positive. Each date is measured in years from the first one (days ÷ 365).

Each flow is discounted back to the first date at a trial annual rate and the results are added up.

NPV(r) = Σ amount ÷ (1 + r)^(days ÷ 365)

XIRR is the rate that makes the NPV exactly zero. It is found with Newton’s method, falling back to a bracketed search when needed. Unusual patterns of flows can have no solution, or more than one.

Default assumptions are hypothetical round numbers chosen for illustration. They are not forecasts and not a view on any product. Change them to see how sensitive the result is.

02Questions

Good to know

More about how our tools work: all tool questions.

Next step

Numbers are a start. A plan is better.

Take this result into a fuller plan, or talk it through with a CompoundX relationship manager — no obligation.