Accounting

Gas Fees

Transaction fees paid on Ethereum and other blockchains; may be deductible as transaction costs when calculating net gains.

AustraliaAustralia
CanadaCanada
GermanyGermany
IndiaIndia
United KingdomUnited Kingdom
United StatesUnited States

Quick answer

Gas fees aren't just a cost of doing business — they can be added to your cost basis or deducted from proceeds to reduce your taxable gain.

Understanding Gas Fees on crypto

Gas fees are transaction costs paid to blockchain validators (miners or stakers) to process and confirm transactions on networks like Ethereum. They are denominated in the native token of the network (ETH for Ethereum, SOL for Solana, BNB for BSC). From a tax perspective, gas fees paid when acquiring crypto can be added to the cost basis of the acquired asset (increasing basis, reducing future gain). Gas fees paid when disposing of crypto can be subtracted from the proceeds (reducing the gain). Gas fees paid for failed transactions, for approvals, or for DeFi protocol interactions have different and less certain treatment.

Gas fees are transaction costs paid to blockchain validators (miners or stakers) to process and confirm transactions on networks like Ethereum. They are denominated in the native token of the network (ETH for Ethereum, SOL for Solana, BNB for BSC). From a tax perspective, gas fees paid when acquiring crypto can be added to the cost basis of the acquired asset (increasing basis, reducing future gain). Gas fees paid when disposing of crypto can be subtracted from the proceeds (reducing the gain). Gas fees paid for failed transactions, for approvals, or for DeFi protocol interactions have different and less certain treatment.

What this means for your crypto activity

Purchase gas fees

Gas fees on purchases: add to cost basis → reduces future capital gain.

Sale gas fees

Gas fees on sales: deduct from proceeds → reduces current capital gain.

DeFi interaction fees

Gas fees on DeFi protocol interactions (not purchases or sales) — treatment is less certain and varies by jurisdiction.

Failed transactions

Failed transaction gas fees may be deductible as investment expenses in some jurisdictions.

Active DeFi users

Cumulative gas fees for active DeFi users can be substantial — tracking them consistently reduces tax.

  • Gas fees on purchases: add to cost basis → reduces future capital gain.
  • Gas fees on sales: deduct from proceeds → reduces current capital gain.
  • Gas fees on DeFi protocol interactions (not purchases or sales) — treatment is less certain and varies by jurisdiction.
  • Failed transaction gas fees may be deductible as investment expenses in some jurisdictions.
  • Cumulative gas fees for active DeFi users can be substantial — tracking them consistently reduces tax.

Seeing it in action

Example scenario

Alex buys 1 ETH at $2,000 and pays $30 in gas. His cost basis is $2,030. He later sells the ETH at $3,500 and pays $25 in gas. His net proceeds are $3,475. His capital gain is $3,475 − $2,030 = $1,445. Without accounting for gas fees ($55 total), his reported gain would be $1,500 — an overpayment of approximately $13 at a 24% rate.

How this works across jurisdictions

  • AustraliaAustralia

    Incidental acquisition and disposal costs (including gas fees) can be included in cost base and sale costs.

  • CanadaCanada

    Expenses incurred to buy or sell are included in ACB or deducted from proceeds; gas fee treatment follows general principles.

  • GermanyGermany

    Transaction costs including gas fees are deductible from capital gains calculations.

  • IndiaIndia

    Only cost of acquisition is permitted under Section 115BBH — gas fees are generally not deductible.

  • United KingdomUnited Kingdom

    HMRC allows acquisition costs and disposal costs (including fees) as deductions; gas fees on DeFi interactions follow the principle that directly incidental costs are deductible.

  • United StatesUnited States

    Gas fees on acquisitions add to cost basis; on disposals reduce proceeds; DeFi interaction gas fee treatment uncertain — most practitioners add to cost basis of the resulting asset.

Take Control of Your Crypto Finances

From crypto taxes to accounting, KoinX helps you manage, track, and stay compliant and to end.

KoinX Logo