Formula: Portfolio Rebalance Financial Formula
- currentEquities: Current Equities (currency)
- currentBonds: Current Bonds (currency)
- targetEquityPct: Target Equity Pct (%)
Identify current allocation drift and exact buy/sell dollar transfers.
Because the trade is target equities minus current equities. With $68,000 held and a $60,000 target, the result is -$8,000.00. A minus sign means the equity side is over its target, so that amount moves out of equities and into bonds. A positive number means the reverse. The size of the bond trade is always the same as the equity trade, just in the opposite direction.
No. The calculator assumes bonds take whatever share equities do not. A 60% equity target means a 40% bond target, which is $40,000 on the default $100,000 portfolio. If you hold cash or a third asset class you want to keep separate, this model cannot represent it on its own, and the weights shown will describe only the two buckets you entered.
What they are worth now. Allocation is about current market value, and drift happens precisely because the values move after you buy. Using cost would hide the drift you are trying to measure. Take the figures from a recent statement or your brokerage screen on the same day for both accounts, so the two balances reflect the same market moment.
On the default balances, a 70% target turns the answer into a buy of about two thousand dollars, a 50% target gives a sell of eighteen thousand, and a 68% target gives $0.00 with a note that no trade is needed. The total stays $100,000 in every case; only the split moves. Changing the target is a quick way to see how far your holdings are from several candidate mixes.
Yes, as long as you add the equity balances from every account into one field and the bond balances into the other. The trade then applies to the combined total. Where you place it is up to you; people often prefer to trade inside sheltered accounts to avoid realising gains, but the calculator does not know which account is which.
No. The $8,000.00 or $21,600.00 sell figures are gross amounts before any tax or trading cost. Whether selling creates a taxable gain depends on the account type, what you paid, and local rules. Check those before acting, or ask a tax professional. Redirecting new contributions to the underweight side is one way to shift the mix without selling.
The form will not calculate it. The target equity share has to be a percentage from 0 to 100, because anything higher would mean a negative bond holding, which an ordinary account cannot have. You will see a check-inputs message until the target is back in range. Remember the field is the equity share only, so 60 means a 60/40 split.
The trade is the point gap times the total value. With half a million in equities and three hundred thousand in bonds, a 60% target, and a 62.5% current weight, the gap is only 2.5 points but the sell is twenty thousand dollars. On the default $100,000 portfolio, the 8-point gap gives $8,000 to move. Large balances magnify even modest drift into sizeable dollar figures.
No. It only answers how much would have to move to reach the target you typed. Whether to act, how often to check, and what gap is large enough to matter are your decisions. The page makes no recommendation about any holding, and it does not judge whether your target percentage suits your circumstances. If you want help choosing a target, a qualified adviser can look at your full picture.
Split it first. A fund holding 60% stocks and 40% bonds should add 60% of its value to the equity field and 40% to the bond field. Putting the whole fund in one bucket overstates that side and gives a trade that pushes the real allocation further from target, not closer.
Start with the numbers already filled in. There is $68,000 in equities and $32,000 in bonds, so the portfolio is worth $100,000 in total and equities make up 68% of it. The target is 60% equities.
The calculator multiplies the total by the target. Sixty percent of $100,000 is $60,000, so that is where equities should sit, and the remaining $40,000 is where bonds should sit. The trade is the target equity figure minus what you hold now: $60,000 minus $68,000, which gives the headline answer of -$8,000.00 for the equity side once it is rounded to the cent.
A negative trade means the equity side is too big and money has to move out of it. The interpretation line spells that out: sell $8,000.00 of equities and buy bonds. Because only two assets exist in this model, the bond trade is always the same size with the opposite sign. Bonds go from $32,000 to $40,000, the same $8,000 in the other direction.
That symmetry is the whole method. Everything else on the page is about getting the inputs right and knowing what the single number does not capture.
Drift here means the gap between the current equity weight and the target weight. In the default that gap is 8 percentage points, 68 against 60. The trade is simply that gap applied to the total value, which is why 8 points on $100,000 gives $8,000 to move.
The consequence is that the same drift costs more to fix in a bigger account. Try half a million dollars of equities and three hundred thousand of bonds with the same 60% target. The weight is 62.5%, only 2.5 points over, yet the trade comes out as a sell of twenty thousand dollars because the base is so much larger. A small account can drift a long way before the dollar figure looks large; a large account produces big dollar trades from drift that is barely visible as a percentage.
So when you decide whether a rebalance is worth doing, look at both the point gap and the dollar figure. The calculator shows the dollars in the answer and the current weight in the interpretation line, which gives you both at once.
A useful habit is to note both figures each time you check. If the point gap keeps widening over several checks, the trade will grow even faster, because the total is usually growing too. Seeing the trend is more informative than any single reading, and it costs nothing more than running the calculator again with fresh balances.
Changing only the equity holding while keeping bonds at $32,000 shows how the direction flips.
Drop equities to $40,800 and the total becomes $72,800 and equities are now 56% of the portfolio, below the 60% target. Target equities are $43,680 and target bonds $29,120, so the answer turns positive: buy $2,880.00 of equities and sell bonds. Positive means the equity side is short and money needs to move into it, which in a two-asset portfolio means out of bonds.
Raise equities to $102,000 instead and the total is $134,000, so the weight climbs to 76.1%, and the target equity allocation is $80,400 with bonds at $53,600 behind it. The answer is -$21,600.00, a sell. This is the case that tends to arise after a strong run in stocks with bonds standing still.
Both runs show something easy to miss. The bond balance did not change, yet its target did, because the target is a share of a total that moved. You cannot work out the bond figure on its own; it always depends on the equity side too.
Use current market values for both fields, not what you originally paid. The calculator has no idea of cost; it only sees the numbers you type, and a rebalance based on purchase prices will land on the wrong weights.
Put everything that counts as equity into one field and everything that counts as bonds into the other. If you hold a balanced fund that is part stocks and part bonds, split its value by its own mix before adding it in. Cash is a judgement call. The model has no cash slot, so you either fold it into bonds or leave it out and accept that the weights describe only the invested part.
The target field is the equity percentage only. Type 60 for a 60/40 portfolio, not 0.6 and not 40. The bond target is worked out as whatever is left. If the account spans several places, such as a workplace plan and a personal brokerage account, add the balances together first; the trade you get is for the combined total, and you then choose where to make it.
The sign of the answer carries the instruction. Negative means sell equities and add the same amount to bonds. Positive means add to equities, funded from bonds or from new money.
If the portfolio already sits exactly on target, say $68,000 and $32,000 with a 68% target, the answer is $0.00 and the interpretation says the portfolio is already at the 68% target, so no trade is needed. That is a useful confirmation after you have rebalanced: rerun the calculator with the new balances and check that this message appears.
Small targets work as you would expect. A 67.95% target on the default holdings returns a sell of $50.00, which shows the arithmetic is exact to the cent. Whether a trade that small is worth placing is a different question, covered below.
The answer is the gross amount to move. It ignores trading commissions, fund spreads, and any tax triggered by selling a holding that has risen in value. In a taxable account, the -$8,000.00 sell in the default could create a realised gain, and the calculator does not estimate that. Selling inside a tax-sheltered account may have no such effect. The rules depend on where you live and the account type, so check them or ask a tax professional before selling.
New contributions offer another route. If you are about to add money anyway, directing it to the underweight side moves the weights back without selling anything. In the $40,800 scenario, the $2,880.00 shortfall in equities could be filled entirely by a new deposit going into equities, leaving the bond holding alone.
Withdrawals work the same way in reverse. Taking money from the overweight side first narrows the gap. The calculator does not model either flow directly, but you can test one by changing the balance to what it will be after the deposit or withdrawal and running it again.
The model has exactly two buckets. It cannot see the split between domestic and international stocks, between short and long bonds, or across sectors, and it treats everything in each bucket as one thing. If your plan has more than two targets, this page will rebalance the top level only, and each bucket may still be off inside.
It also says nothing about whether 60% is a sensible target for you, how often to check, or how large a gap should trigger a trade. Some people rebalance on a calendar date; others wait for drift to pass a set number of points. The calculator works for either approach because it only answers the arithmetic question: given these balances and this target, how much has to move.
One practical way to use the page with a more detailed plan is to run it twice. First run it for the top-level split between all stock holdings and all bond holdings. Then, inside the equity bucket, treat domestic as one field and international as the other, set the target to the domestic share you want within stocks, and run it again. Each run is still a two-asset calculation, but together they cover two levels of the plan.
Nothing on the page is a recommendation to buy or sell any security. The target is yours to set, and the result shows only the arithmetic consequence of that choice. If you are unsure what allocation fits your situation, that is a conversation for a qualified adviser.
The target field only takes a percentage from 0 to 100. Anything outside that range, which would imply a negative bond holding or borrowing to buy equities, brings up a check-inputs message instead of a trade. A 0% target means all bonds and a 100% target means all equities, and both are valid.
Both balances at zero are refused too, because there is no portfolio to rebalance; the total has to be above zero. A single empty side is fine. If the bond balance is zero, the weight reads 100% and the calculator tells you to sell equities and buy bonds, which is correct for a 60% target.
Typing a balance in thousands while the other is in full dollars is the most common slip. If equities are entered as 68 and bonds as 32,000, the result describes a portfolio that is almost all bonds. Check that both fields use the same units before trusting the trade.