Skip to the tool
Priostack Apps

Asset allocation calculator

What to buy and sell to bring your portfolio back to its target weights.

Asset allocation

Your holdings
RowHoldingValue nowTarget weightWeight nowTradeAmountActions
What do you want to do?

Optional when you rebalance: leave it empty if you are not adding any.

£

In percentage points either side of the target. With 5, a holding aimed at 60% is within the band from 55% to 65%.

pts

Total to buy

—

Enter what each holding is worth now and its target weight to see what to buy and sell.

Total to sell
—
Portfolio value now
—
Value afterwards
—
Largest gap afterwards
—

Each holding after the trades

Nothing to show yet.

Recent calculations

Nothing yet: copy, export or save a calculation to find it here.

Start a new portfolio?

Every holding and amount you entered will be deleted from this device. To keep this calculation, export it as CSV or save it first.

How it works

List your holdings, what each is worth today and the share of the portfolio you want it to be. The calculator shows each holding's current weight and what to buy or sell to bring it back to target, to the penny. You can rebalance fully, invest new money without selling anything, or take money out by selling only what is above target. It works for any mix: shares, bonds and cash, funds in an ISA or a pension, or a general investment account. Your figures stay on this device unless you save them.

Enter your holdings

One line per holding or asset class, with its value today and its target weight. The target weights must add up to 100%. Leave the value empty for a fund you want to start buying, and give a target of 0% to anything you want to sell completely.

Choose what to do

Rebalance buys and sells so that every holding ends exactly on its target. Invest puts new money in without selling: it goes first to the holding furthest below its target, then to the next ones as they draw level. Withdraw takes money out by selling only, starting with the holding furthest above its target. If the amount cannot bring every holding back to its target, the calculator says so and, when you invest, shows how much new money would.

Set a band if you use one

If you only rebalance once a holding has drifted a set number of percentage points from its target, enter that band and the calculator counts the holdings outside it. A holding aimed at 60% with a band of 5 points stays within it anywhere from 55% to 65%.

Check the cost before you trade

Look up your platform's dealing charges for each sale and purchase. Outside an ISA, a sale can make a gain liable to Capital Gains Tax; directing new money to the holdings that are behind keeps sales down. Copy the result, export it as a CSV file or save it to Priostack.

Weight now = value of the holding ÷ value of the portfolio.

Value afterwards = value now + new money invested (or − money withdrawn).

Target amount = value afterwards × target weight.

Rebalance: trade = target amount − value now (positive: buy; negative: sell).

Invest without selling: the new money fills the largest shortfalls first, so the holdings it buys all end the same amount below their target. Withdraw by selling only: the mirror image, from the largest excesses.

Gap = weight − target weight, in percentage points.

Amounts are rounded to the nearest penny, a half penny rounding up. If the rounded target amounts would then add up to more or less than the portfolio, the pennies over or short are settled one per holding, on the holdings closest to the half-penny, so the totals always match.

Example: bringing a 60/30/10 portfolio back on target

You hold £7,000.00 of shares, £2,500.00 of bonds and £500.00 of cash, £10,000.00 in all, against targets of 60%, 30% and 10%. Shares now weigh 70%, 10 points over. A full rebalance sells £1,000.00 of shares and buys £500.00 of bonds and £500.00 of cash. Without selling, £1,000.00 of new money would go £600.00 to bonds and £400.00 to cash and leave shares at 63.64%; it would take £1,666.67 of new money to reach every target without a sale.

Frequently asked questions

How do I rebalance my portfolio?

Work out each holding's weight, compare it with its target, then buy what is under and sell what is over until each one is back on target. In the example above, a portfolio that has drifted to 70/25/5 goes back to 60/30/10 by selling £1,000.00 of shares and buying £500.00 each of bonds and cash. The calculator does the arithmetic for up to 20 holdings.

Can I rebalance without selling anything?

Yes, with new money: choose Invest and enter the amount. It goes to the holdings below target, the furthest behind first. Whether it is enough depends on how far the portfolio has drifted, and the calculator shows the amount that would reach every target with no sale. A holding with a 0% target can only be removed by selling it.

Will rebalancing mean paying tax?

Selling shares or fund units held outside an ISA can make a gain liable to Capital Gains Tax. You only pay it on your overall gains above the tax-free allowance, which GOV.UK gives as £3,000 (checked on 11 November 2026). You do not pay Capital Gains Tax when you sell shares held in an ISA. Buying makes no gain, which is one reason to rebalance with new money where you can.

Which allocation should I choose?

This calculator does not choose one for you: it works out the trades for the weights you set. The FCA's InvestSmart guide describes diversification as spreading your money across investments that do not rely on the same things to do well at the same time. For a recommendation that fits your situation, speak to a regulated financial adviser.

Is a gap a percentage or a number of percentage points?

Weights are percentages of the portfolio, so the gap between two weights is in percentage points. A holding at 63% against a target of 60% is 3 points over; relative to its target, that is 5% more, which is a different figure. The gaps and the band on this page are always in points.

Sources

  1. FCA InvestSmart: Diversification (16 May 2025)
  2. GOV.UK: Tax when you sell shares, what you pay it on (shares in an ISA) (30 September 2026)
  3. GOV.UK: Capital Gains Tax allowances (the Annual Exempt Amount) (2 October 2026)

This calculator gives general information, not legal, tax, financial or accounting advice. It does not recommend an allocation or any investment, and it does not know your charges or your tax position. The value of investments can fall as well as rise.

Last reviewed: