Portfolio Rebalancing Calculator

Calculate the exact buy and sell trades needed to rebalance your portfolio back to its target asset allocation.

Restore your target investment strategy without guesswork. Input your current account values and desired target percentage allocations to generate clear BUY and SELL trade recommendations to re-align your portfolio.

How this calculator works

Target Value_i = Total Portfolio Value * (Target Percent_i / 100). Trade Required = Target Value_i - Current Value_i. Positive = BUY, Negative = SELL.

Key benefits

Assumptions & exclusions

Frequently asked questions

How often should an investor rebalance their portfolio?

Most financial advisors recommend rebalancing on a fixed schedule (once or twice a year) or whenever an asset class drifts by more than 5% from its target allocation. Frequent rebalancing in taxable accounts can generate unnecessary capital gains taxes.

Can I rebalance without selling shares?

Yes! In "cash flow rebalancing," you direct new monthly contributions and dividend payouts solely into your under-allocated asset classes until target weights are restored, avoiding capital gains taxes entirely.

What is a rebalancing threshold or band?

It is a preset drift limit — often five percentage points — that triggers action only when a class moves beyond it. Bands keep you from trading on small market wiggles while still catching the large drifts that materially change portfolio risk.

Should I rebalance inside my retirement accounts first?

Generally yes, where possible. Trades inside IRAs and workplace plans do not create immediate tax bills, so restoring targets there avoids the capital gains that the same sales could trigger in a taxable brokerage account.

What if my target percentages do not add up to 100%?

The trade instructions cannot describe a complete portfolio until they do. Adjust the targets so they total exactly 100% — otherwise part of your money is assigned nowhere, or assigned twice, and the buy and sell amounts will mislead you.

Can rebalancing improve my returns?

Its primary job is controlling risk, by keeping your mix at the level you chose. It can add a modest benefit by systematically trimming what rose and adding to what lagged, but treat any return improvement as a possible bonus, not the purpose.

Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.

Methodology note: Quantitative target-variance portfolio optimization algorithms.

Related calculators

Category: Investments & Retirement Calculators

About this calculator

Left alone, a portfolio drifts: the classes that perform best grow heavier, and the mix you chose slowly becomes a mix the market chose for you — usually riskier, because rallies inflate the stock side. Rebalancing is the disciplined correction, and this calculator turns it into exact orders. Enter the current balance and target percentage for US stocks, international stocks, bonds, and cash, and it returns the precise buy, sell, or hold instruction for each class, in dollars, needed to restore your targets. It is built for a scheduled review — annual, or when a class has wandered far from plan — when you want trades decided by arithmetic rather than by headlines.

How it works

The tool totals the four balances, converts each target percentage into a target dollar value for that class, and subtracts the current balance. A positive difference is money to buy, a negative difference is money to sell, and a difference within five dollars either way is treated as already on target. It also validates the plan before trusting it: if your targets do not add to 100 percent, the page warns you, because trade instructions built on an incomplete allocation would move money toward the wrong destination. Every class is handled independently, so the complete set of orders always nets to zero across the portfolio.

The formula, explained

Target value = Total portfolio value × Target % ÷ 100; Trade = Target value − Current value (positive = BUY, negative = SELL)

The engine sums the class balances with negatives treated as zero, checks that the target percentages total 100 within half a point, and marks the plan invalid if they do not. For each class it computes the current percentage of the total (rounded to one decimal), the target value as total times target percent over one hundred, and the signed difference between target and current. The action follows fixed thresholds: a difference above five dollars is a buy, below negative five dollars a sell, and anything between is a hold — a deliberate tolerance that keeps trivial gaps from generating trades. Current values, target values, and differences are all rounded to cents in the output.

Inputs and variables

VariableMeaningExample
US Equities — Current Balance & TargetThe largest growth engine in most portfolios and usually the class that drifts furthest upward after strong years, making it the most common source of sell orders.$68,000 current / 60% target
International Equities — Current Balance & TargetDiversifying stock exposure outside the US. Because its returns follow a different cycle, it is frequently the underweight class a rebalance directs money into.$12,000 current / 15% target
Fixed Income & Bonds — Current Balance & TargetThe stability layer. After a stock rally it is often underweight in percentage terms even if its balance never fell, which produces buy orders funded by trimming stocks.$15,000 current / 20% target
Cash / High-Yield Reserves — Current Balance & TargetThe most liquid slice, held to target for near-term spending or opportunity. A cash balance exactly on target generates a hold instruction, as it should.$5,000 current / 5% target
Target Allocation TotalThe sum of all target percentages, which must equal 100% for the instructions to describe a complete portfolio. The page reports this total live as targets are edited.100% total

Worked example

After a strong year for US stocks, an investor holds $68,000 in US stocks, $12,000 in international stocks, $15,000 in bonds, and $5,000 in cash, against targets of 60%, 15%, 20%, and 5%.

  1. Total portfolio value: $68,000 + $12,000 + $15,000 + $5,000 = $100,000, and the targets sum to exactly 100%, so the instructions are valid.
  2. Current weights: US stocks 68%, international 12%, bonds 15%, cash 5% — the rally pushed US stocks eight points past target.
  3. Target values on $100,000: US stocks $60,000, international $15,000, bonds $20,000, cash $5,000.
  4. Orders: SELL $8,000 of US stocks; BUY $3,000 of international stocks; BUY $5,000 of bonds; HOLD cash, which already sits exactly on target.
  5. Check the set nets out: the $8,000 sale exactly funds the $3,000 and $5,000 purchases, leaving the total at $100,000.

On a $100,000 portfolio: sell $8,000 of US stocks, buy $3,000 of international stocks, buy $5,000 of bonds, and hold cash — restoring the 60/15/20/5 target mix.

Notice what the discipline just did: it sold the asset that had been winning and bought the two that had lagged, at the moment instinct argues the opposite. That contrarian mechanics is the point — rebalancing enforces buy-low, sell-high behaviour without requiring any market prediction, and its deeper function is risk control: the portfolio that drifted to 68% stocks was carrying measurably more risk than its owner had chosen. The $8,000 trade is not a forecast that US stocks will fall; it is a refusal to let last year’s rally rewrite the plan.

Understanding your results

Read the order list as a risk statement before reading it as trades. In the example, the entire correction exists because one class outran its target — the portfolio had become a 68%-stock portfolio wearing a 60%-stock plan’s clothing. Restoring the target does not primarily chase return; back-tests argue endlessly about a small rebalancing bonus, but no one disputes that it keeps the portfolio’s behaviour matched to the risk its owner actually selected and can tolerate through a downturn.

The hold instruction is a result, not an omission. Cash sitting exactly on target earns a hold because the engine tolerates differences within five dollars, and a good rebalancing habit respects that tolerance at larger scales too: many investors act only when a class is five percentage points off target. Executing every small correction the moment it appears converts a discipline into a source of spreads, possible taxes, and endless tinkering — the opposite of the calm the process is meant to create.

Assumptions and limitations

The instructions are arithmetic, not tax or account advice: the engine works on combined balances and cannot see whether a class sits in a taxable account, where a sell order can realize a gain, or in a retirement account, where it cannot — and it makes no allowance for directing new contributions toward underweight classes instead of selling, often the cheaper correction. It also treats each broad class as one holding, so it cannot rebalance within a class, and it prices no commissions, spreads, fund minimums, or trading restrictions. The five-dollar hold tolerance is a display convenience, not a recommended drift band. Decide the account-level route for each order — sale, contribution steering, or dividend redirection — before placing any trade.

Common mistakes to avoid

Sources