Build the account ledger before calculating a return
This hypothetical USD account has exactly three 365-day periods. Values include cash and all open positions at market value. Each flow occurs at the stated boundary, immediately after the preceding valuation and before the next period begins. There are no other external flows. All values use one consistent fee and tax basis; no extra costs are added in the arithmetic below.
- The dollar gain is $14,300 + $5,000 - $10,000 - $9,000 = $300. This reconciles the ledger but does not by itself define a percentage return.
- Purchasing or selling a security inside this account exchanges cash and holdings. It is not an external account flow. Transfers across the account boundary are external flows, including securities transferred in kind at their value.
- Dividends and interest retained inside the account contribute to investment return. If paid out of the account, record the payout consistently as an external withdrawal without removing the earned income from performance.
| Boundary date | Value before flow | External flow into account | Value after flow |
|---|---|---|---|
| 2021-01-01: start | $10,000 | Opening value, not an extra flow | $10,000 |
| 2022-01-01 | $11,000 | +$9,000 deposit | $20,000 |
| 2023-01-01 | $18,000 | -$5,000 withdrawal | $13,000 |
| 2024-01-01: end | $14,300 | $0 | $14,300 |