Skip to content
Omnikalc

Rebalance your portfolio back to its target allocation

See how much to buy or sell in stocks, bonds and cash to return to your target mix, or how much new money would rebalance without selling.

Updated on
Your inputs
$

Value out of range

%

Value out of range

$

Value out of range

%

Value out of range

$

Value out of range

%

Value out of range

$

Value out of range

Results

Stocks: buy (+) or sell (−)

-$12,000

Positive: buy; negative: sell

Bonds: buy (+) or sell (−)

$13,000

Cash: buy (+) or sell (−)

-$1,000

Current stock weight
72.0%
Largest drift from target
13.0%
New money needed to rebalance without selling
$20,000

Why portfolios drift

You choose a mix, say 60% stocks, 35% bonds and 5% cash, because it matches the risk you are willing to take. Then markets move. After a few good years for stocks, the stock share grows and the portfolio becomes riskier than you planned. Rebalancing brings it back by selling some of what has grown and buying what has lagged.

How the calculator works

For each asset class:

Trade = (total portfolio + new money) × target weight − current value

A positive number is a purchase and a negative number a sale. The drift is the largest gap, in percentage points, between a current weight and its target.

The calculator also finds the new money needed to rebalance without selling: the portfolio size at which the most overweight class would be exactly at its target, minus the current total.

Worked example

The portfolio holds $72,000 in stocks, $22,000 in bonds and $6,000 in cash, a total of $100,000. The target is 60 / 35 / 5.

  • Current weights: 72% / 22% / 6%. The largest drift is 13 points, in bonds.
  • Stocks: 60,000 − 72,000 = sell $12,000.
  • Bonds: 35,000 − 22,000 = buy $13,000.
  • Cash: 5,000 − 6,000 = sell $1,000.

To rebalance only with new money, stocks would need a total portfolio of 72,000 ÷ 0.60 = $120,000, so $20,000 of new money split between bonds and cash would do it.

When to rebalance

  • Calendar rule: once a year, on a date you remember, such as your birthday.
  • Threshold rule: whenever a class drifts more than 5 percentage points, or more than 20 to 25% of its own target.
  • Combined: check every quarter, act only when a threshold is crossed.

Rebalancing more often than necessary adds trading costs and taxes without much benefit. The discipline is what matters: it makes you sell high and buy low when emotions push the other way.

Keeping taxes low

  • Make the trades inside tax-advantaged accounts such as a 401(k), 403(b) or IRA, where sales have no immediate tax cost.
  • In taxable accounts, direct new contributions, dividends and interest to the underweight classes.
  • If you must sell in a taxable account, prefer lots with losses or long-term gains, and watch the wash-sale rule if you sell at a loss.

Target-date funds and many robo-advisors rebalance automatically. The calculator handles three classes; for more, group your holdings into broad categories first.

This calculator gives estimates for education and planning. It is not investment, tax or legal advice; for decisions about your own situation, talk to a qualified financial professional.

Frequently asked questions

What does rebalancing mean?

Selling part of what has grown and buying what has lagged to bring a portfolio back to its target mix. After a strong stock market, a 60/40 portfolio can drift to 72/22, as in the example, which carries more risk than planned.

How often should I rebalance?

Common rules are once a year on a fixed date, or whenever an asset class drifts more than 5 percentage points from its target. Studies find that the exact method matters less than having a rule and sticking to it.

How can I rebalance without selling?

Direct new contributions or dividends to the asset classes below their target. The calculator shows how much new money would restore the target without any sale: $20,000 in the example, because stocks would need a $120,000 portfolio to be back at 60%.

What about taxes?

Selling in a taxable account can trigger capital gains tax. Rebalancing inside a 401(k) or an IRA has no immediate tax cost, so many investors make their trades there and use new money in taxable accounts. This is general information, not personal tax advice.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.