Skip to main content
Questions for Technical Minds

What is the difference between XIRR and simple return

Last updated: 2026-11-12Author: WealthSyntax Editorial Team
#returns#cash-flow

Short answer

Simple return measures absolute percentage gain on capital regardless of duration or timing. XIRR calculates the exact annualized internal rate of return for irregular cash flows by solving the daily discounted equation where net present value equals zero. Use XIRR whenever periodic contributions, distributions, or withdrawals occur across calendar dates.

Educational content only, not financial advice. Examples use constant, hypothetical returns.
Mathematical Foundation

Formula and recurrence relations

Simple Return: R_simple = (V_end − Total Inflows) / Total Inflows
XIRR Net Present Value Condition: \sum_{i=1}^{N} \frac{C_i}{(1 + \text{XIRR})^{(d_i − d_0) / 365}} = 0
Symbol Legend:
C_i:Cash flow amount at date i (negative for contributions, positive for distributions and final balance)
d_i:Specific calendar date of cash flow event i
d_0:Inception date of the initial cash deposit
\text{XIRR}:Annualized internal rate of return equating the present value of all cash flows to zero

The Core Flaw of Simple Return in Active Portfolios

Simple return is defined as net dollar profit divided by total cash deposited: (Ending Value - Total Invested) / Total Invested. While intuitive, simple return completely disregards when dollars were committed to the market. A $10,000 deposit made in January that earns $1,000 is treated identically to a $10,000 deposit made in December that earns $1,000, even though the December capital achieved that return in a fraction of the time.

For technical investors making recurring 401(k) contributions, buying company ESPP shares, or taking ad-hoc withdrawals, simple return produces an increasingly distorted measure of personal capital efficiency.

How XIRR Solves the Irregular Timing Equation

XIRR (Extended Internal Rate of Return) addresses the timing problem by treating every deposit and withdrawal as a discrete event on a daily calendar timeline. It computes the single effective annual interest rate that discounts every cash movement back to day zero such that the net present value (NPV) of the series equals exactly zero.

Because the polynomial equation cannot be solved with elementary algebra, financial engines use iterative numerical root-finding algorithms such as the Newton-Raphson method or the bisection method to converge on the true internal rate of return.

Sensitivity to Data Errors and Misdated Records

Because XIRR weights cash flows by exact daily timestamps, it is acutely sensitive to record-keeping fidelity. If you deposit funds in April but record the transaction in May, the algorithm compresses the holding duration, artificially inflating the calculated rate of return.

Similarly, failing to record an interim dividend withdrawal severely punishes the calculated XIRR, as the model assumes those dollars vanished rather than being returned to your control.

The Daily Discount Factor and Newton-Raphson Mechanics

Under the hood, XIRR constructs a cash flow polynomial where each payment C_i is discounted by the exact fraction of the year (d_i - d_0) / 365. Unlike standard annual IRR which assumes cash flows arrive at uniform yearly intervals, XIRR evaluates the exact fractional day counter.

Because this polynomial has degree proportional to elapsed days, analytical closed-form solutions are impossible. The engine computes the function derivative f'(r) with respect to the discount rate and takes successive Newton-Raphson tangent steps: r_(k+1) = r_k - f(r_k) / f'(r_k). Convergence typically occurs within 10 to 50 iterations to within 0.0001% precision.

Algorithmic Property

Multiple sign changes in cash flow streams can theoretically produce multiple mathematical roots; modern financial implementations restrict search intervals to economically realistic bounds.

Verified Worked Example

4-Event Calendar Cash Flow Schedule: Simple Return vs XIRR

Type: irregular-cashflow-schedule

We evaluate an investor over calendar year 2024 who initiates an account with $10,000 on Jan 15, deposits $3,000 on Apr 15, takes an interim withdrawal of $1,500 on Aug 15, and reaches a final valuation of $13,200 on Dec 31. We compare simple return against baseline XIRR, omitted cash flow XIRR, and misdated flow XIRR.

Verified Cash Flow Schedule and Output Discrepancies
DateDescriptionCash Flow (C_i)Holding Days (d_i - d_0)
2024-01-15Initial capital deposit-$10,0000 days
2024-04-15Spring additional deposit-$3,00091 days
2024-08-15Summer interim withdrawal+$1,500213 days
2024-12-31Year-end terminal balance+$13,200351 days
Summary MetricSimple Return: 13.08%Baseline XIRR: 15.26%Delta: +2.18%

Numbered Step-by-Step Procedure:

1Step 1: Calculate Simple Return

Net invested = $13,000 - $1,500 = $11,500. Terminal gain = $13,200 - $11,500 = $1,700. Simple Return = $1,700 / $13,000 = 13.08%.

13.08% simple
2Step 2: Formulate Daily Discount Polynomial

Set NPV = -10000 + -3000/(1+r)^(91/365) + 1500/(1+r)^(213/365) + 13200/(1+r)^(351/365) = 0.

NPV polynomial
3Step 3: Solve Baseline XIRR

Iterating via Newton-Raphson yields r = 15.26% annualized.

15.26% XIRR
4Step 4: Test Omission Error

Omitting the $1,500 withdrawal crashes computed XIRR to 1.70%, proving distribution tracking necessity.

1.70% distorted
5Step 5: Test Timing Error

Misdating April deposit to May 15 (30 days late) inflates XIRR to 15.62%.

15.62% distorted
Observation: Baseline XIRR is 15.26%, whereas simple return indicates 13.08%. The 2.18% divergence demonstrates how cash timing impacts annualized performance.
Analytical Pitfalls

Common mistakes

  • ✕Relying on simple return for accounts with periodic dollar-cost averaging deposits, understating the productivity of late-cycle capital.
  • ✕Failing to enter deposits as negative values and withdrawals/balances as positive values in spreadsheet software, causing #NUM! errors.
  • ✕Omitting cash distributions or dividend payouts from the transaction ledger, creating massive artificial drag in performance calculations.
  • ✕Entering irregular date series into regular annual IRR functions instead of the calendar-aware XIRR engine.
Try it interactively

XIRR Calculator

Input irregular deposit and withdrawal dates to compute exact annualized internal rates of return with live error tracking.

Open XIRR Calculator
Further Reading

WealthSyntax provides educational systems analysis and financial mechanics for analytical minds.

Educational content only, not financial advice. Examples use constant, hypothetical returns.