Forty fully-worked UK tax and pension calculations for 2026/27. Each example shows the scenario, the step-by-step calculation, and the result — so you can verify our calculators yourself or apply the maths to your own situation. Organised by topic; use the navigation to jump to the relevant section.
This is the reference library for every calculation methodology used across UK Tax Drag's calculators. Each worked example uses 2026/27 tax-year figures (Personal Allowance £12,570, basic rate 20% to £50,270, higher rate 40% to £125,140, additional rate 45%, NI Class 1 employee 8% on £12,570–£50,270 + 2% above, CGT £3,000 allowance + 18%/24% rates, Dividend Allowance £500, etc.). Click any link below to jump to a topic.
Must also be within "100% of relevant earnings" rule
Example 23 — Carry-forward × taper interaction
Inputs: 2026/27 adjusted income £350k → AA tapered to £15k. Unused prior 3 years total £40k (no taper applied in those years).
2026/27 tapered AA
£15,000
Plus carry-forward from 3 prior years
£40,000
Total available for 2026/27
£55,000
ISA strategy (2 worked examples)
Example 24 — LISA penalty calculation (25-year-old early withdrawal)
Personal contributions over 4 years
£16,000
Government bonus (25% × £16,000)
£4,000
Total LISA pot at age 25
£20,000
Early withdrawal (not first home / not retirement / not terminal illness)
Penalty: 25% × £20,000
£5,000
Net withdrawal received
£15,000
Effective loss vs personal contributions
£1,000 loss
Example 25 — Junior ISA growth to age 18
Inputs: £200/month from age 0 to 18. 7% annual return.
Total contributions over 18 years
£43,200
Final value at 7% annual compound
~£89,000
Tax-free at child's 18th birthday
Tax-free
State pension top-up (2 worked examples)
Example 26 — Voluntary Class 3 NI worth it?
Annual cost of Class 3 NI (2026/27)
£956.80
Adds to State Pension: 1/35 × £241.30/week × 52
£342/year
Payback period (£959.40 / £342)
~2.8 years post-State-Pension
20-year retirement payback
~£6,840 lifetime increase vs £959 outlay
Example 27 — Class 2 NI buyback (cheaper option for self-employed)
Class 2 NI weekly rate (when applicable)
£3.65
Annual cost
£179.40
Same State Pension addition: 1/35 of full new SP
£342/year
Payback period
~0.5 years (6 months)
NI calculations (2 worked examples)
Example 28 — Employee Class 1 NI at £42k
Salary
£42,000
NI: 8% × (£42,000 − £12,570) = 8% × £29,430
£2,354.40
Example 29 — Self-employed Class 4 NI at £45k profit
Profit (taxable trading profit)
£45,000
Class 4 NI: 6% × (£45,000 − £12,570)
£1,945.80
Class 2 NI: now £0 (abolished from April 2024)
£0
Total NI
£1,946
Marriage Allowance (2 worked examples)
Example 30 — Standard claim (£10k income spouse + £30k spouse)
Lower-income spouse: PA £12,570 used by £10k → £2,570 spare
Transfer £1,260 to higher-income spouse
Higher-income spouse PA effective: £12,570 + £1,260 = £13,830
Tax saving: 20% × £1,260
£252
Annual saving for the couple
£252
Example 31 — Retrospective 4-year claim
Same situation, claim back to 2022/23 tax year
Saving per year
£252
Years claimable retrospectively (2022/23, 2023/24, 2024/25, 2025/26)
4 years
Backdated lump sum repayable
£1,008
Plan 5 student loans (2 worked examples)
Example 32 — Plan 5 repayment at £35k salary
Salary
£35,000
Plan 5 threshold
£25,000
Amount above threshold
£10,000
Repayment: 9% × £10,000
£900/year
Monthly
£75
Example 33 — Plan 5 repayment at £55k salary
Salary
£55,000
Above threshold
£30,000
Repayment: 9% × £30,000
£2,700/year
Monthly
£225
Tax codes (2 worked examples)
Example 34 — Standard 1257L vs BR comparison on £30k
Code
Tax on £30k
1257L (correct)
20% × (£30k − £12,570) = £3,486
BR (incorrect — second job behaviour)
20% × £30k = £6,000
Annual over-deduction on BR
£2,514
Example 35 — K-prefix code with £2,000 deduction (e.g. BIK)
Code: K200 → PA reduced by £2,000
£2,000 deduction
Effective PA: £12,570 − £2,000
£10,570
Salary £30,000
Tax: 20% × (£30,000 − £10,570)
£3,886
vs 1257L: £3,486
Extra tax due to K200 code
£400
Gilt yield + return (2 worked examples)
Example 36 — Low-coupon gilt to maturity (CGT-exempt)
Inputs: TG27 (Treasury 0.25% 2027), bought at £93.50 in May 2026, matures Jan 2027 (~8 months).
Purchase: £93.50 per £100 nominal × 10 (i.e. £1,000 nominal)
£935
Coupons received until maturity (Jan 2027)
£1.25
Coupon tax: 40% (higher rate, above PSA): −£0.50
−£0.50
Net coupon retained
£0.75
Maturity proceeds (par): £1,000 × £100/£100
£1,000
Capital gain (£1,000 − £935): £65 (CGT-EXEMPT for gilts)
£65 tax-free
Total return on £935 over 8 months
£65.75 (~7.05%)
Annualised return
~10.6% (annualised)
Example 37 — Higher-coupon gilt (more coupon, less capital gain)
Inputs: TN26 (Treasury 4% 2026), bought at £99.55, matures Mar 2026 (~10 months).
Purchase: £99.55 × 10 = £995.50
£995.50
Annual coupon: 4% × £1,000 nominal
£40
Coupon over 10 months: £40 × 10/12
£33.33
Coupon tax at 40%: −£13.33
−£13.33
Net coupon: £20.00
Maturity (par)
£1,000
Capital gain: £4.50 (tax-exempt)
£4.50
Total net return on £995.50
~£24.50 (2.46%)
Note: for a higher-rate taxpayer, the low-coupon gilt example (£0.75 coupon vs £20 coupon) is much more tax-efficient — most return is the tax-free capital gain.
CETV illustrative (1 worked example)
Example 38 — CETV at age 55 for £20k/year DB pension
Example 39 — Standard vs Flat Rate Scheme for service business
Inputs: £80,000 turnover ex-VAT. Service business with minimal VAT inputs (£3,000 of allowable expenses).
Standard VAT:
Output VAT: 20% × £80,000
£16,000
Input VAT reclaim: 20% × £3,000
−£600
VAT paid to HMRC
£15,400
Flat Rate Scheme (Limited Cost Trader at 16.5%):
VAT charged on £96k (inc VAT): 16.5% × £96,000
£15,840
1% first-year discount: 15.5% × £96,000
£14,880
Year 1 saving: £15,400 − £14,880
£520
Crypto CGT (1 worked example)
Example 40 — Crypto disposal with section 104 pooling
Inputs: Bought 0.5 BTC at £20,000 (March 2023); 1 BTC at £30,000 (October 2024); sold 0.75 BTC at £45,000 each (March 2026).
Total BTC purchased: 1.5 BTC for £20k + £30k = £50,000 total cost
Section 104 average cost per BTC
£33,333
Sold 0.75 BTC at £45,000 each: proceeds
£33,750
Cost basis: 0.75 × £33,333
£25,000
Gain: £33,750 − £25,000
£8,750
Less CGT allowance
£3,000
Taxable gain
£5,750
CGT at 24% (higher rate)
£1,380
Remaining pool: 0.75 BTC × £33,333
£25,000 cost basis
How to use this library
Verify any UK Tax Drag calculator by following the methodology shown in the matching worked example.
Use as a teacher reference for KS5 + university financial education.
Use as a learner reference to understand the maths behind your own payslip, tax return, or pension contribution.
Each example uses 2026/27 tax-year figures — verify against current HMRC published rates if reading after April 2027.
Sources + methodology
All figures use HMRC published rates for 2026/27 tax year (Personal Allowance £12,570; basic rate band £37,700; higher rate to £125,140; additional rate above; CGT allowance £3,000; Dividend Allowance £500; etc.). Pension annual allowance £60,000 with taper above £260,000 adjusted income. Plan 5 student loan threshold £25,000, rate 9%. Child Benefit figures from 2026/27 published rates (£26.05/week for first child, £17.25 each additional). Each example links to the relevant deep-dive page. The site methodology documents review process.
Every page is reviewed against the editorial standards, written from primary sources, sourced openly, and corrected publicly. No affiliate revenue. No sponsored content. No paid placements.