Portfolio
rebalancer.
Rebalancing a portfolio means trading back to the mix you chose, ideally at low cost.
| # | Name | Target % | Value $ |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
Targets add up to 100%. Up to 15 holdings; clear a row to drop it.
- Largest drift
- +5.56 pts
- Gap after trades
- 0 pts
- Cash to avoid selling
- $5,000
US stocks is 5.56 points over its target, outside your 5-point band, so the plan trades every holding back to target.
Where each holding sits
- Now
- Now, outside the band
- After the trades
- The band, with the target line in it
The largest drift is US stocks, at 55.6% against a 50.0% target. After the trades the largest gap is 0 points.
The trade list
| Holding | Value | Now | Target | Drift | Trade | After |
|---|---|---|---|---|---|---|
| US stocks$25,000 | $25,000 | 55.6%Target 50.0% | 50.0% | +5.56 pts | Sell $2,500+5.56 pts50.0% after | $22,500 |
| International stocks$12,000 | $12,000 | 26.7%Target 30.0% | 30.0% | −3.33 pts | Buy $1,500−3.33 pts30.0% after | $13,500 |
| Bonds$8,000 | $8,000 | 17.8%Target 20.0% | 20.0% | −2.22 pts | Buy $1,000−2.22 pts20.0% after | $9,000 |
Buy and sell, or new cash only
Selling closes the gap now and may cost tax. New cash alone leaves a gap of 5.56 points.
Cash that avoids selling
- New cash that reaches every target
- $5,000
- New cash entered
- $0
Inside or outside the band
| Holding | Off target | Flat 5-point band |
|---|---|---|
| US stocks | +5.56 pts | Outside |
| International stocks | −3.33 pts | Inside |
| Bonds | −2.22 pts | Inside |
The flat band decides the trades above. The relative test takes the smaller of the two limits, so it tightens for small holdings: see the 5/25 rule, one investor's rule of thumb. The SEC guide describes rebalancing on a calendar or at a percentage you set in advance.
Tax on the sales
How it's worked out
The SEC's guide to asset allocation lists three ways to rebalance: sell what is overweight and buy what is underweight, add new money to what is underweight, or steer your regular contributions there. These trades use the first two. Drift comes first, because it tells you whether to act at all.
Here v is the value of a holding and t is its target percentage, so drift is in percentage points. It uses what you hold now, without any new cash. A deposit therefore cannot make every holding look underweight.
A full rebalance puts every holding on its target share of the new total, where C is any new cash:
A cash-only plan sells nothing. It lifts the underweight holdings to the same fraction of their targets, using all of the cash, so the biggest gaps fill first. If you ask how much cash would finish the job, the most overweight holding sets the answer, because nothing can be sold:
Your band decides whether a full rebalance runs. If no holding is outside it, the plan leaves the holdings alone and only invests any new cash.
Worked examples
Ana after a strong year for stocks
Ana chose 60% stocks and 40% bonds. With $70,000 and $30,000, she sits at 70.0% and 30.0%, which is 10 points over on stocks. A full rebalance sells $10,000 of stocks and buys the same amount of bonds.
That sale could cost her tax if it is in a taxable account. Her stocks cost $40,000 in total, so $4,285.71 of the sale is gain at average cost. At a 15% rate, the tax is $642.86.
New money avoids the sale. Getting all the way back takes $16,666.67, because $70,000 of stocks must become 60% of a larger total. Less cash still helps, as the table shows.
| New cash | Stocks after | Bonds after |
|---|---|---|
| $0 | 70.0% | 30.0% |
| $5,000 | 66.7% | 33.3% |
| $10,000 | 63.6% | 36.4% |
| $16,667 | 60.0% | 40.0% |
| $20,000 | 60.0% | 40.0% |
Ben checks a three-fund portfolio
Ben holds $25,000, $12,000, $8,000 against targets of 50%, 30%, 20%. His US fund is 5.56 points over target, so a 5-point band says to act. The trades sell $2,500 of it and buy $1,500 of the international fund and $1,000 of bonds.
A wider band of 6 points gives no trades at all, which shows how much the choice matters. His next $2,000 deposit, sent with no sale, adds $1,200 and $800 to the two lagging funds. Closing every gap with cash alone takes $5,000.
Chloe has a small holding far from target
Chloe holds four funds worth $200,000. Her largest drift is only 3 points, so a 5-point band calls for no trades. Yet her small-cap fund is at 13.0% against a 10% target, which is 30% above where she meant it to be.
A relative test catches that. Under the 5/25 rule, the band for this fund is 2.5 points, from 7.5% to 12.5%. Her $26,000 is outside it, while the other three funds are inside theirs. A full rebalance at that tighter band sells $6,000 of the small-cap fund and buys $2,000 of US stocks and $4,000 of international stocks.
Reading your result
Largest drift tells you the size of the problem. Ana's 10 points means $10,000 is in the wrong place on a $100,000 portfolio. In her case, that extra stock is the risk she never meant to take.
Pick your trigger before you look. The SEC describes two: a calendar, such as every six or twelve months, or a percentage you set in advance. It also says that rebalancing generally works best when done infrequently. A band suits you if you can check it often; a calendar is easier to keep. A narrow band means more trades, and a wide one lets the risk drift further.
Look at relative drift on small holdings. Larry Swedroe's 5/25 rule acts only when a holding moves more than 5 points or 25% of its target, whichever is less. A 10% target has a range of 7.5% to 12.5%. It is one investor's rule of thumb and not a standard.
Compare the tax to the risk you are fixing. Trades inside a traditional IRA are not taxed, since amounts in the account are generally not taxed until you withdraw them. In a taxable account, IRS Topic 409 sets long-term gains at 0%, 15% or 20% for tax year 2025. The 0% rate runs to $48,350 of taxable income for a single filer and $96,700 for joint filers. Selling something held one year or less is a short-term gain instead.
Common mistakes
- Treating each account as its own portfolio. Your target applies to everything together. You can often rebalance by trading inside a retirement account and leaving a taxable one alone. Add up your holdings across accounts before you decide.
- Measuring drift after adding the deposit. A deposit is not yet invested, so counting it makes every holding look underweight. Drift here uses current holdings only.
- Confusing points with percent. A fund 2 points off a 50% target is 4% off, while 2 points off a 5% target is 40% off. Use relative drift for small positions.
- Selling before you check the holding period. A sale at one year or less counts as short term. A short wait can change the tax, so look at the purchase dates first.
- Forgetting costs. The SEC warns that a method can trigger transaction fees or tax. A very small trade can cost more than the drift it fixes. These trade amounts include no costs, and they assume you can buy fractional shares, so round to whole shares if your broker needs that.
Questions people ask
Sources
- US Securities and Exchange Commission, Beginner's Guide to Asset Allocation, Diversification, and Rebalancing
- Internal Revenue Service, Topic no. 409, Capital gains and losses
- Internal Revenue Service, Traditional IRAs
- Ben Carlson, A Wealth of Common Sense, quoting Larry Swedroe, Think, Act, and Invest Like Warren Buffett