Dated Cash-Flow XIRR

Money-Weighted Return Calculator

Calculate an annualized money-weighted return from irregular dated cash flows using the XIRR equation and a 365-day basis. Enter contributions as negative investor cash flows and withdrawals or the ending account value as positive cash flows. The solver withholds the result when no unique supported root is found.

Irregular dates365-day XIRRAmbiguity withheldModel 1.0.0

Enter signed investor cash flows

Use a negative amount when money goes into the trading account. Use a positive amount when money comes back to the investor, including one final account value on the measurement date.

Entered

Display label only. Enter every value in one consistent currency.

Model boundary: XIRR is sensitive to the timing and signs of cash flows. More than one sign reversal can produce multiple mathematical roots, and some schedules have no supported solution. A terminal value must be entered as a positive investor cash flow; the page cannot fetch it.

Enter at least one negative and one positive flowThe result will show the unique annualized rate, elapsed days, cash-flow count, 365-day convention and numerical NPV residual.

How the dated cash-flow return is solved

Find r such that 0 = Σ[CFᵢ ÷ (1 + r)^((dateᵢ − first date) ÷ 365)]Contribution into account = negative investor cash flowWithdrawal or terminal account value = positive investor cash flow

Money-weighted return reflects both account performance and the size and timing of the investor’s external cash flows. A large contribution before a strong period has more influence than the same contribution after that period. This makes the result personal to the entered cash-flow path.

The page uses the investor perspective. Money contributed to the trading account leaves the investor and is negative. Money withdrawn from the account returns to the investor and is positive. The last row normally includes the ending account value as if it were liquidated on that date.

Each cash flow is discounted by its exact calendar-day offset divided by 365. The solver searches for an annual rate that makes the sum of discounted flows equal zero. Flows entered on the same date are combined before solving, and rows can be entered in any order.

The numerical search uses a governed range above −100% through a very high positive rate. It scans for sign-changing root brackets and then bisects them. If it finds no root, or more than one distinct root, the page withholds a percentage instead of selecting a convenient answer.

Multiple mathematical returns are possible when the cash-flow signs reverse more than once. The displayed sign-change count is a diagnostic, not proof of the exact number of roots. A single displayed result means one root was found inside the governed search range, not that every possible numerical method must agree.

The output is annualized even when the entered period is shorter or longer than a year. Extremely short spans can therefore create very large annualized rates. The result is descriptive of the entered dates and values; it is not a forecast, expected return or suitable target.

Worked example from the audited fixture

Reproduce it with “Load audited example”

The audited fixture enters −10,000 on 1 January 2025, another −1,000 contribution on 1 January 2026, and a +13,200 ending value on 1 January 2027.

At a 10% annual rate, the discounted values are −10,000, −1,000 ÷ 1.10, and +13,200 ÷ 1.10².

Those discounted amounts sum to zero, so the unique supported annualized money-weighted return is +10.0000% over the 730-day entered span.

How to interpret the result

  1. Confirm the sign convention first. Reversing all investor-flow signs can change or invalidate the interpretation.
  2. Include a terminal positive value unless the final withdrawal already represents complete liquidation of the account.
  3. Read the percentage as annualized, not as the simple gain over the first-to-last span.
  4. Inspect the residual as a numerical audit. It should be near zero relative to the cash-flow magnitudes.
  5. Treat more than one sign change as a warning that IRR schedules can be ambiguous, even when one supported root is displayed.
  6. Compare MWR with TWR to separate the investor cash-flow experience from a cash-flow-neutral performance measure.

Choose the return method that matches the available records

These tools share one governed input and presentation layer, but the outputs are not interchangeable. TWR removes external-flow timing, MWR reflects the investor’s cash-flow experience, and Modified Dietz estimates one period when every boundary valuation is unavailable.

Comparison of the three cash-flow-adjusted return tools
MethodRecords requiredOutput basisCash-flow treatment
Time-weighted returnValues around every external flowCumulative, not annualizedRemoves external-flow timing
Money-weighted returnSigned investor flows with dates and terminal valueAnnualized XIRRReflects flow size and timing
Modified DietzPeriod values plus dated account flowsPeriod estimate, not annualizedDaily-weighted approximation

Assumptions and limitations

  • No account, broker statement, deposit ledger, withdrawal ledger, ending balance, tax record or valuation source is connected.
  • The solver uses a 365-day annualization convention and a disclosed finite search range; it is not claimed to reproduce every spreadsheet implementation.
  • Schedules with no supported root or more than one detected root are withheld rather than forced to one answer.
  • Cash-flow classification, fees, financing, taxes and whether the terminal value is realizable are outside the arithmetic.
  • A money-weighted return can be dominated by cash-flow timing and does not isolate trading skill.
  • No deposit timing, withdrawal plan, target return, strategy, account, broker or trade is recommended.

Sources and methodology

The arithmetic is independently fixture-tested. These primary references define the formulas and conventions; they do not verify the user’s account values, cash-flow classifications, statement policy, performance quality or future outcome.

Frequently asked questions

  • It is the annualized rate that makes the net present value of the entered dated investor cash flows equal zero, so timing and size affect the result.
  • Use a negative value because money leaves the investor and enters the trading account under this page’s investor-perspective convention.
  • Use a positive value because money leaves the account and returns to the investor. Enter the final account value the same way.
  • Without a terminal positive value, an open account’s remaining investment is missing from the cash-flow schedule and a meaningful root may not exist.
  • It uses the same dated-cash-flow equation and 365-day exponent convention, but this local bracket-and-bisection solver is not claimed to match every Excel convergence choice.
  • Some schedules have no root in the supported range, while others can have multiple roots. Selecting one silently would be misleading.
  • The rate is annualized. Extending a short-period gain or loss to a 365-day equivalent can magnify the displayed percentage.
  • MWR reflects the timing and size of the investor’s cash flows. TWR splits at those flows and geometrically links performance between them.

Verify statement, cost and account conventions

Before comparing account performance, confirm how the broker statement timestamps deposits and withdrawals, records balance versus equity, includes spread, commission, financing and rebates, and converts values into the account currency.

XM

Check the applicable account statement and cost terms.

Check XM terms

FBS

Verify reporting, funding and trading-cost conventions.

Check FBS terms

FXOpen

Confirm statement values, cash-flow timing and account conditions.

Check FXOpen terms

Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.