List your holdings with their current value and target percentage, optionally add new cash, and get the exact amount to buy or sell in each one to get back to your target asset allocation. A buy-only mode invests new money without selling anything.
Last updated:
$
Use a negative number for a withdrawal.
pts
Flag holdings this many points away from target.
Method
Enter your values to see the result.
Advertisement
Advertisement
How to use the Portfolio Rebalancing Calculator
Type each holding on its own line: name, current value, target % (targets must add up to 100).
Add new cash you plan to invest, or a negative amount for a withdrawal.
Choose the method: full rebalance (buys and sells) or buy only with the new cash.
Optionally set a band, such as 5 points, to see which holdings are far enough off target to act on.
Follow the action column in the plan, then copy it or download it as CSV.
Rebalancing formulas
Total = sum of current values + new cash (or − withdrawal)
Current % = holding value ÷ current portfolio value × 100
Drift = current % − target % (percentage points)
Target value = total × target % ÷ 100
Trade = target value − current value (positive = buy, negative = sell)
Buy only: buyi = new cash × gapi ÷ sum of gaps, where gapi = max(0, target value − current value)
Example: a $100,000 portfolio with stocks at $72,000 and bonds at $28,000 and a 60/40 target. Stocks should be $60,000, so sell $12,000; bonds should be $40,000, so buy $12,000.
Common target allocations
Portfolio
Stocks
Bonds
Typical use
Aggressive
90%
10%
Long horizon, high risk tolerance
Growth
80%
20%
Long horizon
Balanced (classic 60/40)
60%
40%
Moderate risk
Conservative
40%
60%
Shorter horizon or lower risk
Income
20%
80%
Capital preservation
These mixes are common illustrations, not recommendations. The right allocation depends on your goals, horizon and risk tolerance.
Frequently asked questions
How do you calculate how much to buy or sell to rebalance?
Add the new cash to your current total, multiply that total by each holding's target percentage to get its target value, then subtract the holding's current value. A positive result is the amount to buy; a negative result is the amount to sell.
What is portfolio drift?
Drift is the gap between a holding's current weight and its target weight, in percentage points. If stocks are meant to be 60% but have grown to 68%, they have drifted +8 points and the portfolio is riskier than planned.
How does buy-only rebalancing work?
Instead of selling winners, the new cash is split among underweight holdings in proportion to how far each one is below its target value. Nothing is sold, which can avoid taxes and trading costs. If the cash is not enough to close every gap, the portfolio moves closer to target but not all the way.
How often should I rebalance?
Common approaches are on a schedule (once or twice a year) or when a holding drifts beyond a band such as 5 percentage points. Rebalancing too often adds costs; rarely rebalancing lets risk creep away from your plan. The band field flags holdings past your threshold.
Does rebalancing have tax consequences?
Selling in a taxable account can realize capital gains. Many investors rebalance inside tax-advantaged accounts, direct new contributions and dividends to underweight assets, or use buy-only rebalancing to limit sales. Check the rules where you live.
Can I include cash or individual stocks?
Yes. Each line can be any holding: a fund, a stock, a bond ladder or a cash position. Just give each a target percentage so that all targets total 100%.
Is my portfolio data uploaded?
No. The calculation runs in your browser. Your inputs are only remembered in this browser so they are there next time.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.