Why the time-weighted return comes first
Imagine you look after a client account for a whole year. In February the client adds two million dollars, in April they take one and a half million out, in July they add three million more, and in October they withdraw half a million. At the end of December the account is worth almost four million dollars more than in January. Did you do a brilliant job? Or did the client simply put money in? A single "start versus end" comparison cannot tell those two stories apart, and that is exactly the problem this lesson solves.
This free first lesson is for analysts, junior portfolio managers, finance students, family-office staff and anyone who has to report on how an investment account performed. You will learn the time-weighted return (TWR), the return that removes the effect of the timing and size of client deposits and withdrawals. It is the measure most commonly used to compare managers with each other and with a benchmark, and it is the foundation for everything else in performance attribution: active return, tracking error and the Brinson allocation and selection effects that come later in the course.
We use the same fictional case as the lab above: a client account in the Alder Creek Global Equity Fund during 2026. Alder Creek, the client and every number on this page are invented for teaching. This page is educational material about calculation methods. It is not investment advice, it does not recommend any fund or security, and nothing here says anything about what any real investment will return.
The core idea: judge the manager, not the client
A fund manager decides what to buy and sell. The manager does not decide when a client sends new money or asks for some back. If a client deposits a large amount just before markets rise, the dollar gain is large through no skill of the manager. If the client withdraws just before a fall, the dollar loss is smaller, again by luck of timing. A fair measure of the manager must neutralise those flows.
The time-weighted return does that with a simple trick. You value the account immediately before every external cash flow. Those valuation dates cut the year into sub-periods. Inside a sub-period no money comes in or goes out, so the return of that slice is clean: end value ÷ start value − 1. Every sub-period return reflects only how the investments moved.
After a flow, the next sub-period starts from the value after the flow. A deposit raises the base, a withdrawal lowers it. In the lab sheet that is D5 = E4 + F4: the end value of sub-period 1 plus the flow at its end. Because the next return is measured on the new base, the flow itself is never counted as performance.
Finally, you link the sub-period returns geometrically. Returns compound: if you earn 4.20% and then lose 1.93%, the second return applies to a base that already includes the first gain. So you multiply the growth factors, (1 + r₁) × (1 + r₂) × … × (1 + rₙ), and subtract 1. Each sub-period gets the same weight in this chain no matter how much money was in the account at the time, which is why it is called time-weighted: the result depends on the returns in each slice of time, not on the dollars in each slice.
A fully worked example: one client account in 2026
The table below is the lab sheet after all four tasks are done. Columns D to G match the lab, so you can compare your own results cell by cell. Row 4 is sub-period 1, row 8 is sub-period 5. Values are in US dollars and, as everywhere in this course, fictional.
| Sub-period | Dates (2026) | Start value D ($) | End value before flow E ($) | Flow at end F ($) | Return G | Formula in G |
|---|---|---|---|---|---|---|
| 1 | Jan 1 – Feb 14 | 10,000,000 | 10,420,000 | +2,000,000 | 4.200% | =E4/D4-1 |
| 2 | Feb 14 – Apr 30 | 12,420,000 | 12,180,000 | -1,500,000 | -1.932% | =E5/D5-1 |
| 3 | Apr 30 – Jul 31 | 10,680,000 | 10,950,000 | +3,000,000 | 2.528% | =E6/D6-1 |
| 4 | Jul 31 – Oct 15 | 13,950,000 | 13,610,000 | -500,000 | -2.437% | =E7/D7-1 |
| 5 | Oct 15 – Dec 31 | 13,110,000 | 13,890,000 | +0 | 5.950% | =E8/D8-1 |
| Time-weighted return (B10) | 8.30% | =PRODUCT(1+G4:G8)-1 | ||||
| Net investment gain (B11) | $890,000 | =E8-D4-SUM(F4:F7) | ||||
Walk through the first two rows. Sub-period 1 runs from January 1 to February 14. The account starts at $10,000,000 and is worth $10,420,000 just before the client deposit, so the return is 10,420,000 ÷ 10,000,000 − 1 = 4.20%. Then the client adds $2,000,000. Sub-period 2 therefore starts at 10,420,000 + 2,000,000 = $12,420,000 (formula =E4+F4 in D5). By April 30 the value has dropped to $12,180,000, a return of 12,180,000 ÷ 12,420,000 − 1 = −1.932%.
The same steps repeat for the remaining slices: +2.528% from May to July, −2.437% from August to mid-October, and +5.950% in the last two and a half months. Linking them gives 1.0420 × 0.98068 × 1.02528 × 0.97563 × 1.05950 − 1 = 8.30%. That is the return of the strategy for 2026, independent of the client's decisions.
The dollar view is different and also useful. The account ended at $13,890,000. It started at $10,000,000 and received net flows of +2,000,000 − 1,500,000 + 3,000,000 − 500,000 = $3,000,000. The net investment gain is therefore 13,890,000 − 10,000,000 − 3,000,000 = $890,000, in Excel =E8-D4-SUM(F4:F7). Note that 890,000 ÷ 10,000,000 is 8.9%, close to but not the same as the TWR, because the dollars at work changed during the year.
The chart makes the logic visible. The big jumps in February and July are the client's deposits, not investment gains. If you drew one straight line from January to December you would mix the dashed and solid pieces together. The time-weighted return keeps them apart.
Three ways to get a "return" – and why only one is right
It helps to see what the common shortcuts produce with the same numbers. The lab's Coach is built to catch exactly these mistakes.
| Method | Formula | Result | What is wrong or right |
|---|---|---|---|
| Last value ÷ first value | =E8/D4-1 | 38.9% | Counts $3.0 million of net client deposits as if the manager had earned them. |
| Sum of sub-period returns | =SUM(G4:G8) | 8.31% | Ignores compounding. Close here only because each return is small; the gap grows with bigger or more numerous periods. |
| Linked (geometric) TWR | =PRODUCT(1+G4:G8)-1 | 8.30% | Correct: each sub-period return compounds on the one before, and the flows never enter the result. |
The first shortcut is badly wrong: 38.9% looks spectacular, but most of the increase came from the client's own money. The second shortcut looks harmless here because the five returns are small, yet adding returns is still conceptually wrong. Try it with two sub-periods of +50% and −50%: the sum says 0%, while the linked return is 1.5 × 0.5 − 1 = −25%, and the account really did lose a quarter of its value.
How to do it in Excel, step by step
- Lay out one row per sub-period with the columns Start date, End date, Start value, End value (before flow), Flow at end and Sub-period return, exactly as in the lab (A3:G3). Use + for money in and − for money out in the flow column, and write that convention in the header so nobody has to guess.
- Enter the first start value in D4 (the account value on January 1). Leave D5:D8 empty for formulas.
- In D5 type
=E4+F4and press Enter. Select D5:D8 and press Ctrl+D (Fill Down) to copy the formula to sub-periods 3 to 5. - In G4 type
=E4/D4-1. Double-click the small square at the bottom-right of the cell (the fill handle) to copy it to G8. - Select G4:G8 and press Ctrl+Shift+%, or go to Home › Number › Percent Style, then click Increase Decimal twice to show two decimals.
- In B10 type
=PRODUCT(1+G4:G8)-1. In Excel 365 and Excel 2021 this works as a normal formula. In older versions press Ctrl+Shift+Enter to enter it as an array formula, or use the long form=(1+G4)*(1+G5)*(1+G6)*(1+G7)*(1+G8)-1. - In B11 type
=E8-D4-SUM(F4:F7)for the net investment gain in dollars. Only include flows that happen inside the measurement period; the last row has no flow. - Check your work: press Ctrl+` (the key left of 1) to show formulas, or select D5 and press Ctrl+[ to jump to the cells it uses. Then use Formulas › Trace Precedents on B10 to confirm it points at all five returns.
=E8/D4-1 next to your TWR. If there were large deposits, the naive number will be far higher than the TWR; if there were large withdrawals, it will be lower. If both numbers are equal, either there were no flows or a formula is not picking them up.Why the flow timing matters so much
It is worth pausing on why the TWR deliberately ignores how much money was in the account. In this example the client added $3,000,000 in July, just before a sub-period that lost 2.437%. In dollar terms that loss hit a larger base, so the client's dollar result was worse than if the deposit had come later. That is real for the client, and lesson 2 measures it with the money-weighted return (XIRR). But it was the client's timing decision, not the manager's. The TWR gives the manager the same result whether the client deposited in July or in December.
This is also why two clients in the same fund, with the same holdings, can see the same TWR but very different money-weighted returns. Neither number is "the true return"; they answer different questions. The TWR asks "how good was the strategy?", the money-weighted return asks "how did this investor's own money do, given when they added and removed it?". A professional report usually shows both and explains the difference.

Common mistakes and how to spot them
- Using the value after the flow as the end value. The end value of a sub-period must be taken just before the flow. If you use the post-flow value, the deposit shows up as a gain. Spot it: a sub-period with a big deposit suddenly has a huge positive return.
- Forgetting the flow in the next start value. Writing
=E4in D5 instead of=E4+F4makes the next return start from the wrong base. Spot it: the sub-period after a deposit shows a large positive return, the one after a withdrawal a large negative return. - Getting the sign of the flow wrong. If deposits are entered as negatives in one sheet and positives in another, the base moves in the wrong direction. Fix the convention in the header and keep it.
- Dividing by the end value.
=(E4-D4)/E4is not a return. Always divide by the start value:=E4/D4-1. - Adding sub-period returns.
=SUM(G4:G8)ignores compounding. Use=PRODUCT(1+G4:G8)-1. Spot it: compare your result with the long-form product; if they differ, the sum is in use somewhere. - Including income or fees inconsistently. Dividends received inside the account are part of the investment result, not external flows. Management fees can be shown before or after fees (gross or net), but you must say which. Mixing the two makes a report impossible to compare.
- Missing a valuation date. If a flow happened on a day without a valuation, the sub-period split is wrong. In practice firms need a valuation at each large flow; this is one reason approximation methods exist.
Quick reference: formulas and shortcuts used in this lesson
| Function or shortcut | What it does here | Example |
|---|---|---|
=E4/D4-1 | Simple return of one sub-period | Sub-period 1: 4.20% |
PRODUCT | Multiplies all values in a range; with 1+G4:G8 it chains the growth factors | =PRODUCT(1+G4:G8)-1 |
SUM | Totals the net external flows | =SUM(F4:F7) = $3,000,000 |
EXP + LN | Alternative way to link: add the log growth factors, then convert back | =EXP(SUMPRODUCT(LN(1+G4:G8)))-1 = 8.30% |
XIRR | Money-weighted return from dated cash flows (lesson 2) | =XIRR(values, dates) |
Ctrl+D / double-click the fill handle | Copies a formula down a column | Fill G4 down to G8 |
Ctrl+Shift+% | Applies the percentage format | Format G4:G8 and B10 |
F2 / Ctrl+[ | Edit a cell / jump to the cells a formula uses | Audit D5 → E4 and F4 |
Ctrl+` | Shows formulas instead of results | Check the whole column at once |
Real-world uses
- Manager selection. A pension trustee or family office comparing several managers needs a return that does not reward or punish a manager for the client's deposits. TWR provides that like-for-like comparison.
- Client reporting. A wealth manager sends quarterly statements showing the TWR next to the dollar gain, so the client sees both the strategy result and what happened to their own money.
- Benchmark comparison. A benchmark index has no client flows, so only a time-weighted fund return can be compared with it fairly. This is the starting point for active return and tracking error in lesson 3.
- Internal performance reviews. An asset manager's risk or performance team links daily or monthly returns into quarterly and annual figures for every portfolio, using exactly the chaining you built here.
- Audits and compliance checks. When a firm claims a performance number in marketing material, compliance staff recompute it from valuations and flows. A transparent Excel sheet like this one is how many of those checks begin.
What you will build in the rest of this course
Lesson 1 is free. Lessons 2 to 20 are part of the full course, a one-time purchase of $9.90, and they continue with the same fictional Alder Creek fund so every step builds on the last.
Money-Weighted Return (XIRR) and Why It Differs from TWR. You turn the same deposits and withdrawals into the investor's own dated cash flows, calculate the money-weighted return with XIRR and see exactly why it lands at a different number from the 8.30% you just built.
Active Return vs the Benchmark, Tracking Error & Information Ratio. You compare twelve monthly fund returns with a benchmark, link both into annual returns and measure how far and how consistently the fund deviates.
From Holdings to a Sector Table: Weights & Returns. You aggregate twelve holdings into six sectors with SUMIF and SUMPRODUCT, so fund and benchmark sit side by side with a weight and a return for every sector.
Brinson-Fachler Allocation Effect: Did the Sector Bets Pay? You measure how much of the active return came from over- and underweighting sectors, sector by sector, with the formula used in professional attribution reports.
Selection & Interaction Effects: Stock Picking Inside Each Sector. You add the selection and interaction effects and prove that, together with allocation, they explain the active return to the last basis point.
Linking Attribution over Several Periods (Simplified). You link four quarters, see why quarterly effects stop adding up to the annual excess return, and rescale them so the annual report ties out.
The Attribution Report: Totals, Contributors & a Bar Chart. You finish a quarterly report with totals per sector, column totals that tie to the active return, the top contributor and largest detractor, and a bar chart of the effects.
Summary
The time-weighted return answers one question: how did the investments perform, regardless of when the client added or removed money? You value the account just before every flow, compute a clean return for every sub-period, start the next one from the value plus the flow, and chain the returns with =PRODUCT(1+G4:G8)-1. In the fictional Alder Creek account that gives 8.30% for 2026, while the naive start-to-end comparison would have claimed 38.9% and the dollar gain is $890,000. Keep the sign convention for flows clear, always divide by the start value, and never add returns that should be compounded.
Now scroll up to the lab and build it yourself: fill D5:D8, compute G4:G8, link them in B10 and find the dollar gain in B11. The Coach checks every step and explains the typical mistakes if you make one. Every number in the lab is fictional, so feel free to change the flows and watch the TWR stay focused on the investment result.
Frequently asked questions
What is the time-weighted return?
It is a return that removes the effect of the size and timing of external cash flows. You split the period at every deposit or withdrawal, compute each sub-period return and chain them geometrically.
How do I calculate time-weighted return in Excel?
Compute each sub-period return with =End/Start-1, where each start value is the previous end value plus the flow. Then link them with =PRODUCT(1+G4:G8)-1.
What is the difference between time-weighted and money-weighted return?
The time-weighted return measures the investment strategy and ignores flow timing. The money-weighted return (calculated with XIRR) measures the investor's own result and is affected by when money was added or withdrawn.
Why can I not just add the sub-period returns?
Returns compound, so each one applies to a base that already includes earlier gains or losses. Adding them ignores that effect; multiplying the growth factors (1 + r) and subtracting 1 is correct.
Is the end value taken before or after the cash flow?
Before. The end value of a sub-period is measured just before the flow, and the next sub-period starts with that value plus the flow.
Does PRODUCT(1+range) work in older Excel versions?
In Excel 365 and 2021 it works as a normal formula. In older versions enter it with Ctrl+Shift+Enter or write out the product of each (1 + return) by hand.
Keep going: Portfolio Performance Attribution: TWR, Benchmarks & Brinson Allocation/Selection
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.
- Money-Weighted Return (XIRR) and Why It Differs from TWR
- Active Return vs the Benchmark, Tracking Error & Information Ratio
- From Holdings to a Sector Table: Weights & Returns
- Brinson-Fachler Allocation Effect: Did the Sector Bets Pay?
- Selection & Interaction Effects: Stock Picking Inside Each Sector
- Linking Attribution over Several Periods (Simplified)
- The Attribution Report: Totals, Contributors & a Bar Chart
- Modified Dietz: A Good Return When Daily Valuations Are Missing
- Gross vs Net of Fees: Monthly Fee Deduction & Fee Drag
- Contribution to Return: Which Holdings Drove the Quarter?
- Currency Effects: Local Returns, USD Returns & the Currency Contribution
- Attribution Quality Checks: BHB vs Brinson-Fachler & the Residual Test
- Up- and Down-Market Capture & the Batting Average
- Drawdowns: Growth Index, Running Peak & Maximum Drawdown
- Bond Fund Attribution: Income, Yield-Curve & Spread Effects (Simplified)
- A Balanced Fund: Policy Mix, Tactical Allocation & Cash Drag
- Rolling 12-Month Returns: Is the Outperformance Consistent?
- Composite Returns: Asset-Weighted Return & Internal Dispersion
- Final Project: 12-Month Performance Dashboard with Growth Chart