Portfolio Rebalancing Calculator: Stocks vs Bonds Allocation

Calculate buy/sell amounts to rebalance stocks-bonds portfolio to target allocation. Tool for Bogleheads passive investors and Modern Portfolio Theory rebalancing.

Calculation parameters
Was this calculator useful?

The portfolio rebalancing calculator determines how much money to shift between stocks and bonds to bring current allocation back to strategic target (e.g., 60/40, 80/20, 70/30). It is the essential tool of Bogleheads passive investing introduced by John Bogle (Vanguard founder, 1975) and formalized by Harry Markowitz in Modern Portfolio Theory (Journal of Finance 1952, Nobel Prize 1990). Periodic rebalancing (annual or semi-annual) reduces risk by maintaining constant exposure to investor's tolerance profile, and captures returns by selling overgrown assets (high price) and buying decreased ones (low price). Vanguard's Best Practices for Portfolio Rebalancing 2010 estimates annual rebalancing adds 0.15-0.30% risk-adjusted return vs unbalanced portfolios.

Mathematical formula

The calculation follows a simple percentage difference:

  • Current stocks value: Vstocks = Vtotal × Pctstocks_current / 100
  • Target stocks value: Tstocks = Vtotal × Pctstocks_target / 100
  • Stock action: Astocks = Tstocks − Vstocks (positive = buy, negative = sell)
  • Bond action: Abonds = Tbonds − Vbonds
  • Sum verification: Astocks + Abonds = 0 (zero-sum, internal rebalancing)

The formula derives from Harry Markowitz's Modern Portfolio Theory (1952) and William Sharpe's Capital Asset Pricing Model (1964, Nobel 1990). Fundamental principle: efficient diversification optimizes risk-return tradeoff on the efficient frontier. Standard allocations: aggressive 90/10 (young 25-40), balanced 60/40 (40-55), conservative 40/60 (55+). Bogleheads tend toward 70/30 global as common compromise.

History and context of rebalancing

The concept of rebalanced portfolio was born with Harry Markowitz (Portfolio Selection, Journal of Finance March 1952) who mathematically demonstrated diversification reduces risk at equal expected return. William Sharpe (1964) developed CAPM. John Bogle founded Vanguard in 1975 and launched the First Index Investment Trust in 1976, first retail index fund. Periodic rebalancing philosophy is codified in Common Sense on Mutual Funds (Bogle, Wiley 1999) and The Bogleheads' Guide to Investing (Larimore-Lindauer-LeBoeuf, Wiley 2014). Academic studies: Vanguard Best Practices 2010 shows annual rebalancing beats quarterly and monthly for cost/benefit. Burton Malkiel in A Random Walk Down Wall Street (Norton 1973) advocates systematic rebalancing against market timing. References: The Intelligent Investor Benjamin Graham (Harper 1949), Markowitz JF 1952, Bogle 1999, JL Collins The Simple Path to Wealth 2016.

Typical target allocations table 2024

Age/risk profileStocks %Bonds %Historical volatilityExpected return
Aggressive 25-3590%10%15-18%7-9%
Growth 35-4580%20%13-16%6.5-8%
Balanced 45-5560%40%9-12%5-7%
Conservative 55-6540%60%6-9%3.5-5%
Retired 65+30%70%5-7%3-4%

Sources: classic "100 − age" Bogleheads rule, Vanguard Lifecycle Investing 2024, Markowitz Modern Portfolio Theory 1952, Wade Pfau Safety-First Retirement Planning 2019, Bogle Little Book of Common Sense Investing Wiley 2007.

Five worked examples

Example 1 — $100,000 portfolio moderate drift. Current 70% stocks 30% bonds after bull market. Target 60/40. Stocks $70,000, target $60,000 → sell $10,000 stocks. Bonds $30,000, target $40,000 → buy $10,000 bonds. Balance restored.

Example 2 — Stock crash requires buying. Initial 60/40 portfolio $100K. Stock crash -30%: new value $42K stocks + $40K bonds = $82K total. Allocation 51%/49%. To return 60/40 on $82K: $49,200 stocks → buy $7,200 stocks selling $7,200 bonds.

Example 3 — Rebalance with new contributions. Portfolio $80K allocation 75/25 (stocks grew). Target 70/30. Monthly contribution $500 ETF. Strategy: redirect 100% new contribution to bonds for 5 months, avoiding taxed sales (LTCG 0/15/20% IRC 1(h)).

Example 4 — FIRE portfolio $1M with bands. 5% threshold strategy: rebalance only if drift > ±5% from target. $1M portfolio target 60/40. Stocks range 55-65%. Only intervene if stocks rise to 65% ($650K) or fall to 55%.

Example 5 — Advanced 4-asset rebalance. $200K portfolio: 50% Total US (VTI $100K), 20% International (VXUS $40K), 20% Total Bond (BND $40K), 10% REIT (VNQ $20K). Asymmetric growth: VTI +15% → $115K. To return 50%: sell $5K VTI, distribute to International, Bond, REIT per target weights.

Model limitations

The calculation is simplified and ignores practical aspects: US taxation: long-term capital gains 0/15/20% (IRC 1(h)) make rebalancing via sales costly; short-term gains taxed as ordinary income up to 37%. Preferable strategy: rebalance with new contributions redirecting them to underweight asset. Transaction costs: most US brokers (Fidelity, Schwab, Vanguard, Robinhood) offer commission-free ETF trading since 2019. Optimal frequency: Vanguard 2010 recommends annual rebalancing or threshold ±5%, avoiding over-trading. Asset location: better to rebalance in tax-advantaged accounts (401(k), Roth IRA, HSA) instead of taxable brokerage to reduce tax friction. Doesn't account for dynamic correlations: in crisis all risk-on assets fall together (correlation → 1), reducing diversification benefits. Doesn't model cost basis for tax loss harvesting (wash sale IRC 1091).

Common mistakes

  • Rebalancing too frequently: quarterly or monthly increases costs without significant benefits (Vanguard 2010).
  • Panic selling in crashes: rebalancing requires buying stocks when they crash, not selling.
  • Ignoring taxation: selling ETFs in profit triggers LTCG; prefer redirecting new contributions or using tax-loss harvesting.
  • Confusing rebalancing with market timing: rebalancing is mechanical, market timing is discretionary.
  • Neglecting geographic diversification: 100% S&P 500 exposes to US-specific risk; prefer Total World VT or VTI+VXUS.

Practical applications

  1. Maintain target stock-bond allocation in passive Bogleheads portfolio.
  2. Leverage monthly contributions to rebalance without taxed sales.
  3. Decide when to intervene using ±5% threshold deviation from target.
  4. Plan progressive risk reduction approaching retirement (glide path).
  5. Apply 3-fund strategy (Total US + Total International + Total Bond) or 4-fund.
  6. Calculate tax impact of rebalancing via sales vs new contributions.
  7. Optimize asset location: bonds in 401(k) tax-deferred, stocks in Roth IRA tax-free, both in taxable brokerage with tax-loss harvesting.

Updated July 2026

Frequently Asked Questions

What is portfolio rebalancing?

Rebalancing is the process of selling overgrown assets and buying underperforming ones to restore the original strategic allocation (e.g., 60% stocks 40% bonds). The principle derives from Modern Portfolio Theory by Harry Markowitz (Journal of Finance 1952, Nobel 1990) and Vanguard practice founded by John Bogle 1975. Reduces risk maintaining tolerance profile exposure, and captures returns selling high and buying low. Vanguard 2010 estimates 0.15-0.30%/year additional return from systematic rebalancing.

How often should I rebalance?

Vanguard's Best Practices for Portfolio Rebalancing 2010 recommends annually or when an asset class drifts more than 5% from target (threshold rebalancing). Monthly or quarterly rebalancing increases costs (commissions, taxation) without significant benefits. Optimal frequency depends on volatility: in turbulent markets (2008, 2020) may need more often, in stable less. Bogleheads practical rule: 'set it and forget it' with annual check.

What stock-bond allocation to choose?

Classic Bogleheads rule is '110 − age% in stocks' (more aggressive than '100 − age'). Examples: age 30 → 80% stocks / 20% bonds; age 50 → 60/40; age 70 → 40/60. Personal risk tolerance matters: those who can't handle 30-40% crashes should have less stocks. Trinity Study (Cooley-Hubbard-Walz 1998) and Bengen 1994 show 50-75% stocks maximize 4% FIRE rule. Bogleheads often use 70/30 or 60/40 as compromise.

Should I rebalance via sales or new contributions?

In US via new contributions is often preferable in taxable brokerage: avoids LTCG 0/15/20% triggering. In tax-advantaged accounts (401(k), IRA, Roth IRA), rebalancing via sales has no tax cost. Strategy in taxable: redirect monthly DCA contribution entirely to underweight asset class until target restored. Only if drift is large (>10%) and contributions insufficient in reasonable time, consider partial sales with tax-loss harvesting (IRC 1211).

What is threshold rebalancing?

Threshold rebalancing (or band rebalancing) intervenes only when an asset class drifts beyond a preset threshold, typically ±5% from target. Example: stocks target 60% → range 55-65%, rebalance only if below 55% or above 65%. More efficient than calendar-fixed rebalancing because intervenes when really needed, reducing unnecessary trading. Bogleheads' Guide 2014 recommends 5% threshold for portfolios over $100K, 10% for under.

Should I include gold, REITs, crypto?

Classic Bogleheads is 2-fund (Total Stock + Total Bond) or 3-fund (+ International Stock). REITs (Real Estate Investment Trusts): add diversification 5-10% to reduce correlation, but high volatility. Gold: inflation and crisis hedge, 5-10% allocation recommended by David Swensen Unconventional Success 2005. Crypto: extreme volatility (Bitcoin -70% in 2022), max 1-5% of portfolio for upside play. Vanguard 2024 doesn't recommend crypto in traditional passive portfolios.

Rebalancing and US taxation?

In US taxable brokerage, long-term capital gains taxed at 0/15/20% (IRC 1(h)) when held >1 year, short-term as ordinary income (10-37%). Selling ETFs to rebalance triggers tax. Optimal strategy: redirect new contributions to underweight asset classes, avoiding sales. Asset location: keep bonds in 401(k)/Traditional IRA (tax-deferred), high-growth stocks in Roth IRA (tax-free), tax-efficient stocks in taxable brokerage with tax-loss harvesting. Wash sale rule IRC 1091: cannot claim loss if buying substantially identical security within 30 days.

Formula

A_i = \frac{T_i - C_i}{100} \times V_{tot}

Comments (0)

No comments yet. Be the first!