Portfolio Rebalancing Calculator
Turn a portfolio snapshot into a practical rebalance plan. Enter each holding, set the target mix, add or remove cash if needed, and see what to buy, sell, or leave alone.
Examples
Winner needs trimming
Stocks ran ahead of plan, so the rebalance requires selling the oversized holding and topping up the laggards.
- Portfolio State
- {"holdings":[{"id":"us-stock","name":"US Stock ETF","currentValue":62000,"targetAllocation":50},{"id":"intl-stock","name":"International Stock ETF","currentValue":18000,"targetAllocation":20},{"id":"bonds","name":"Bond ETF","currentValue":14000,"targetAllocation":20},{"id":"cash","name":"Cash Reserve","currentValue":6000,"targetAllocation":10}],"netCashFlow":0,"toleranceBand":0}
- Net Contribution / Withdrawal
- $0
- Tolerance Band
- 0 %
Examples
How It Works
Formula
Variables
- Current value of holding i
- Current portfolio weight of holding i(%)
- Current total portfolio value
- Adjusted total after contribution or withdrawal
- Target allocation for holding i(%)
- Target value for holding i after cash flow
- Trade delta; positive means buy, negative means sell
- Net cash flow; positive for contribution, negative for withdrawal
The calculator first totals your current holdings. It then adds any net contribution or subtracts any planned withdrawal to create an adjusted portfolio total. Each holding gets a target value from that adjusted total and its target allocation. The exact trade delta is the target value minus the current value. If you set a tolerance band, holdings already inside that band can be left alone and the remaining holdings absorb the rebalance work.
Tolerance is applied as a practical trading filter, not a forecast. Holdings already inside the tolerance band can be treated as “good enough” and left untouched. The remaining holdings are scaled to carry the rest of the rebalance so the plan still lines up with the adjusted portfolio total.