Investing & Retirement
Portfolio Rebalancing Calculator
Find the buys and sells that bring your portfolio back to its target allocation — optionally using only new money so you don't have to sell.
For information and education only — not financial advice. Results are estimates based on the numbers you enter; check important decisions with a qualified professional.
How to use
- 1List each holding as 'name current-value target-%' (targets should total 100).
- 2Add any new money you're investing, and choose whether you're willing to sell.
How it's calculated
Target value = (total + new money) × target %. Trade = target value − current value. With 'no selling', new money goes to the most underweight holdings first.
Frequently asked questions
How often should I rebalance?
Common approaches are once a year or whenever an asset drifts more than 5 percentage points from its target.
Why rebalance with new money?
Directing contributions to underweight assets avoids selling, which in taxable accounts can trigger capital gains tax.
Does rebalancing improve returns?
Its main job is controlling risk. It keeps your portfolio from drifting into more stock exposure than you intended.
Why rebalancing with new money avoids a tax bill that selling triggers
Directing new contributions toward whichever holdings have drifted below their target allocation achieves the same end result as selling overweight holdings and buying underweight ones — but without triggering a taxable sale in a regular brokerage account, since nothing is actually sold. This is why the 'no selling' option exists specifically, and it's most valuable in taxable accounts where selling an appreciated position would realize a capital gain; inside tax-advantaged accounts like a 401(k) or IRA, selling to rebalance carries no tax consequence either way.
Worked example: Portfolio Rebalancing Calculator
A $100,000 portfolio with 62% in US stocks (target 50%), 18% in international stocks (target 20%) and 20% in bonds (target 30%) needs to sell $12,000 of US stocks and buy $2,000 of international stocks and $10,000 of bonds to hit its targets exactly. Adding $20 of new money to a smaller two-holding portfolio that's $60/$40 against a 50/50 target, using the 'no selling' option, directs that entire $20 toward the underweight holding rather than splitting it evenly, since only one holding is actually below its target in that scenario.
Why rebalancing is fundamentally about controlling risk, not boosting returns
Letting a portfolio drift without rebalancing tends to mean stocks (which usually grow faster than bonds over time) become an increasingly large share of the portfolio — quietly increasing risk exposure well beyond what was originally intended, without any deliberate decision to take on more risk. Rebalancing's main job is pulling the portfolio back to the intended risk level periodically, not chasing better returns, even though it occasionally has the side effect of selling recent winners and buying recent laggards.
Why the 'now %' and 'after %' columns use slightly different denominators
The 'now %' column in the allocation table divides each holding by the portfolio total before any new cash is added, while the 'after %' column divides by the total including both new cash and the planned trades — this distinction matters when adding a meaningful amount of new money, since the pre-cash and post-cash totals can differ enough to make the percentages non-obvious at a glance if you're not aware the denominators themselves changed between the two columns.
Targets have to add up, within a hundredth of a percent
Each line is a name, a value, and a target percent. Dollar signs, commas, and percent signs are stripped. A line that does not end in two numbers is rejected, and the message names the line. Blank lines are skipped. If the targets do not add to 100 within a hundredth of a percent, you see the total they did add to, and no trades. A holding with no name is labeled Holding plus its row number. With Don't sell on, new money is spread across underweight holdings in proportion to the shortfall, and nothing is marked sell. If the cash is smaller than that shortfall, only the cash is used. New money starts at 0, and selling stays allowed until you turn the switch on.
Related tools
- Asset Allocation by Age Calculator
Get a starting stock/bond mix for your age and risk tolerance using the classic 100/110/120-minus-age rules — and see it in dollars.
- 4% Rule / Safe Withdrawal Calculator
See how much you can withdraw from a portfolio each year and how long the money lasts with inflation-adjusted withdrawals.
- Gold & Silver Investment Calculator
Value your gold and silver holdings by troy ounce or gram at today's spot price, with the gain or loss against what you paid.
- Inflation Calculator
See how inflation changes the value of money — what today's amount will cost in the future, or what it's really worth after years of price rises.
- Retirement Calculator
Check whether your savings will last through retirement: projected balance at retirement, the income it can support and the age it might run out.
- Rule of 72 Calculator
Estimate how long it takes to double your money at a given return — or the return needed to double in a set time — with the exact answer for comparison.