Your annual portfolio rebalancing feels straightforward: sell overweight assets, buy underweight ones. But as a UK investor, did you realise the order of those trades can decide whether you pay capital gains tax? A Portfolio Rebalancing Spreadsheet solves the rebalancing maths. This guide shows you how to build one in Excel, with the columns and formulas to copy, and how to use its numbers to plan a tax-aware order of trades across your ISA, SIPP and general investment account. The spreadsheet does the arithmetic; the checklist in step 3 is where you make the tax calls. No technical expertise needed: just follow the guide.
What is Portfolio Rebalancing? (And Why the Order of Trades Matters)
Picture this: you carefully build an investment portfolio, allocating specific percentages to UK equities, global funds, and bonds. Fast forward a year. Your UK shares have surged, while bonds lagged. Suddenly, your carefully planned 60% equity allocation has ballooned to 75%, significantly increasing your portfolio's risk profile. This drift happens constantly due to differing market performance. Portfolio rebalancing is the essential process of buying and selling assets to bring your portfolio back in line with your original target allocations. It’s fundamental risk management, ensuring your investments don't stray too far from your intended strategy and risk tolerance.
The core concept is simple: calculate the difference between your current holdings and your targets, then trade to close the gap. A spreadsheet does that maths in seconds. What it cannot do is decide which account to trade in, and for UK investors that choice decides the Capital Gains Tax (CGT) bill.
Here's the challenge: every sale of an asset outside of a tax wrapper like an ISA potentially triggers a CGT liability. The UK's annual CGT exempt amount is £3,000 (2026/27), with gains above this taxed at 18% (basic rate) or 24% (higher rate). Buying shares in UK-incorporated companies (AIM shares aside) also incurs a flat 0.5% Stamp Duty Reserve Tax (SDRT), whichever account you buy in. A naive approach, simply selling winners to buy underperformers, can generate unnecessary tax bills and transaction costs. This complexity is a major reason many investors avoid rebalancing regularly; the perceived tax and cost hurdles feel too high.
This is where planning comes in. Before you place the trades your sheet suggests, work through four questions:
- Can new money do the job? Direct fresh deposits (like monthly savings) towards underweight assets first, avoiding sales and thus CGT.
- Can you trade inside a wrapper? Sales inside an ISA or SIPP carry no CGT, so rebalance there first where you hold the right assets.
- Are there losses to use? A GIA holding below its purchase price can be sold to realise a loss that offsets gains elsewhere in the same tax year.
- What will you buy? UK shares (other than AIM shares) and investment trusts cost 0.5% SDRT to buy, inside an ISA or not; most funds and ETFs don’t.
Answering those questions is the step most investors skip, and the fear of triggering tax is a common reason people don’t rebalance at all. Done this way, you keep your target allocation, crucial for managing risk as explained in our guide on Markowitz Portfolio Optimisation: Plain English, at the lowest tax cost your accounts allow.
Regular rebalancing, done efficiently, is vital for long-term success. It enforces the discipline of “selling high” (trimming winners) and “buying low” (adding to laggards), which can enhance returns and reduce volatility over time, improving metrics like the Sharpe Ratio. Don't let tax complexity paralyse you. Use our portfolio rebalancing calculator to measure drift and your own spreadsheet to plan the trades, keeping your portfolio on track and your tax bill down. Explore more Free Tools to support your investment journey.
Why Manual Rebalancing Spreadsheets Still Matter for UK Investors
While institutional wealth managers increasingly automate rebalancing, self-directed UK investors often find spreadsheets indispensable. A well-built spreadsheet offers three compelling advantages for DIY investors: privacy (your data stays offline), flexibility for modelling complex scenarios, and cost accessibility. Unlike subscription-based platforms, a well-built rebalancing spreadsheet costs nothing and adapts to your unique financial life, whether projecting retirement income or checking tax outcomes after a career change.
Spreadsheets typed up from scratch are prone to calculation errors; a fixed layout with tested formulas cuts that risk. The tax side needs your judgement, because the rules interact:
- ISA vs. taxable accounts: Gains and dividends inside an ISA are free of tax, and you can add up to £20,000 a year. Trades inside the ISA don’t use any of that allowance; only new money does.
- Capital Gains Tax thresholds: The annual exempt amount is £3,000 (2026/27). Gains above it are taxed at 18% within the basic-rate band and 24% above it, so £1,000 of gain over the exempt amount costs £180 or £240.
- Dividend tax efficiency: Above the £500 dividend allowance, GIA dividends are taxed at 10.75%, 35.75% or 39.35% (2026/27), which is why income-producing holdings often sit better inside an ISA.
- Stamp Duty Reserve Tax (SDRT): Buying UK shares (other than AIM shares), investment trusts included, costs 0.5%, in an ISA or SIPP as much as in a GIA. Most funds and ETFs carry no SDRT on purchase.
For example, imagine rebalancing a £100,000 portfolio split between an ISA and a taxable account, with the same UK equity fund held in both. Selling £5,000 of it in the taxable account might trigger CGT. Selling it inside the ISA, and buying bonds there, makes the same change with no CGT at all. A spreadsheet that lists each holding by account makes that choice visible before you trade. In Google Sheets, the GOOGLEFINANCE function can refresh share and ETF prices (delayed by up to 20 minutes).
A clear layout and tested formulas bring some of a professional’s discipline to a DIY portfolio. For deeper strategy insights, explore our guide to Markowitz portfolio optimisation or use our portfolio calculator to see your current allocation by asset class. While advanced tools exist, spreadsheets remain the Swiss Army knife for UK investors: free, private, and infinitely adaptable.
Why this works for UK investors: A sheet built this way puts the numbers HMRC’s rules depend on (book cost, the gain on each planned sale, the exempt amount left) next to each trade, so you see the tax before you act. Check the long-term picture with our retirement calculator or evaluate efficiency using the Sharpe ratio. For more tools, visit our free resources hub.
Step-by-Step: Building and Using the Excel Template
There is no file to download: the template is the two-tab layout below, which takes about ten minutes to set up in Excel or Google Sheets.
1. Input Your Holdings and Targets Create a tab called Holdings, with one row per holding per account, covering your ISAs, SIPPs and GIAs (General Investment Accounts):
| Column | What goes in it | Formula (row 2) |
|---|---|---|
| A: Account | ISA, SIPP or GIA | typed |
| B: Holding | Fund or share name | typed |
| C: Asset class | e.g. Global equities, Bonds | typed |
| D: Value (£) | Current value | typed, or a price formula |
| E: Book cost (£) | GIA only: what you paid, from your platform | typed |
| F: Unrealised gain (£) | GIA only | =IF(A2="GIA",D2-E2,"") |
| G: Planned sale (£) | Filled in at step 3 | typed |
| H: Gain if sold (£) | GIA only | =IF(AND(A2="GIA",G2>0),G2*(D2-E2)/D2,0) |
Then create a tab called Allocation, with one row per asset class (rows 2 to 10 in these formulas):
| Column | What goes in it | Formula (row 2) |
|---|---|---|
| A: Asset class | The same names as on Holdings | typed |
| B: Target % | e.g. 60% | typed |
| C: Current value (£) | That class’s total | =SUMIF(Holdings!C:C,A2,Holdings!D:D) |
| D: Current % | Its share of the portfolio | =C2/SUM($C$2:$C$10) |
| E: Drift | Current minus target | =D2-B2 |
| F: Trade to target (£) | Positive buys, negative sells | =B2*SUM($C$2:$C$10)-C2 |
Copy each formula down its column. If you use Microsoft 365, the Excel Stocks data type can fill in share prices; in Google Sheets, GOOGLEFINANCE does the same for many listed shares and ETFs. Many UK prices are quoted in pence, so divide by 100 where needed, and type in prices for funds that aren’t listed.
2. Calculate Portfolio Drift The Drift column compares your current allocations with your targets. For example, if your UK equity allocation has risen from 30% to 36% after a rally, it shows 6%, and Trade to target gives the pounds to sell. Conditional formatting that colours any drift beyond 5 points either way makes the outliers obvious. If you would rather not set up a sheet at all, our portfolio rebalancing calculator does the same comparison in the browser and returns the buy/sell amount for each holding.
3. Plan the Order of Trades The sheet tells you what to trade. The order is yours to plan, and it is where tax is saved. Work through this checklist:
- New money first: if you are adding cash this year, put it into the underweight asset class before selling anything.
- Trade inside wrappers next: sales inside an ISA or SIPP carry no CGT, so do as much of the rebalance there as your holdings allow.
- Then the GIA, smallest gains first: enter planned sales in column G and read column H. Keep the year’s net gains, including any from earlier in the tax year, within the £3,000 exempt amount (2026/27) where you can; gains beyond it face 18% or 24%. A cell outside column H holding
=3000-SUM(H:H)shows how much of the exempt amount your plan leaves, before any earlier gains. - Use losses deliberately: a GIA holding below its book cost can be sold to realise a loss that offsets gains. HMRC matches a sale first with any purchase of the same holding that day, then with purchases in the following 30 days, and only then with your Section 104 pool. So buying the same holding back in the GIA within 30 days can change or defer the pool-based loss you meant to realise, and you would need to work out the matched figure before relying on it; a similar fund, or buying it inside your ISA (“Bed and ISA”), avoids that.
- Check the buy side for stamp duty: UK shares and investment trusts cost 0.5% SDRT to buy in any account (AIM shares are exempt); most funds and ETFs don’t.
Column H uses each row’s own book cost, which matches HMRC’s figure only when one GIA holds all your shares or units of that holding. If the same fund or share sits in GIAs at two platforms, HMRC pools them into one average cost (the Section 104 pool), so work out the gain from the combined cost instead. HMRC’s figure can also differ for accumulation units, or when you buy the same holding again within 30 days of selling, so check before a large sale.
Why This Sequencing Matters Imagine your portfolio needs £5,000 shifted from equities to bonds, and the same equity fund sits in both your ISA and your GIA. If the GIA holding has doubled since you bought it, selling £5,000 of it realises a £2,500 gain: most of your £3,000 exempt amount, or up to £600 of tax at 24% if you have already used it. Selling the ISA holding and buying bonds inside the ISA does the same rebalance with nothing taxable.
This can avoid a needless tax bill, turning rebalancing into a quiet tax-saving habit. For deeper strategy insights, see our guide to Markowitz Portfolio Optimisation: Plain English.
Final Checks Verify trade sizes against your annual ISA allowance and the gains you have already realised this tax year. Use our portfolio rebalancing calculator to double-check the buy and sell amounts, or explore other Free Tools like our Compound Interest Calculator. Remember: while spreadsheets simplify rebalancing, complex portfolios may benefit from professional tools.
For ongoing optimisation, bookmark our Sharpe Ratio Explained: A UK Investor's Guide to measure risk-adjusted returns. Ready to start? Build your sheet from the steps above, and to see your ISA, SIPP and GIA side by side, import your broker files into ARIA PM.
Real-World UK Examples: Planning the Trades
These examples use the sheet’s numbers and the checklist above, with 2026/27 tax rates.
1. The £100k Mixed ISA/GIA Portfolio Your £100,000 portfolio targets 60% global equities and 40% bonds. Your ISA holds £40,000 of a global equity ETF; your General Investment Account (GIA) holds £20,000 of the same ETF and £40,000 of a bond fund, each bought at those values. After a fall in shares, the ETF is worth £36,000 in the ISA and £18,000 in the GIA (a £2,000 unrealised loss), while the bond fund has risen to £44,000 (a £4,000 unrealised gain).
Equities are now £54,000 of £98,000, or 55.1%. The Allocation tab says: buy £4,800 of equities and sell £4,800 of bonds.
- With new money: £12,000 of fresh ISA money put into the ETF restores 60/40 without selling anything (£66,000 of £110,000).
- Without new money, and no other gains this year: sell £4,800 of the bond fund in the GIA and buy the ETF. Column H shows a gain of about £436 (£4,800 × £4,000 ÷ £44,000), inside the £3,000 exempt amount, so CGT owed: £0.
- If the exempt amount is already used (say, on a £3,000 gain earlier in the year), that £436 would cost about £79 at 18% or £105 at 24%. Selling the GIA ETF as well, at its £2,000 loss, and buying a different global tracker with the proceeds (and with the £4,800 from the bonds, rather than the same ETF, so HMRC’s same-day and 30-day matching rules don’t change the loss) sets the loss against your gains. The year’s net gains fall to £1,436, back inside the exempt amount, so CGT owed: £0.
2. Platform Exports: The Interactive Investor Workflow Most UK platforms, Interactive Investor among them, let you download your account data as a CSV file. Paste the current values into the Holdings tab each quarter instead of retyping them. Suppose this quarter’s rebalance needs £5,000 more in UK equities:
- Buying individual UK shares that are not AIM-listed costs 0.5% SDRT, £25 on £5,000, whichever account you buy in, ISA and SIPP included.
- A UK equity index fund or ETF carries no SDRT on purchase.
- The account decides the future tax, not the stamp duty: bought inside your ISA, gains and dividends on that £5,000 are tax-free.
For a GIA-heavy investor, making new purchases inside the ISA, as far as the £20,000 allowance allows, does more for the long-term tax bill than any trade order.
3. Dividend Drift: The Silent Portfolio Killer Dividends reinvested in your GIA gradually skew allocations. Correcting that by selling appreciated assets realises gains. Instead:
- Set a "drift tolerance" band, so small drifts don’t trigger trades.
- Take dividends as cash and use it to buy underweight assets (e.g., topping up bonds with £500 of dividends) instead of forcing a sale; the calculator's contribution-only mode works out exactly that split for you.
- Only sell as a last resort, minimising CGT events.
Dividends received in a GIA are taxable above the £500 allowance, at 10.75% (basic), 35.75% (higher) or 39.35% (additional rate) in 2026/27. A basic-rate investor with £10,000 of GIA dividends pays 10.75% on the £9,500 above the allowance, about £1,021 in dividend tax. Holding income-producing assets inside an ISA instead removes that tax entirely, and a row for dividend cash in your sheet shows how much rebalancing it can do before you sell anything.
Small Savings Compound Tax saved each year compounds like any other return: a £100,000 portfolio avoiding £500/year in unnecessary taxes, with that £500 reinvested each year, grows to roughly £6,900 more over 10 years (at 7% returns) than one that pays it.
For deeper strategy, see our guide on Markowitz Portfolio Optimisation or check your allocation weights with our Portfolio Calculator. Explore all Free Tools to maximise your tax efficiency.
5 Costly Rebalancing Mistakes (and How to Avoid Them)
Rebalancing isn't just about percentages; it's a tax minefield for UK investors. Here’s how common errors erode returns, and how the spreadsheet and checklist help you avoid them:
Triggering Unnecessary CGT by Selling Winners First: Selling appreciated assets in your General Investment Account (GIA) first can create an immediate Capital Gains Tax bill. Gains above your £3,000 annual exempt amount are taxed at 18% or 24%. Many investors sell winners instinctively, using up the exempt amount on gains a different order would have avoided. The fix: Enter planned sales in column G and read the gain in column H before you trade. Sell holdings with small gains, or losses, first, and keep the year’s net gains within the exempt amount where you can.
Ignoring Tax-Wrapper Differences: Treating ISAs and GIAs the same is a costly error. Selling assets within an ISA is tax-free, while selling in a GIA can trigger CGT. Also, dividends in a GIA are taxable (after the £500 allowance), unlike in an ISA. Manual rebalancing often overlooks this, leading to unnecessary GIA transactions. The fix: The Account column keeps every holding’s wrapper in view. Do as much of the rebalance inside your ISA or SIPP as your holdings allow, and only then turn to the GIA. Trades inside an ISA don’t use any of your annual allowance; only new money does.
Manual Calculation Errors: Calculating target trades across multiple accounts and asset classes manually is complex. Errors like misallocating funds, miscalculating percentages, or overlooking fees are common, leading to over/under-trading, unintended risk exposure, or tax inefficiency. The fix: Formulas, not mental arithmetic. Enter your holdings and targets once, and the sheet calculates the buy or sell for each asset class from current values; check that the trades net to zero before you place them. For deeper analysis, pair it with our Portfolio Calculator.
Infrequent Rebalancing: Many investors never rebalance to a set schedule. Letting your portfolio drift significantly increases risk: your actual allocation may no longer match your intended strategy, potentially exposing you to more volatility than you can stomach. It also defers tax-saving opportunities like loss harvesting. The fix: The Drift column, with conditional formatting, shows which asset classes are over or underweight each time you update values. A quarterly or half-yearly calendar reminder to check it keeps your desired risk level, a core principle of Markowitz Portfolio Optimisation: Plain English.
Overlooking Loss Harvesting: Failing to realise losses in your GIA wastes a valuable tax tool. Losses offset capital gains in the same tax year, and unused losses can be carried forward indefinitely if you report them to HMRC within four years. Many investors forget to check for loss-making assets when rebalancing, missing this chance to reduce their tax liability. The fix: The Unrealised gain column shows every GIA holding below its book cost. When you rebalance, consider selling those first, and don’t buy the same holding back in the GIA within 30 days. Explore more Free Tools to enhance your strategy.
Planned this way, rebalancing stops being a source of avoidable tax: the spreadsheet does the arithmetic, and the checklist decides the order. For understanding how this impacts your risk-adjusted performance, see Sharpe Ratio Explained: A UK Investor's Guide.
Your Next Steps: Putting the Template to Work
Ready to rebalance with a plan? Follow these four steps. First, build the two tabs from the step-by-step section above. It takes about ten minutes, and the layout lasts for years.
Next, input your current holdings and target allocations. Include every investment in your ISA (tax-free wrapper), SIPP and General Investment Account (GIA), because the cheapest trade is often in a different account from the one that drifted. Keep in mind:
- Selling assets in your GIA could trigger Capital Gains Tax (CGT) if the year’s gains exceed your £3,000 annual exempt amount.
- Purchasing UK shares (AIM shares aside) incurs 0.5% Stamp Duty Reserve Tax (SDRT) in any account, and it adds up with frequent trades.
- Dividends in a GIA are taxed above your £500 allowance (10.75% to 39.35% in 2026/27), while ISAs shelter them entirely.
These rules point to moves like “sell bond funds with small gains in the GIA before equity ETFs with large ones” or “make new UK share purchases inside your ISA, where future gains are tax-free”.
Third, set quarterly or semi-annual review reminders. Consistency prevents portfolio drift: imagine your 60% equity allocation creeping to 70% after a market rally, exposing you to unnecessary risk. Regular check-ins let you correct course while using annual allowances. Use our portfolio rebalancing calculator to work out the adjustments stress-free.
Finally, always run the checklist before executing trades. It shows whether rebalancing through your ISA first, or harvesting GIA losses, saves more. One misstep, like selling a high-gain asset in your GIA when your exempt amount is used up, could cost hundreds in avoidable taxes.
You might wonder: with so much professional software available, why start with a spreadsheet? Precisely because DIY investors need simplicity. Complex software often overcomplicates basic rebalancing, while a sheet you built yourself shows every formula. With recent overhauls like the Financial Services and Markets Act 2023 handing the FCA more of the UK’s financial rule-making, taking control of your tax efficiency aligns with regulatory shifts toward transparency.
Consistency turns this into a habit that pays. A one-off £200 of CGT saved, reinvested and left to grow at 5% annual returns, becomes roughly £530 over 20 years. For deeper analysis, tools like ARIA PM automate survivorship bias adjustments and regime modelling. But for most investors, this template, paired with resources like our Sharpe Ratio Guide or Markowitz Optimisation Primer, is the simplest path to keeping more of your profits.
Start today. Your portfolio’s efficiency is just a spreadsheet away.
Key Takeaways
- A rebalancing spreadsheet you build yourself does the arithmetic: current weights, drift, and the trade needed for each asset class.
- The tax-aware order of trades is a manual step: new money first, then trades inside ISAs and SIPPs, then GIA sales.
- Book cost and a gain-if-sold column for GIA holdings let you keep the year’s net gains within the £3,000 CGT exempt amount.
- If you sell at a loss in a GIA, don’t buy the same holding back there within 30 days; a similar fund, or a Bed and ISA, keeps the loss.
- Stamp Duty Reserve Tax (0.5%) applies to most UK share purchases, investment trusts among them, in every account, ISA and SIPP included; most funds and ETFs don’t carry it.
| Feature | By Hand | With the Spreadsheet |
|---|---|---|
| Trade Sizes | Worked out by hand; easy to get wrong | Formulas give the buy or sell for each asset class |
| Account-Specific Rules | Prone to ISA/GIA/pension confusion | Account column keeps each wrapper in view; you apply the rules |
| Loss Harvesting | Difficult to spot opportunities | Unrealised gain column shows GIA holdings at a loss |
| CGT Exposure | Unknown until you sell | Gain-if-sold column and exempt amount left, before you trade |
| Time Required | Hours of calculations & cross-checks | Minutes once the sheet is set up |
| Privacy | Maintained (local spreadsheet) | Maintained (local Excel file) |
5 Costly Rebalancing Mistakes and Spreadsheet Fixes
| Mistake | Cost Implication | How the Spreadsheet Helps |
|---|---|---|
| Selling winners in GIAs first | Unnecessary Capital Gains Tax | Gain-if-sold column shows which sales realise least |
| Overlooking loss-harvesting chances | Missed tax offsets against gains | Unrealised gain column flags GIA holdings below book cost |
| Ignoring dividend cash during rebalance | Inefficient cash deployment | A dividend cash row counts it as new money |
| Manual calculation errors | Allocation drift & tax inefficiencies | Formulas compute weights and trade sizes |
| Treating accounts separately | Missed cross-account options | One holdings tab covering ISA, SIPP and GIA |
Sources
- FCA: InvestSmart — FCA's consumer investing hub covering diversification, risk management, and portfolio maintenance principles for UK investors.
- SEC: Rebalancing Your Portfolio — SEC investor bulletin explaining rebalancing mechanics, benefits, and strategic considerations.
- MoneyHelper: Investing — UK government-backed guidance on investing, asset allocation, and managing your portfolio.
- Vanguard UK: Principles for investing success — Vanguard's framework for disciplined investing, including rebalancing strategies and cost efficiency.
- Microsoft Support: Excel help & learning — Official documentation for Excel's financial tools and template customisation options.
- CFA Institute: Portfolio Rebalancing — Science and Techniques — Practitioner research summary on evidence-based rebalancing methodologies and thresholds.




