Stocks and investing

Portfolio Rebalance Calculator

Enter what you hold and what you meant to hold. The calculator returns the trades in money, and how far each position has drifted from its target.

What you hold now

Target weights

Total to move
Portfolio total
Position 1 — action
Position 2 — action
Position 3 — action

Rebalancing sells what has run and buys what has lagged, which is why it is uncomfortable and why it works. In a taxable account each sale is a realised gain, so many investors rebalance with new contributions instead and only sell when the drift becomes large.

FreeNo signupNothing leaves your browser

What it does

target value = portfolio total × target weight
trade        = target value − current value
drift        = current weight − target weight

Hold $42,000, $31,000 and $12,000 against targets of 60/30/10 and the total is $85,000. Position 1 should be $51,000, so it needs $9,000 bought; position 2 should be $25,500, so $5,500 sold; position 3 should be $8,500, so $3,500 sold.

The buys and sells always net to zero, because rebalancing moves money between holdings rather than adding it.

Drift is the number that decides whether to act

The trade amounts tell you what to do. The drift column tells you whether it is worth doing.

Rebalancing has costs — spreads, commissions and, in a taxable account, realised gains. A position 0.4 percentage points off target is not worth paying any of those. One 8 points off is a different matter.

Two common rules, both defensible:

  • Threshold: rebalance a position when it drifts more than a set amount — 5 percentage points, or a quarter of its own target weight.
  • Calendar: rebalance on a fixed date, once or twice a year, whatever the drift.

The evidence for either being superior is thin. What is clear is that doing it constantly costs more than it returns, and never doing it lets one winner quietly become the whole portfolio.

Why it feels wrong, and why that is the mechanism

Rebalancing sells the position that has done best and buys the one that has done worst. It will feel like a mistake almost every time, and it is precisely the behaviour being paid for: it enforces selling high and buying low on a schedule, removing the judgement that usually gets this backwards.

It is also a risk control rather than a return strategy. Left alone, the best performer grows until the portfolio's outcome depends on it alone — which may be the position you understand least, having bought it when it was small.

The tax constraint, which changes the method

In a taxable account every sale realises a gain, and the tax is paid now rather than later. That cost is often larger than the benefit of a small correction.

Two ways round it that cost nothing:

  • Rebalance with new money. Direct contributions to the underweight positions and let the drift close without selling anything.
  • Rebalance with the income. Dividends and interest can be directed the same way instead of being reinvested where they came from.

Both work well while the portfolio is still growing and stop working once contributions are small relative to the total. Inside a tax-sheltered account none of this applies and drift thresholds can be tighter.

FAQ

How do I calculate a portfolio rebalance?

Multiply the portfolio total by each target weight to get the target value, then subtract the current value. A positive result is a buy and a negative one is a sell. The amounts always net to zero.

How often should I rebalance?

Once or twice a year, or when a position drifts past a threshold such as 5 percentage points. More frequent rebalancing raises costs without a matching benefit; leaving it indefinitely concentrates the portfolio in whatever has run.

What is portfolio drift?

The gap between a position's current weight and its target, in percentage points. A 60% target that has grown to 68% has drifted +8. Drift is what accumulates between rebalances and what the threshold rule is measured against.

Should I rebalance in a taxable account?

Carefully. Each sale realises a gain, so it is usually better to direct new contributions and dividends towards the underweight positions and reserve actual selling for large drifts.

Do my target weights have to add up to 100%?

Yes, or the results describe a portfolio you did not intend. The calculator scales to whatever you enter and warns when the total is not 100, rather than silently normalising it and returning trades for weights you never chose.

This is the plan. What did you actually do?

A calculator tells you the size you should have taken. It cannot tell you the size you took at 2pm after two losers, or how often your stop moved once price went against you. Drop in a statement from MT4/MT5, a broker CSV or a crypto export and see the answer for your own last 90 trades.

Import my trades — free