Portfolio Rebalancing Helper — Get Back to Your Target Allocation

Calculate the trades needed to bring your portfolio back to target allocation

Reviewed for accuracy June 21, 2026 by Gary S.

60/40 is a common moderate target; adjust to your own target mix

Trade needed
Sell stocks, buy bonds
Trade amount
$19,000.00
Current stock allocation
82.4%
Drift from target
+22.4 pts

22.4% drift — overweight stocks, rebalance needed

At 82.4% stocks, you are 22.4% off your 60/40 target — a significant drift that meaningfully shifts your risk profile. Sell stocks, buy bonds: trade $19,000.

  • Current: 82.4% stocks / 17.6% bonds vs 60/40 target
  • Rebalance: Sell stocks, buy bonds — trade $19,000 to restore target
  • A 5-point drift threshold means rebalance when stocks move outside 55.0%–65.0% range

22.4% stock drift means more downside exposure than intended in a market correction

Project growth after rebalancing with the Asset Growth Modeler

Share on r/personalfinance, Twitter/X, or LinkedIn 📊

How to use Portfolio Rebalancing Helper

Free portfolio rebalancing helper. Enter your current stock and bond values plus a target allocation to see exactly how much to buy or sell to get back on track.

A portfolio naturally drifts away from its target allocation over time as different asset classes grow at different rates — stocks typically outpace bonds over the long run, which means a portfolio that starts at a 60/40 stock-to-bond split can drift to 70/30 or further after a strong stock market run, taking on more risk than originally intended without any deliberate decision to do so. The Portfolio Rebalancing Helper calculates exactly how much to buy or sell of each asset class to bring a portfolio back to its target mix, turning a vague sense of "I should probably rebalance" into a precise, actionable trade amount.

How to use this Portfolio Rebalancing Helper

  1. 1Enter the current dollar value of your stock holdings and your bond holdings.
  2. 2Set your target allocation using the quick-select buttons or the slider — 60% stocks / 40% bonds is a common moderate target, though the right target depends on individual risk tolerance and time horizon.
  3. 3Read your current allocation percentage, how far it has drifted from target, and the exact dollar amount and direction of the trade needed to rebalance.

Portfolio rebalancing formula explained

Rebalancing starts by calculating what each asset class's value should be at the target percentage of the total portfolio. The trade needed is simply the difference between the current value of an asset class and its target value — a positive difference means that asset class is overweight and needs to be sold, while a negative difference means it is underweight and needs to be bought, with the proceeds or funds moving to the other asset class.

Target Value = Total Portfolio × Target Percentage; Trade Amount = Current Value − Target Value
VariableMeaning
Total PortfolioCombined current value of all asset classes
Target PercentageThe desired share of the portfolio for a given asset class
Trade AmountPositive means sell (overweight); negative means buy (underweight)

Rebalancing example: $65,000 stocks, $35,000 bonds, target 60/40

  1. 01Total portfolio: $65,000 + $35,000 = $100,000.
  2. 02Current stock allocation: $65,000 ÷ $100,000 = 65.0%.
  3. 03Drift from 60% target: 65.0% − 60% = +5.0 percentage points overweight in stocks.
  4. 04Target stock value at 60%: $100,000 × 0.60 = $60,000.
  5. 05Trade needed: $65,000 − $60,000 = $5,000 to sell from stocks, moved into bonds.

Result

A portfolio that drifted to 65% stocks against a 60% target needs exactly $5,000 sold from stocks and moved into bonds to restore the original target allocation — a precise, actionable number rather than a vague sense that "stocks have grown too much."

What determines when and how much to rebalance?

Why portfolios drift

Different asset classes grow at different rates. Stocks have historically outpaced bonds over long periods, which means an un-rebalanced portfolio gradually becomes more stock-heavy (and therefore riskier) over time purely from market performance, without any deliberate decision to increase risk.

Rebalancing frequency

Common approaches include rebalancing on a fixed schedule (annually or semi-annually) or only when drift exceeds a set threshold (e.g. 5 percentage points off target). Frequent rebalancing in a taxable account can trigger more capital gains tax events than a threshold-based approach.

Tax implications of rebalancing

Selling appreciated stock to rebalance in a taxable brokerage account can trigger capital gains tax — this is not a concern in tax-advantaged accounts like a 401k or IRA, where trades inside the account have no immediate tax impact, making rebalancing there essentially free from a tax perspective.

Rebalancing with new contributions instead of selling

An alternative to selling the overweight asset is directing new contributions entirely into the underweight asset class until the portfolio naturally returns to target — this avoids triggering a taxable sale, though it works more slowly than an active rebalance and requires ongoing contributions.

Tips and things to know

  • In a tax-advantaged account (401k, IRA), rebalance freely with no tax consequence — there is little downside to staying close to target allocation in these accounts.
  • In a taxable brokerage account, consider directing new contributions into the underweight asset class first before selling the overweight one, to minimize triggering capital gains tax — see the Capital Gains Tax Calculator to estimate the tax cost of an active sale-based rebalance.
  • A common rule of thumb is rebalancing when an asset class drifts more than 5 percentage points from its target, rather than on every small fluctuation, which reduces unnecessary trading and any associated tax or transaction costs.
  • Set a calendar reminder to check allocation drift at least annually, since portfolios left entirely unmonitored can drift significantly over several years of strong performance in one asset class.
  • Rebalancing is not about timing the market — it is a disciplined, mechanical process that, over time, tends to sell some of what has gone up and buy some of what has lagged, which is the opposite of an emotional reaction to recent performance.

Portfolio Rebalancing Helper — bottom line

Portfolio rebalancing is simple to understand, emotionally difficult to execute, and consistently rewarded over long time horizons. The emotional difficulty is straightforward: rebalancing means selling the asset that has been performing well and buying the one that has been lagging — the opposite of what recent performance suggests doing. In practice, this discipline imposes a mild form of buy-low-sell-high: when stocks run up, rebalancing sells some at the higher price into bonds; when stocks fall and bonds hold steady, rebalancing buys equities at the lower price. The effect is modest year-to-year but meaningful over decades. The most common mistake is letting drift accumulate for years because rebalancing feels unnecessary during a bull market. A portfolio that started at 60/40 and has drifted to 75/25 after years of strong equity returns has materially more risk than originally intended — not because of any deliberate decision, but simply because no one acted. The 5-percentage-point threshold approach prevents this accumulation without requiring constant attention. Second mistake: rebalancing in a taxable account without considering the tax cost first. A $10,000 stock sale in a taxable account triggers capital gains tax — at 15% long-term, that is $1,500 owed. Directing new contributions into the underweight asset class first costs nothing in tax and achieves the same goal more slowly. Third: applying the same target allocation across all account types rather than looking at the total portfolio holistically. Bonds held in a Roth IRA waste the tax-free growth environment on a lower-returning asset. Generally, equities belong in Roth accounts (maximum growth, tax-free) and bonds in tax-deferred accounts for maximum lifetime tax efficiency.

Official resources and further reading

Related tools you might need

Frequently asked questions

Common approaches include rebalancing on a fixed annual or semi-annual schedule, or only when an asset class drifts more than a set threshold (often 5 percentage points) from its target. Either approach is reasonable — the key is having a consistent, disciplined process rather than reacting emotionally to market moves.

From our guides

All guides →
Your pipeline
Cash Flow
Income
Capital
Wealth

Next logical step

As your investments grow, revisit your cash survival baseline. Your liquidity runway should scale with your assets — not stay frozen at the number you set years ago.

Emergency Fund Calculator

Calculate your emergency fund target and time to reach it

Educational content only — not financial advice

The tools and calculators on Garypedia are provided solely for informational and educational purposes. They do not constitute financial, investment, tax, accounting, or legal advice of any kind. While reasonable care is taken to ensure the accuracy of formulas, figures, and data sources referenced, no warranty — express or implied — is made as to their completeness or suitability for any particular purpose. Garypedia, its operators, and contributors expressly disclaim all liability for any loss, damage, or adverse outcome — whether direct, indirect, or consequential — arising from reliance on any result produced by these tools. All outputs are estimates based on the inputs you provide; individual circumstances vary significantly. You should independently verify any figures and seek guidance from a suitably qualified and regulated financial, tax, or legal professional before making any financial decision.