Calculate dollar-weighted (money-weighted) return as an annualized IRR from dated cash flows, or use Modified Dietz or time-weighted return instead.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Dollar-weighted return (IRR) | Finds the annualized dollar-weighted (money-weighted) return from dated cash flows | Requires final portfolio value, final valuation date and dated investor cash flows |
| Modified Dietz return | Finds a single-period dollar-weighted return from portfolio totals | Requires ending value, beginning value, net cash flow and weighted cash-flow total |
| Dietz ending value | Finds the ending value that gives a stated Modified Dietz return | Requires return, beginning value, net cash flow and weighted cash-flow total |
| Dietz beginning value | Finds the beginning value that gives a stated Modified Dietz return | Requires return, ending value, net cash flow and weighted cash-flow total |
| Dietz net cash flow | Finds net deposits less withdrawals for a stated return | Requires return, ending value, beginning value and weighted cash-flow total |
| Dietz weighted cash flow | Finds the weighted cash-flow total for a stated return | Requires return, ending value, beginning value and net cash flow |
| Dietz return — common timing | Finds the Modified Dietz return when all cash flow arrives at the start, middle or end of the period | Requires ending value, beginning value, net cash flow and cash-flow timing |
| Dietz return — dated flows | Finds the Modified Dietz return with each cash flow weighted by its date | Requires ending value, beginning value, period start and end dates and dated portfolio cash flows |
| Time-weighted return | Links sub-period returns into one cumulative return | Requires one sub-period return per line, in percent |
Amounts are entered in one currency without symbols or thousands separators. Dated cash flows go one per line as YYYY-MM-DD, amount, up to 100 lines. The sign convention differs by method: the IRR function takes contributions as negative and withdrawals as positive, and the Dietz functions take deposits as positive and withdrawals as negative.
Dollar Weighted Return Formulas
| r | Annualized dollar-weighted return, also called the money-weighted return or internal rate of return |
| CFi | Each cash flow from the investor's side: contributions negative, withdrawals and the final value positive |
| ti | Calendar days from the first cash flow to cash flow i |
Dollar-weighted return (IRR)
The dollar-weighted return is the single annual rate that discounts every cash flow, including the final portfolio value, to a total of zero [1]. Each flow is discounted by its actual days from the first flow divided by 365 [2], and amounts on the same date are netted. The rate has no closed form, so it is found by trial. An investor who puts in 10,000 on January 1, 2024, adds 2,000 on July 1, 2024 and holds 13,000 on January 1, 2025 has earned 9.08% a year. The flows need at least one positive and one negative amount on different dates [2]. Cash flows that change sign more than once can fit more than one rate, and every rate found is shown.
Modified Dietz return
E is the ending value, B the beginning value, C the net cash flow and W the weighted cash-flow total. The numerator is the gain after removing deposits, and the denominator is the average capital at work. It approximates the dollar-weighted return for one period without solving for a rate [1]. With B = 10,000, E = 12,600, C = 2,000 and W = 2,000, R = 600 ÷ 12,000 = 5%. B + W must be positive.
Dietz ending value
A 5% return on B = 10,000 with C = 2,000 and W = 2,000 ends at 0.05 × 12,000 + 10,000 + 2,000 = 12,600.
Dietz beginning value
An ending value of 12,600 after a 5% return, with C = 2,000 and W = 2,000, started at (12,600 − 2,000 − 100) ÷ 1.05 = 10,000. A return of −100% has no single answer.
Dietz net cash flow
Growth from 10,000 to 12,600 at a 5% return with W = 2,000 implies net deposits of 12,600 − 10,000 − 600 = 2,000.
Dietz weighted cash flow
With E = 12,600, B = 10,000, C = 2,000 and a 5% return, W = 600 ÷ 0.05 − 10,000 = 2,000. A return of exactly zero leaves W undetermined.
Dietz return — common timing
One weight w applies to the whole net cash flow: 1 for the start of the period, 0.5 for the middle and 0 for the end. A 2,000 deposit at the start gives W = 2,000 and the 5% return above. The same deposit at mid-period gives W = 1,000 and R = 600 ÷ 11,000 = 5.45%.
Dietz return — dated flows
D is the number of calendar days in the period and Di is the number of days from the period start to cash flow i, so a flow on the first day has a weight of 1 and a flow on the last day has a weight of 0 [1]. C is the sum of the flows and W is the sum of each flow times its weight. For a period from January 1 to December 31, 2024, a 2,000 deposit on July 1 has a weight of 183 ÷ 365 = 0.5014, so W = 1,002.74 and, with B = 10,000 and E = 12,600, R = 600 ÷ 11,002.74 = 5.45%.
Time-weighted return
… × (1 + rₙ) − 1 [1]
Each r is the return of a sub-period that runs between external cash flows. Sub-period returns of 2%, −1% and 3% link to 1.02 × 0.99 × 1.03 − 1 = 4.01%. The result is cumulative and is not annualized. Because deposits and withdrawals do not change it, it measures the investments and not the investor's timing, which is the difference from a dollar-weighted return.
Limits of This Estimate
- The IRR function annualizes with actual days over 365. For a holding period under one year the annualized figure is not the return earned in that period, and a gain is scaled up to a full year [1].
- Modified Dietz is an approximation. It drifts from the true rate when cash flows are large relative to the portfolio or arrive during sharp market moves [1].
- Results are before fees and taxes unless the values and cash flows entered already reflect them. A past return is not a forecast.
- The rate search covers annual returns from about −100% to extremely large positive values and reports when no rate exists.
Sources
- CFA Institute, GIPS Standards Handbook for Firms: Explanation of the Provisions in Sections 1–8 (November 2020): internal rate of return equation, Modified Dietz formula and weights, and linking of sub-period returns
- Microsoft Support, XIRR function: 365-day discounting of dated cash flows and the need for both signs
