Rebalancing calculator
Portfolio Rebalancing Calculator
This rebalance portfolio calculator shows the amount to buy or sell of each holding to bring a portfolio back to the target weights you choose. Use it as a portfolio rebalancing calculator for funds, ETFs, stocks and cash: enter what each holding is worth now and its target, add any new cash, and see every trade and the new cash that would leave buys only.
Free to use. No account or sign-up needed.
Your holdings
Money you are adding now. It is split by your targets with the rest. Use 0 for none.
Results
Moving $100,000.00 to your target weights takes $10,000.00 of sells and $10,000.00 of buys.
A calculator only: results depend on the numbers you enter, which can contain errors, and nothing here is investment advice.
Trades by holding
Each target value is your target weight of the total after any new cash, and Buy or sell is that target value minus the value now.
How the math works
Rebalancing moves a portfolio back to the target weights you set after prices have pushed some holdings above their targets and others below. This calculator does that arithmetic for the targets you type. It does not look up prices and it never suggests a weight.
It adds up your holdings and any new cash, then multiplies that total by each target weight to get each target value. The trade for a holding is its target value minus its value now: an amount above $0 is a buy and an amount below $0 is a sell.
Without new cash, the buys and the sells are equal, because money only moves between holdings. With new cash, the buys come to the sells plus the new cash. The weight now of each holding is its value over the total of the holdings before any new cash.
A worked example
Say a $100,000 portfolio holds $68,000 in a stock fund, $20,000 in a bond fund and $12,000 in a cash fund, and the target weights you chose are 60%, 30% and 10%. After prices moved, the weights now are 68.00%, 20.00% and 12.00%.
Each target value is the total multiplied by its target weight: $60,000.00, $30,000.00 and $10,000.00. Subtracting what each holds now gives the trades, sell $8,000.00 of the stock fund, buy $10,000.00 of the bond fund and sell $2,000.00 of the cash fund. The sells and the buys both come to $10,000.00, because money only moves between holdings.
Add $10,000 of new cash and the total becomes $110,000.00. The target values rise to $66,000.00, $33,000.00 and $11,000.00, so the buys come to $13,000.00 and the sells shrink to $3,000.00.
With $20,000.00 of new cash instead, the total becomes $120,000.00 and every target value is at least what that holding has now, so the trades are buys only, $20,000.00 in all.
Rebalancing with new cash
New money can close part of the gap on its own. The calculator adds the new cash to the total before it splits the total by your targets, so the holdings below target take more of it and the sells shrink.
The New cash to rebalance with buys only row is the total new cash at which no holding sits above its target value, so no trade is a sell. A holding with a 0% target and a value above $0 can only reach its target by selling, so then the row reads None.
When people rebalance
There is no single rule for how often to rebalance a portfolio. Some investors use a calendar, such as once a year. Others use bands and act when a holding moves a set distance from its target, such as from 60% to 65%. Some do both.
The Furthest from target row shows the holding whose weight now is furthest from its target, which is the number a band approach watches. The calculator does the math for any approach and never picks a schedule or a mix for you.
To see how a mix and a rebalancing schedule did on past prices, run a dividend portfolio backtest with a free GNG account.
To see how closely your holdings moved together, use the stock correlation calculator.
Costs it leaves out
The trades are dollar amounts before costs. Selling in a taxable account can create a capital gain or loss, and trades can carry commissions, fund fees or a spread between the buy and sell price, so the amounts you would place can differ.
To trade whole shares, divide a holding's buy or sell amount by its share price and round, which leaves a small amount over or under each target. In a retirement account, trades inside the account are not taxed when they are made.
What the calculator assumes
- The values and target weights are the numbers you type. The calculator does not check them against any account or price, and typed numbers can contain errors.
- Every trade happens at the values you entered, with no price moves between trades.
- There are no taxes, commissions, fund fees or spreads, and dollar amounts can be split into fractional shares.
- New cash is added before the trades and split by your target weights with the rest of the portfolio.
- Results are arithmetic on your inputs. They are not investment advice and not a recommendation to buy or sell anything.
Portfolio rebalancing calculator FAQ
How do you calculate how much to buy or sell to rebalance?
Add up the holdings and any new cash, multiply that total by each target weight, then subtract what each holding is worth now. In a $100,000 portfolio with a 60% target, a fund worth $68,000 has a $60,000 target value, so the math shows a sell of $8,000.
How do you rebalance a portfolio with new money?
Enter the new money as new cash. The calculator adds it to the total before splitting the total by your targets, so the holdings below target take more of it. In the example on this page, $10,000 of new cash lifts the buys to $13,000 and cuts the sells to $3,000.
How much new cash do you need to rebalance without selling?
Enough that no holding is above its target value. The New cash to rebalance with buys only row shows that amount. In the example on this page it is $20,000: the total becomes $120,000 and the trades are $20,000 of buys with no sells.
Do the target weights have to add up to 100%?
Yes. Each target is a share of the whole portfolio, so the targets must add up to 100%. A holding you want out of the portfolio takes a 0% target, and the calculator shows a sell of its whole value.
How often should you rebalance your portfolio?
There is no single rule. Some investors rebalance on a calendar, such as once a year, and others when a holding moves a set distance from its target, such as from 60% to 65%. This calculator does the math either way and does not pick a schedule for you.
Does the calculator count taxes or trading costs?
No. It shows dollar amounts before costs. Selling in a taxable account can create a capital gain, and trades can carry commissions or spreads, so the amounts you place can differ. It is a calculator, not tax or investment advice.
Can I use it for ETFs, mutual funds or single stocks?
Yes. Each row is any holding you name, from a fund or an ETF to a single stock or cash. The calculator does not look up prices, so enter what each holding is worth now, from your account statement for example.
Is this portfolio rebalancing calculator free?
Yes. It runs in your browser with no account and no sign-up. A free GNG account adds the Portfolio Tracker, where you can follow your own holdings, and the Backtester.
Follow the value of every holding in the Portfolio Tracker and backtest a rebalanced mix with a free GNG account.
Sign Up FreeThis calculator is for education and is not investment or tax advice, and it does not recommend any trade or mix. Results depend only on the numbers you enter, which can contain errors, and leave out taxes, fees and price moves. Read our disclosures.