Skip to main content

Stock Portfolio Rebalance Analyzer

Analyze portfolio drift and rebalancing needs. Enter values for instant results with step-by-step formulas.

Share this calculator

Formula

Drift = Current % - Target %; Rebalance = (Target - Current) × Portfolio Value

Worked Examples

Example 1: Moderate Drift - Rebalance Needed

Problem: Portfolio: $500K total. Target: 60% stocks, 30% bonds, 10% cash. Current: 70% stocks, 23% bonds, 7% cash. Rebalance?

Solution: Current allocation:\nStocks: 70% ($350,000)\nBonds: 23% ($115,000)\nCash: 7% ($35,000)\n\nTarget allocation:\nStocks: 60% ($300,000)\nBonds: 30% ($150,000)\nCash: 10% ($50,000)\n\nDrift analysis:\nStocks: +10% (overweight by $50,000)\nBonds: -7% (underweight by $35,000)\nCash: -3% (underweight by $15,000)\n\nMax drift: 10% (stocks) → Exceeds 5% threshold!\n\nRebalancing trades:\nSell $50,000 stocks\nBuy $35,000 bonds\nAdd $15,000 cash (or buy bonds)\n\nTax consideration (taxable account):\n$50K sale may trigger capital gains\nIf cost basis is $40K, gain = $10K\nTax (20% LTCG): $2,000\n\nNet rebalance: $50K stocks → $35K bonds + $15K cash - $2K tax\n\nIn IRA: no tax, simpler decision

Result: Rebalance needed | Max drift: 10% | Sell $50K stocks, buy $35K bonds, $15K cash

Example 2: Minor Drift - No Action

Problem: $100K portfolio. Target: 50/40/10 stocks/bonds/cash. Current: 53/38/9. Rebalance?

Solution: Current:\nStocks: 53% ($53,000)\nBonds: 38% ($38,000)\nCash: 9% ($9,000)\n\nTarget:\nStocks: 50% ($50,000)\nBonds: 40% ($40,000)\nCash: 10% ($10,000)\n\nDrift:\nStocks: +3% ($3,000 over)\nBonds: -2% ($2,000 under)\nCash: -1% ($1,000 under)\n\nMax drift: 3%\n\nThis is well within 5% threshold.\n\nRecommendation:\nNo action needed.\nMonitor drift in next quarterly review.\n\nIf making regular contributions:\nPut next contributions into bonds (underweight)\nThis gradually rebalances without selling\n\nAvoid trading for 3% drift—costs exceed benefits.

Result: No rebalance needed | Max drift only 3% | Monitor quarterly | Use contributions to drift back

Example 3: Post-Bull Market Rebalance

Problem: $1M portfolio after stocks +40% year. Target 70/25/5. Now 80/17/3 due to stock gains. Taxable account with $200K unrealized gains.

Solution: Current (post-gains):\nStocks: 80% ($800,000)\nBonds: 17% ($170,000)\nCash: 3% ($30,000)\n\nTarget:\nStocks: 70% ($700,000)\nBonds: 25% ($250,000)\nCash: 5% ($50,000)\n\nDrift:\nStocks: +10% (+$100,000 overweight)\nBonds: -8% (-$80,000 underweight)\nCash: -2% (-$20,000 underweight)\n\nMax drift: 10% → Rebalance needed\n\nBut taxable account consideration:\nSelling $100K stocks\nCost basis ~$600K for current $800K stocks\nGains: $200K total, proportional sale = $25K gains\nTax: $25,000 × 20% = $5,000\n\nAfter-tax rebalance:\nSell $100K stocks → $95K after tax\nBuy $80K bonds + $15K cash\n\nAlternative:\nWait for pullback (stocks decline, auto-rebalancing)\nUse contributions to bonds over next 12-24 months\nTax-loss harvest in next downturn\n\nDecision: Unless urgently need rebalance, use co

Result: 10% drift (stocks overweight) | Rebalancing costs $5K tax | Alternative: use contributions over time

Frequently Asked Questions

What is portfolio rebalancing?

Rebalancing restores portfolio to target asset allocation. Over time, stocks outperform bonds, shifting 60/40 portfolio to 70/30. Rebalancing sells winners (stocks) and buys losers (bonds) to return to 60/40. This enforces 'buy low, sell high' discipline and manages risk by preventing overconcentration.

How often should I rebalance?

Common approaches: Calendar (annually, quarterly), Threshold (when any asset drifts 5-10% from target), Hybrid (annual review, plus threshold). Research shows annual rebalancing performs similarly to quarterly with less trading costs. Monthly is likely over-trading. Set threshold (5-10% drift) for emergency rebalance between calendar reviews.

Should I rebalance in taxable or retirement accounts?

Prioritize tax-advantaged accounts (IRA, 401k) for rebalancing—no tax on trades. For taxable accounts: consider tax-loss harvesting (sell losers to offset gains), use new contributions to rebalance (rather than selling), tolerate wider bands before triggering taxable sales. Taxes can be 15-20% of rebalanced amount.

How do I rebalance with contributions?

Most efficient rebalancing: use new contributions to buy underweight assets. Example: portfolio is 70% stocks (target 60%). Put next 6 months of contributions into bonds. This rebalances without selling (no taxes, no trading costs). Requires patience but very tax-efficient.

When should I NOT rebalance?

Don't rebalance: if drift is under 5% threshold (trading costs exceed benefits), in taxable accounts when taxes are high, during extreme volatility (wait for stabilization), if retirement is imminent (sequence risk), or if doing so would realize large capital gains without offsetting losses.

How do dividends work in an investment portfolio?

Dividends are cash distributions that profitable companies pay to shareholders, typically quarterly. Qualified dividends — paid by U.S. corporations or certain foreign companies on stock held more than 60 days — are taxed at favorable long-term capital gains rates of 0%, 15%, or 20% depending on income. Ordinary dividends are taxed as regular income. Reinvesting dividends through a DRIP (Dividend Reinvestment Plan) compounds returns powerfully: dividends on S&P 500 index funds have historically contributed about 40% of total returns over long periods. A $10,000 investment growing at 7% without dividend reinvestment becomes $19,672 in 10 years; with reinvestment it reaches $20,848 or more.

Background & Theory

The Stock Portfolio Rebalance Drift Analyzer applies the following established principles and formulas. Finance and investing rest on the foundational concept of the time value of money: a dollar received today is worth more than a dollar received in the future, because present funds can be deployed to earn a return. This principle underlies virtually every valuation technique in modern finance. The future value of a present sum P growing at rate r over n periods is expressed as FV = P(1 + r)^n, while the present value of a future cash flow FV is PV = FV / (1 + r)^n. Compound growth amplifies returns significantly over long horizons, a dynamic often described as the eighth wonder of the world. Net Present Value (NPV) extends these mechanics to evaluate investment projects by summing the present values of all expected cash flows minus the initial outlay: NPV = sum[CF_t / (1 + r)^t] - C_0. A positive NPV indicates the project creates value above the required return. The Internal Rate of Return (IRR) is the discount rate that sets NPV to zero, providing a single percentage benchmark for project comparison. The risk-return tradeoff is the central tension of investment theory. Higher expected returns generally require accepting greater uncertainty. Harry Markowitz formalized this in Modern Portfolio Theory by demonstrating that portfolio variance can be reduced through diversification when assets are imperfectly correlated. The efficient frontier represents the set of portfolios offering the maximum return for a given level of risk. The Capital Asset Pricing Model (CAPM) extends this by introducing the market portfolio as a reference, defining expected return as E(r) = r_f + beta * (E(r_m) - r_f), where beta measures an asset's sensitivity to systematic market risk. Asset classes — equities, fixed income, real assets, and alternatives — differ in their return profiles, liquidity, and correlations. Strategic asset allocation determines long-run target weights based on investor objectives and risk tolerance, while tactical allocation permits short-run deviations to exploit perceived mispricings. Discount rates used in valuation models must reflect the cost of capital appropriate to the risk of the cash flows being discounted, a point stressed in corporate finance texts from Brealey, Myers, and Allen through to Damodaran.

History

The history behind the Stock Portfolio Rebalance Drift Analyzer traces back through the following developments. The formal practice of lending at interest dates to ancient Mesopotamia, where the Code of Hammurabi around 1750 BCE regulated interest rates on grain and silver loans. Banking as an institutional activity took root in medieval Italy, with merchant bankers in Florence and Venice financing trade across Europe through instruments such as bills of exchange. The Medici family operated one of the most sophisticated banking networks of the fifteenth century, pioneering double-entry bookkeeping and correspondent banking relationships. Organized equity markets emerged in the early seventeenth century. The Dutch East India Company (VOC), chartered in 1602, issued shares to the public and created the Amsterdam Stock Exchange — widely regarded as the world's first formal stock exchange. The VOC allowed investors to buy and sell shares freely, establishing the template for the joint-stock company. The period also produced the Dutch tulip mania of 1636 to 1637, one of history's first recorded speculative bubbles, in which tulip bulb futures contracts reached extraordinary prices before collapsing. England's financial revolution followed in the late seventeenth century with the founding of the Bank of England in 1694 and the development of government bond markets. The South Sea Bubble of 1720 illustrated the dangers of speculative excess and contributed to early securities regulation. Throughout the eighteenth and nineteenth centuries, industrialization created enormous demand for capital, fueling the expansion of stock exchanges in London, Paris, New York, and beyond. The New York Stock Exchange, formalized in 1817, became the world's dominant equities market by the twentieth century. The Great Crash of 1929 and subsequent Great Depression prompted the US Securities Act of 1933 and Securities Exchange Act of 1934, establishing the SEC and mandatory disclosure requirements. Harry Markowitz published his landmark portfolio selection paper in 1952, launching quantitative finance. The CAPM emerged in the 1960s through work by Sharpe, Lintner, and Mossin. John Bogle launched the first retail index fund in 1976, democratizing diversified investing and challenging active management orthodoxy.

References