Trading Tax Calculator UK

Calculate your Capital Gains Tax across all trading activities — shares, CFDs, cryptocurrency, forex, and funds. Add multiple trades, offset losses, apply your £3,000 annual exempt amount, and see exactly what you owe HMRC. Updated for the 2026/27 tax year.

Trading Tax Calculator UK

Your Complete UK Trading Tax Picture

UK trading tax is surprisingly complex. Different instruments have different rules — shares attract stamp duty, spread bets are tax-free, crypto swaps count as disposals, and HMRC's share matching rules determine your cost basis. This calculator brings it all together in one place so you can see your total CGT liability across every asset class.

Trading Tax Calculator

Your Income (for CGT Rate)

Determines whether gains are taxed at 18% or 24%

Your Trading Gains & Losses

Shares & Funds

Use our Stock Profit Calculator for individual trade P&L

CFDs

Use our CFD Calculator for individual trade analysis

Cryptocurrency

Includes all disposals: sales, swaps, and spending

Forex CFDs & Other Assets

Forex spread bets are tax-free — enter only CFD forex here

Dividends (outside ISA/pension)

£500 dividend allowance applied automatically

Losses Carried Forward

Must have been registered with HMRC

Your 2026/27 Trading Tax Summary

Total Tax Due

£0

CGT: £0 + Dividend Tax: £0

Net Profit After Tax

£0

From total gross gains of £0

Capital Gains Tax Breakdown

  • Share/Fund Gains:£0
  • CFD Gains:£0
  • Crypto Gains:£0
  • Forex/Other Gains:£0
  • Total Gross Gains:£0
  • Total Losses Offset:0
  • Allowable Costs (funding):0
  • Net Gains:£0
  • Carried Forward Losses:0
  • Annual Exempt (£3,000):0
  • Taxable Gain:£0
  • @ 18% (basic):£0
  • @ 24% (higher):£0
  • CGT Due:£0

Dividend Tax

  • Total Dividends:£0
  • Dividend Allowance (£500):0
  • Taxable Dividends:£0
  • Dividend Tax Rate:8.75%
  • Dividend Tax Due:£0

Reporting Summary

  • Total Disposal Proceeds:£0
  • Self Assessment Required:Yes
  • Filing Deadline:31 Jan 2028
  • Unused Losses to Carry Forward:£0
ISA/Pension Tax Saving: If these gains had been inside an ISA or SIPP, you would have saved £0 in CGT and dividend tax. The ISA allowance is £20,000/year. Pension contributions also receive tax relief.

About This Calculation

This calculator provides a simplified estimate using 2026/27 CGT and dividend tax rates. It does not apply HMRC's share matching rules (same-day, 30-day, Section 104 pool) to individual transactions — enter your net gains/losses after applying these rules. For complex portfolios, consider using dedicated CGT software. Stamp duty paid is included in your cost basis, not shown separately as tax. For official guidance, see HMRC Capital Gains Tax. For tax advice, consult a qualified professional.

How UK Trading Tax Works

Trading tax in the UK depends on what you trade, how you trade it, and where you hold it. Understanding these three dimensions is the key to minimising your tax bill legally.

Capital Gains Tax

CGT applies to profits from selling shares, CFDs, crypto, and funds held outside an ISA or pension. For 2026/27, gains above £3,000 are taxed at 18% (basic rate) or 24% (higher rate). Losses can be offset against gains across all asset types. The rates apply uniformly since the October 2024 Budget aligned share/crypto rates with property.

Use our Stock Profit Calculator or CFD Calculator for individual trade P&L.

Dividend Tax

Dividends from shares held outside an ISA or pension are taxed above a £500 annual allowance. Rates for 2026/27: 8.75% (basic), 33.75% (higher), 39.35% (additional). The dividend allowance has been cut from £2,000 to £500 since 2023/24, meaning more investors now pay dividend tax.

Dividends inside an ISA or SIPP are completely tax-free, making tax-sheltered accounts essential for income investors.

Tax-Free Trading

Spread betting is completely tax-free — no CGT, income tax, or stamp duty. HMRC classifies it as gambling under BIM22017. ISA investments are CGT and dividend tax exempt. Pensions are CGT exempt with additional tax relief on contributions.

Use our Spread Betting Calculator to compare tax-free returns against taxable alternatives.

2026/27 Trading Tax Rates at a Glance

Tax by Instrument

InstrumentCGTStamp DutyLosses Offset
UK Shares18% / 24%0.5% on buyYes
CFDs18% / 24%NoneYes
Cryptocurrency18% / 24%NoneYes
Forex CFDs18% / 24%NoneYes
Spread BettingExemptNoneNo
ISA SharesExempt0.5%N/A
SIPP SharesExempt0.5%N/A
Annual exempt amount: £3,000. All rates apply from 6 April 2026. Source: HMRC CGT Rates

Dividend Tax Rates 2026/27

BandRate
Dividend Allowance£500 tax-free
Basic Rate (up to £50,270)8.75%
Higher Rate (£50,271–£125,140)33.75%
Additional Rate (over £125,140)39.35%

HMRC Share Matching Rules

When selling shares or crypto, HMRC matches disposals in order: 1) Same-day purchases, 2) Purchases in the next 30 days ("bed and breakfast" rule), 3) Section 104 pool (weighted average). This determines your cost basis for CGT. See HMRC matching rules.

Tax-Efficient Trading Strategies

Max Your ISA (£20,000/year)

The Stocks and Shares ISA is the most powerful tax shelter for investors. All gains and dividends are completely tax-free, with no reporting required. If you invest £20,000 per year and achieve 8% annual growth, after 20 years you'd have approximately £990,000 — entirely CGT-free. Use our Savings Calculator to project ISA growth.

Bed and ISA

Sell shares in your taxable account and immediately repurchase them inside your ISA. This uses your £3,000 annual exempt amount to crystallise gains and permanently shelters future growth. Most brokers automate this process. Over a 10-year period, systematically moving gains into your ISA can save tens of thousands in CGT.

Harvest Losses

Sell losing positions before the tax year end to offset gains. Unused losses can be carried forward indefinitely if registered with HMRC. The 30-day rule prevents repurchasing the same instrument, but you can buy a similar alternative to maintain exposure. Combine loss harvesting with bed and ISA for maximum efficiency.

Spouse Transfers

Transfers between spouses are CGT-free. Transfer assets to a lower-earning spouse before selling to use both £3,000 annual exempt amounts (£6,000 total) and potentially pay 18% instead of 24%. Both spouses also have separate ISA and dividend allowances. This is one of the simplest and most effective strategies available.

Pension Contributions from Gains

Large capital gains push you into higher tax brackets. Making pension contributions reduces your adjusted net income, potentially bringing you back below the higher rate threshold. If income is between £100,000 and £125,140, pension contributions restore your Personal Allowance — achieving an effective 60% tax relief. Use our Salary Sacrifice Calculator for additional NI savings.

Spread Bet Short-Term Trades

For short-term speculative trades, spread betting avoids CGT entirely. Use spread betting for shorter-term positions and ISA/SIPP for long-term investments. This dual approach maximises both tax-free growth and tax-free trading income. Compare with our Forex Calculator.

Frequently Asked Questions

Most UK trading profits are subject to Capital Gains Tax at 18% (basic rate) or 24% (higher rate) above a £3,000 annual exempt amount. This applies to shares, CFDs, cryptocurrency, and funds held outside an ISA or pension. Spread betting is the notable exception — it's completely tax-free. Dividends are taxed separately at 8.75%–39.35% above a £500 allowance. Use our specialist calculators for individual trade analysis: Stocks, CFDs, Forex, Spread Betting.

18% for gains within your unused basic rate band and 24% for gains above it. The annual exempt amount is £3,000. These rates apply to all assets since the October 2024 Budget aligned share and crypto rates with property rates. Business Asset Disposal Relief offers 18% on qualifying gains up to a £1M lifetime limit. See HMRC CGT rates.

Yes. HMRC treats crypto identically to shares for CGT purposes. Every sale, swap (including crypto-to-crypto), spend, or gift is a taxable disposal. Rates are 18%/24% above £3,000 exempt. HMRC's Crypto-Assets Manual governs all crypto tax. Mining and staking are typically taxed as income on receipt. Section 104 pooling with same-day and 30-day matching rules applies.

Yes, for UK retail traders. Spread betting profits are exempt from CGT, income tax, and stamp duty. HMRC classifies it as gambling. However, losses cannot offset other gains. For profitable traders, spread betting is the most tax-efficient method. Use our Spread Betting Calculator for comparisons.

Yes, for CGT-liable instruments. Capital losses from shares, CFDs, crypto, or funds can be offset against gains from any asset type in the same year. Unused losses carry forward indefinitely if registered with HMRC within 4 years via Self Assessment. The 30-day bed and breakfast rule prevents artificial loss creation. Spread betting losses cannot be offset.

HMRC matches disposals in order: 1) Same-day purchases, 2) Purchases in the following 30 days (bed and breakfast rule), 3) Section 104 pool (weighted average of all remaining holdings). This prevents tax avoidance through timed transactions. The same rules apply to crypto. See HMRC matching rules.

Report through Self Assessment if total disposal proceeds exceed £50,000, or if taxable gains exceed £3,000. The deadline is 31 January following the tax year (gains in 2026/27 by 31 Jan 2028). Property gains must be reported within 60 days of completion separately. For more on tax reporting, see our HMRC Pension Tax Calculator and Take-Home Pay Calculator.

Related Calculators

Stock Trading Profit

Individual share trade P&L with CGT and stamp duty.

Stocks

CFD Calculator

CFD profit, margin, costs, and CGT with loss offsetting.

CFDs

Spread Betting

Tax-free spread betting with P&L and margin analysis.

Spread Betting

Forex Profit

Pip value, P&L in GBP, and forex-specific tax treatment.

Forex

Pension Tax Relief

Reduce tax bill through pension contributions.

Tax Relief

Pension Tax Calculator

Annual allowance, taper, and withdrawal tax.

Pension Tax

Savings Calculator

ISA and cash savings compound growth projections.

Savings

Take-Home Pay

Understand your income after all deductions.

Take-Home

Minimise Your Tax, Maximise Your Returns

Understanding trading tax is the first step to keeping more of your profits. Combine ISA investing, pension contributions, loss harvesting, and the right trading method to build wealth as tax-efficiently as possible.

Disclaimer

This calculator provides simplified estimates based on 2026/27 CGT and dividend tax rates. It does not apply HMRC share matching rules to individual transactions — enter net gains/losses after applying same-day, 30-day, and Section 104 pool matching. For complex portfolios, use specialist CGT software or consult a qualified tax adviser. Tax treatment depends on individual circumstances and may change. This tool does not constitute tax advice. Sources: HMRC CGT, CGT Rates, Dividend Tax, HMRC Crypto Manual, Tax on Shares, MoneyHelper.

We use cookies to improve your experience on our site. You can accept or reject non-essential cookies. See our Cookie Policy.