Asset Allocation Rebalancer explained: formula, worked example and common mistakes
Find the exact trades to bring your portfolio back to your target allocation. Buy low, sell high — automatically. Free, no sign-up, your numbers stay in your browser.
Updated
What is asset allocation rebalancing?
Asset allocation rebalancing is the process of bringing your portfolio back to its target asset allocation after market movements have caused the weights to drift. If your target is 60% stocks and 40% bonds, and stocks outperform bonds over a year, your portfolio may have drifted to 70% stocks and 30% bonds. Rebalancing sells some stocks and buys some bonds to restore the 60/40 target.
The reason rebalancing matters is that it forces you to do the hardest thing in investing: sell what has gone up and buy what has gone down. Without a rebalancing discipline, investors naturally drift toward whatever has been winning — leading to overweighting the most expensive assets just before they revert. Rebalancing enforces a contrarian discipline that, over time, has been shown to add 0.5-1.5% per year to long-term returns (depending on the asset classes involved and the rebalancing frequency).
The mechanics are simple in concept. You start with a target allocation — say 60% stocks, 30% bonds, 10% cash. After a year of strong stock performance, your portfolio has drifted to 70% stocks, 25% bonds, 5% cash. To rebalance, you sell enough stocks to bring them back to 60% of the new (higher) total, and use the proceeds to buy bonds and cash until they’re at 30% and 10% respectively. The trades are mechanical — there’s no market timing involved, just restoring target weights.
Rebalancing frequency is a trade-off. More frequent rebalancing (monthly, quarterly) keeps your portfolio closer to target but incurs more transaction costs and may trigger more taxable gains in ordinary accounts. Less frequent rebalancing (annual, or threshold-based) lets drift run further but trades less and may be more tax-efficient. Most studies suggest annual rebalancing is close to optimal for individual investors — frequent enough to capture the rebalancing premium, infrequent enough to minimize transaction costs.
Threshold-based rebalancing is an alternative to time-based rebalancing. Instead of rebalancing on a fixed schedule (every quarter, every year), you rebalance only when an asset class drifts more than a set percentage from target — say 5% absolute or 25% relative. This reduces unnecessary trading when weights are close to target, while still catching significant drift.
The reason many investors fail to rebalance is psychological. After stocks have risen 30%, selling some to buy bonds feels like leaving money on the table. After stocks have fallen 30%, selling bonds to buy stocks feels like throwing good money after bad. Rebalancing forces you to do both — sell the winner, buy the loser — which is exactly what long-term outperformance requires.
The rebalancing calculation
The rebalancing calculation determines how much of each asset to buy or sell to bring the portfolio back to target weights.
Step 1: Calculate current weights
For each asset class:
- Current value = sum of market values of all holdings in that class
- Current weight = current value / total portfolio value
Step 2: Calculate target values
For each asset class:
- Target value = target weight × total portfolio value
Step 3: Calculate the trade for each asset class
Trade = target value - current value
- If trade is positive: buy that amount of the asset
- If trade is negative: sell that amount (the absolute value) of the asset
Worked example: A 100,000 portfolio has drifted to 70% stocks (70,000), 25% bonds (25,000), 5% cash (5,000). Target allocation is 60% stocks, 35% bonds, 5% cash.
Target stock value = 0.60 × 100,000 = 60,000
Target bond value = 0.35 × 100,000 = 35,000
Target cash value = 0.05 × 100,000 = 5,000
Trades:
- Stocks: 60,000 - 70,000 = -10,000 (sell 10,000 of stocks)
- Bonds: 35,000 - 25,000 = +10,000 (buy 10,000 of bonds)
- Cash: 5,000 - 5,000 = 0 (no trade)
So to rebalance, sell 10,000 of stocks and use the proceeds to buy 10,000 of bonds. Cash stays the same.
Net cash check:
The trades add up to zero (you’re not adding or withdrawing money, just rearranging). In the example: -10,000 + 10,000 + 0 = 0. Checks out.
Rebalancing with cash flows:
If you’re adding new money to the portfolio (e.g., monthly contributions), you can rebalance by directing new money to underweight asset classes rather than selling overweight ones. This is more tax-efficient because you avoid realizing capital gains.
For example, if you’re contributing 1,000/month to a portfolio that’s overweight stocks and underweight bonds, direct the 1,000 entirely to bonds (or mostly to bonds) until bonds are back to target. This avoids selling stocks and triggering taxable gains.
Rebalancing bands:
Many investors use rebalancing bands — thresholds beyond which they rebalance. Common rules:
- Absolute band: rebalance if any asset class is more than 5 percentage points from target (e.g., target 60% stocks, rebalance if stocks are below 55% or above 65%)
- Relative band: rebalance if any asset class is more than 25% from target (e.g., target 60% stocks, rebalance if stocks are below 45% or above 75%)
Bands reduce unnecessary trading when weights are close to target.
The calculator runs the full rebalancing calculation and shows the exact trades needed. Open the calculator and enter your current weights, target weights, and portfolio value.
When to use an asset allocation rebalancer (and when not to)
Use this calculator when:
- Your portfolio has drifted from your target allocation and you want to know exactly what to buy and sell.
- You’re setting up a new portfolio and want to calculate initial purchase amounts.
- You’re adding new money to your portfolio and want to direct it to underweight asset classes.
- You’re considering changing your target allocation and want to see the trades required to move to the new target.
- You want to enforce a rebalancing discipline but need the math done for you.
When NOT to use this calculator:
- If you don’t have a target allocation, you can’t rebalance. First define your target — typically based on your risk tolerance, time horizon, and goals. Common targets: 80/20 (aggressive), 60/40 (moderate), 40/60 (conservative).
- If you want to optimize your target allocation based on your risk tolerance, use the Portfolio Stress Test to see how different allocations would have performed historically.
- If you’re rebalancing within a single asset class (e.g., rebalancing across stocks within your equity allocation), use the Portfolio Concentration Checker to identify over- and under-weight positions.
- If you want to rebalance tax-efficiently across multiple account types (taxable, retirement account, a workplace retirement scheme), the math is more complex — you need to consider which accounts have the most tax-efficient assets and which have the lowest cost basis for selling.
Common mistakes people make
1. Rebalancing too frequently. Monthly or quarterly rebalancing incurs excessive transaction costs and taxable gains, often wiping out the rebalancing premium. Annual rebalancing is close to optimal for most individual investors. Threshold-based rebalancing (only when drift exceeds 5%) is even better.
2. Not rebalancing at all. The opposite mistake — letting your portfolio drift indefinitely. Over decades, a 60/40 portfolio can drift to 90/10 or worse, dramatically increasing risk. Set a rebalancing schedule and stick to it.
3. Rebalancing in ordinary accounts without tax awareness. Selling appreciated assets in an ordinary account triggers capital gains taxes. Where possible, rebalance in sheltered accounts (retirement account, a workplace retirement scheme) first, where sales don’t trigger taxes. In ordinary accounts, prefer directing new contributions to underweight assets over selling overweight ones.
4. Forgetting to rebalance across all accounts. If you have a workplace retirement scheme, a retirement account, and a taxable brokerage account, you need to look at the combined allocation, not each account separately. your workplace scheme might be 100% stocks while your retirement account is 100% bonds — combined, you might be at target, even though each account looks extreme.
5. Treating rebalancing as market timing. Rebalancing is not a prediction that the overweight asset will fall. It’s a mechanical discipline that restores target weights. Don’t second-guess the trades based on your view of the market — just execute them.
6. Ignoring transaction costs. If your broker charges 5 per trade and rebalancing requires 10 trades, you’re paying 50 in transaction costs. Make sure the rebalancing benefit (typically 0.5-1.5% per year) exceeds the transaction cost. With many brokers now offering 0 commissions, this is less of an issue, but bid-ask spreads and ETF premiums still matter.
Frequently asked questions
What is portfolio rebalancing?
Portfolio rebalancing is the process of bringing your portfolio back to its target asset allocation after market movements have caused the weights to drift. If your target is 60% stocks and stocks have risen to 70%, rebalancing sells some stocks and buys other assets to restore the 60% target.
How often is rebalancing done?
Most studies suggest annual rebalancing is close to optimal for individual investors. More frequent rebalancing (quarterly, monthly) incurs more transaction costs and taxable gains. Less frequent (every 2-3 years) lets drift run too far. Threshold-based rebalancing (only when drift exceeds 5%) is even better than time-based.
What is the rebalancing premium?
The rebalancing premium is the additional return earned by rebalancing versus letting the portfolio drift. Studies estimate it at 0.5-1.5% per year, depending on the asset classes involved. The premium comes from the contrarian discipline of selling winners and buying losers.
What are rebalancing bands?
Rebalancing bands are thresholds beyond which you rebalance. Common rules: absolute band (rebalance if any asset class is more than 5 percentage points from target) or relative band (rebalance if any asset class is more than 25% from target). Bands reduce unnecessary trading when weights are close to target.
Does rebalancing in an ordinary account work differently?
Rebalancing in ordinary accounts triggers capital gains taxes. Where possible, rebalance in sheltered accounts (retirement account, a workplace retirement scheme) first. In ordinary accounts, prefer directing new contributions to underweight assets over selling overweight ones — this avoids realizing gains.
How do I rebalance across multiple accounts?
Look at your combined allocation across all accounts (a workplace retirement scheme, retirement account, taxable), not each account separately. your workplace scheme might be 100% stocks and your retirement account 100% bonds, but combined you might be at your target. Rebalance the combined portfolio, executing trades in the most tax-efficient accounts first.
Does rebalancing work in a workplace retirement scheme?
Yes, and it's especially effective because a workplace retirement scheme trades don't trigger taxes. Most a workplace retirement scheme plans offer automatic rebalancing — set it to annual and forget it. This is one of the easiest ways to maintain discipline.
What if I'm contributing new money regularly?
If you're adding new money, direct it to underweight asset classes rather than selling overweight ones. This achieves the same rebalancing effect without triggering taxable gains. For example, if stocks are overweight, direct new contributions to bonds until bonds are back to target.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Asset Allocation Rebalancer”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/asset-allocation-rebalancer/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.