Sub topic 12
Rebalancing Back to Target
This chapter assumes you know what a target allocation is, can compute a weighted average, and understand that asset classes earn different returns in different years. It covers why a portfolio drifts, how to compute the trades that fix it, and how to decide when to trade.
Why a portfolio drifts
You choose a target mix, for example 60% stocks, 30% bonds, and 10% cash. Markets then move each asset class by a different amount. Stocks usually grow faster than the other two, so their share rises. Left alone, a 60/30/10 portfolio slowly becomes a portfolio with more risk than you chose.
Drift matters because your risk level comes from the mix, not from the dollar amount. A portfolio at 72/25/3 has a higher chance of a large loss than one at 60/30/10. You never decided to take that extra risk. The market made the decision for you.
Rebalancing means trading to bring the weights back to the target. Its main job is to control risk. It does not reliably raise returns.
Computing the trades
To rebalance, multiply each target weight by the portfolio's total value. The difference between that figure and the current holding is the trade.
targets = {"stocks": 0.60, "bonds": 0.30, "cash": 0.10}
holdings = {"stocks": 72000, "bonds": 25000, "cash": 3000}
total = sum(holdings.values())
for name, weight in targets.items():
trade = weight * total - holdings[name]
action = "buy" if trade > 0 else "sell"
print(f"{name}: {action} {abs(trade):,.0f}")The portfolio is worth 100,000, so the targets are 60,000, 30,000, and 10,000. The output is:
- stocks: sell 12,000
- bonds: buy 5,000
- cash: buy 7,000
The sells and buys must net to zero, because you are only moving money inside the portfolio. If they do not, a number is wrong. Check that the targets sum to 1 and that you used the current total, not an old one.
Rebalancing sells what has recently done well and buys what has lagged. This feels uncomfortable. It is also the mechanism that keeps risk constant.
Three ways to rebalance
There are three common approaches. They can be combined.
Calendar-based
You check the portfolio on a fixed schedule, such as once a year, and trade back to target whatever the drift is. The rule is simple and hard to forget. Its weakness is timing. A large drift can sit unfixed for months, and a trivial drift can trigger trades that are not worth their cost.
Threshold-based
You trade only when an asset class moves outside a band around its target. A common band is 5 percentage points. The next function implements that rule.
def drift_exceeds(targets, holdings, band=0.05):
total = sum(holdings.values())
return any(abs(holdings[k] / total - w) > band for k, w in targets.items())
targets = {"stocks": 0.60, "bonds": 0.30, "cash": 0.10}
holdings = {"stocks": 72000, "bonds": 25000, "cash": 3000}
print(drift_exceeds(targets, holdings))This prints True. Stocks are 12 points above target, bonds 5 points below (25% versus 30%, which does not exceed the band), and cash 7 points below. Stocks and cash each trip the rule.
A threshold rule reacts to the size of the problem, so it trades only when needed. It requires you to check often enough to catch a breach. The cost is the monitoring.
Cash-flow rebalancing
You steer new contributions into the underweight assets, and in retirement you take withdrawals from the overweight ones. This needs no sales, so it avoids trading costs and taxes. It works best when contributions are large compared with the portfolio. With 10,000 of new money, the example above would still be off target, because the underweight assets need 16,000 of purchases and only 10,000 is available. Cash flows can reduce drift but may not remove it.
Comparing the approaches
| Approach | Trigger | Strength | Weakness |
|---|---|---|---|
| Calendar | A date, such as every 12 months | Simple, predictable | Ignores how far the mix has drifted |
| Threshold | A band breach, such as 5 points | Trades only when drift is meaningful | Needs regular monitoring |
| Cash-flow | Deposits or withdrawals | No sales, so lower cost and tax | May be too slow to correct large drift |
A practical hybrid is to check once or twice a year and trade only if a band is breached. This keeps monitoring low and avoids pointless trades.
How wide should the band be?
Rebalancing involves a trade-off. Tight bands keep risk close to target but cause frequent trades. Wide bands save costs but allow more drift. Trading costs and taxes are the price of control.
- A band of 5 percentage points is a common default for major asset classes.
- Some investors use a relative band instead, such as 25% of the target weight. A 10% cash target then has a band of 2.5 points, and a 60% stock target has a band of 15 points.
- Highly volatile holdings drift faster and may justify closer monitoring.
Research on the best interval is mixed. Rebalancing annually, quarterly, or by band all give similar risk control. Do not spend effort hunting for an optimal schedule. Pick a rule you will follow.
Costs and taxes
Each trade can have a cost. Index funds and many brokerages charge no commission, but funds may carry spreads or redemption fees. Taxes are usually the bigger concern.
In a taxable account, selling an asset that has risen creates a realized capital gain, which may be taxed. In a tax-advantaged retirement account, trades inside the account typically do not trigger tax. Tax rules differ by country, so check yours. A sensible order is:
- Direct new contributions to underweight assets.
- Rebalance inside tax-advantaged accounts, where selling has no immediate tax.
- In taxable accounts, sell only what you still need to sell, and consider the gain on each lot.
Treat the whole set of accounts as one portfolio. You can hold stocks in one account and bonds in another and still measure the target across everything. Rebalancing across accounts lets you do the trading where it is cheapest.
Edge cases and common errors
- Unequal drift. Several assets can move at once. Compute all trades from the same total, as the code does, rather than fixing one class at a time.
- Stale totals. If prices move while you trade, recompute. Use current values.
- Rounding and minimums. Funds may have minimum purchase sizes or whole-share limits. Round trades and accept small residual drift.
- Rebalancing into falling markets. Buying stocks after a drop feels wrong. The rule exists to prevent emotion from deciding, so follow it.
- Rebalancing out of trends. In a long rally, rebalancing sells winners early and can lower returns compared with doing nothing. In a downturn followed by recovery, it can add return. Over time, expect better risk control, not better returns.
- Changing targets disguised as rebalancing. If you change the target because the market moved, you are making a tactical bet, not rebalancing.
Exercise
A 200,000 portfolio has a 50/40/10 target for stocks, bonds, and cash. It now holds 116,000 in stocks, 74,000 in bonds, and 10,000 in cash. What trades restore the target, and does a 5-point threshold rule trigger?
Show answer
The targets are 100,000 stocks, 80,000 bonds, and 20,000 cash. The trades are: sell 16,000 of stocks, buy 6,000 of bonds, and buy 10,000 of cash. They net to zero (16,000 sold, 16,000 bought). Current weights are 58%, 37%, and 5%. Stocks are 8 points over target and cash is 5 points under. The 5-point rule trips because of stocks (8 > 5). Cash at exactly 5 points does not exceed the band, and bonds at 3 points do not either.