Skip to content

XIRR calculator

Investment frequency

What the investment is worth today, or what you received.

Your XIRR
Total invested
Maturity value
Net gain
Absolute return

Invested versus value
  • Invested
  • Gain
What XIRR is, and why it beats absolute return

Absolute return tells you how much you made. XIRR tells you how hard your money worked to make it — the single annual rate that, applied to each amount for exactly as long as it was invested, produces the result you actually got.

The gap matters most for instalment investing. A SIP running three years does not have three years of money at work: the first instalment does, the last was invested for days. Absolute return divides total gain by total invested and ignores that entirely, which is why it usually understates a SIP badly.

Sum of [ amount ÷ (1 + XIRR) ^ (days ÷ 365) ] = 0

XIRR or CAGR — which should you use?

CAGR works when there is one investment and one final value. Put money in once, take it out once, and CAGR answers the question exactly.

The moment there is a second transaction — a monthly instalment, a top-up, a partial withdrawal — CAGR has no way to account for when each amount arrived. XIRR does, which is why it is the right measure for SIPs, SWPs and any portfolio you have added to over time.

Calculating XIRR in a spreadsheet

Put every transaction in one column, dates alongside in another. Investments are negative, redemptions positive, and the last row holds today's value with today's date. Then use =XIRR(values, dates).

This calculator follows the same convention, including the 365-day year, so the figures agree with Excel, Google Sheets and LibreOffice.

Where the number can mislead

XIRR annualises, so short periods produce dramatic figures. Nine percent earned in a month annualises to roughly 180% — arithmetically correct, practically meaningless, because nothing guarantees the next eleven months repeat it. Treat anything under a year as indicative only.

The result is also only as good as the maturity value you enter. Using a peak valuation rather than today's flatters the figure, and the calculator cannot tell the difference.

This is an educational tool, not financial advice. Past returns, however they are measured, do not indicate future ones.

Every company that runs out of money runs out of it on a date somebody could have calculated months earlier. Runway is the number of months you can keep operating before the balance hits zero, and it is the one figure that changes what you should do this week rather than next year.

The arithmetic is trivial. The reason people still get it wrong is that burn means two different things, and the one most founders quote is the one that flatters them.

Gross burn and net burn are not the same number

Gross burn is everything leaving the account each month — salaries, cloud bills, rent, software, contractors. It is what you spend.

Net burn is gross burn minus revenue. It is what you actually lose.

A company spending 70,000 a month with 20,000 of revenue has a gross burn of 70,000 and a net burn of 50,000. Runway is calculated from net burn, because revenue genuinely offsets the outflow.

The distinction matters when revenue is growing. Gross burn stays flat while net burn shrinks, and runway extends without anyone cutting anything. It matters in the other direction too: if that revenue sits with one customer, the net figure is a promise rather than a fact. Investors ask for gross burn precisely because it is the number that survives a churned contract.

The formula

Runway (months) = Cash / (Gross burn - Revenue)

For the numbers above:

500,000 / (70,000 - 20,000) = 500,000 / 50,000 = 10 months

That holds when expenses stay steady. They rarely do.

Why expense growth changes the answer so much

Add a hire, a bigger cloud bill, a new tool, and burn creeps upward. The calculator models this as a monthly percentage, and it compounds — which is why the result falls faster than intuition suggests.

Same company, 500,000 in cash and 50,000 net burn, with expenses growing each month:

Monthly expense growthRunway
0%10 months
3%9 months
5%8 months
10%7 months

Three months of runway disappear to a growth rate most teams would call modest. Nobody decides to shorten their runway by 30%; it happens one reasonable hire at a time.

This is also why a single flat number on a board slide misleads. Runway is a projection, and projections need their assumptions stated alongside them.

What the number does not tell you

Runway assumes the future looks like the present. Four things break that:

  • Lumpy costs. Annual insurance, tax bills, hardware, a conference. A quarterly average smooths these; a single month does not.
  • Collections, not invoices. Revenue counts when the cash arrives. Sixty-day terms make the money real to your accountant and imaginary to your bank balance.
  • Severance. Cutting costs costs money first. A team reduction usually makes the next month worse before it makes anything better.
  • The fundraise itself. Raising takes three to six months of founder attention. Runway that ends when the round closes has already ended.

The practical rule most operators use: start raising at twelve months, because closing takes six and you do not want to negotiate with three left. Below six months your options narrow to cutting or a bridge, and both get decided by someone other than you.

Default alive

Paul Graham’s framing is the most useful one-line test: if your current growth continues and you never raise again, do you reach profitability before the money runs out? If yes, you are default alive. If no, default dead.

The calculator flags this — when revenue covers expenses there is no runway limit to report, because the balance grows instead of depleting.

Most companies believe they are default alive well before they actually become it. Checking the number honestly, once a quarter, is the entire exercise.

Note: this calculator is for education and planning, not financial advice. It assumes constant revenue, evenly distributed costs and no financing events. It is not a substitute for a cash flow forecast built from your actual figures, or for a conversation with your accountant.