Crypto Fundamentals

Gas Fees for Accountants

Gas fees explained for accountants - Ethereum EIP-1559 base fee and priority fee mechanics, gas costs across L1 and L2 networks, fee classification as operating expense or cost basis adjustment, failed transaction handling, and gas fee reconciliation.

Updated

Gas fees are the network computation costs paid in a blockchain’s native token - ETH on Ethereum, SOL on Solana, POL on Polygon - for executing and confirming on-chain transactions. Every on-chain transaction consumes gas, and the resulting fee requires an accounting policy decision: classify the gas cost as an operating expense, a cost basis adjustment, or a proceeds reduction. The classification directly affects realized gain/loss calculations and cost basis tracking across the portfolio. Gas fees appear on every on-chain record the crypto subledger processes, making gas cost accounting a core knowledge domain for finance teams.

$5-50
Ethereum L1 per transaction
$0.05-0.50
Layer 2 networks (Arbitrum, Base)
$0.001-0.01
Solana per transaction

Gas costs vary by 3 orders of magnitude across networks (as of April 2026). The fee model, denomination token, and settlement mechanics differ per network, all of which affect how the subledger records, classifies, and reconciles gas expenses.

What Are Gas Fees and How Do They Work?

Definition
Gas Fee

A gas fee is the payment to network validators for processing and confirming an on-chain transaction, denominated in the blockchain’s native token and calculated by multiplying the gas units consumed by the gas price per unit at the time of execution.

Crypto fundamentals for finance teams treat gas fee mechanics as foundational knowledge because every on-chain operation - transfers, swaps, mints, staking - incurs a gas cost.

The core formula applies across all EVM-compatible networks:

Gas Fee Calculation

Gas units measure computational work. Gas price fluctuates with network demand, measured in gwei (1 gwei = 0.000000001 ETH).

Gas Fee = Gas Units Used x Gas Price per Unit
Example: 21,000 units x 30 gwei = 0.00063 ETH (simple ETH transfer)

A simple ETH transfer consumes 21,000 gas units. A token swap on Uniswap consumes 150,000-300,000 gas units. A complex DeFi interaction with multiple smart contract calls consumes 500,000+ gas units.

How Does Ethereum’s EIP-1559 Fee Model Work?

EIP-1559 refers to the Ethereum Improvement Proposal activated in August 2021 that restructured the gas fee into the 2 components listed below.

  1. Base fee - algorithmically adjusted by the protocol based on network congestion. The base fee increases when blocks exceed 50% capacity and decreases when blocks fall below 50% capacity. The base fee is burned (permanently destroyed), removing the ETH from circulation rather than paying any party.

  2. Priority fee (tip) - a voluntary fee paid directly to the block producer (validator) to incentivize transaction inclusion. Higher tips result in faster inclusion during congestion periods.

Ethereum EIP-1559 Gas Fee
Total Gas Fee = Gas Units x (Base Fee + Priority Fee)
Example: 150,000 units x (30 gwei + 2 gwei) = 0.0048 ETH

How Do Gas Costs Differ Across Blockchain Networks?

Gas costs differ across blockchain networks by 100-5,000x depending on the network architecture, consensus mechanism, and fee model. The cost differential directly impacts the operating expense line for organizations with high on-chain transaction volume.

NetworkNative TokenTypical Cost (April 2026)Fee ModelSettlement
Ethereum L1ETH$5 - $50EIP-1559 (base + priority)~12 seconds
ArbitrumETH$0.10 - $0.50L2 execution + L1 data posting~1 second
BaseETH$0.05 - $0.30L2 execution + EIP-4844 blob data~2 seconds
Polygon PoSPOL$0.01 - $0.10Fixed gas price model~2 seconds
SolanaSOL$0.001 - $0.01Compute units + priority fee~400ms

The lower costs on Layer 2 networks (Arbitrum, Base, Optimism) result from batching hundreds of transactions into a single proof posted to Ethereum L1. The L2 transaction fee has 2 components: the L2 execution cost (computation on the rollup) and the L1 data posting cost (publishing transaction data to Ethereum for security). EIP-4844 (March 2024) introduced blob data, reducing L1 posting costs by 10-100x for rollups that adopted the new blob format.

The gas cost per transaction determines how the accounting team classifies the expense, a decision governed by the underlying transaction type.

How Should Gas Fees Be Classified in Accounting?

Gas fee classification refers to the accounting treatment assigned to a gas cost based on the underlying transaction type. The gas fee inherits the accounting treatment from the economic event the fee enables, following the principle that transaction costs attach to the transaction producing the economic outcome.

Three classification approaches apply depending on the transaction context.

Cost Basis Adjustment

Gas paid on acquisition transactions increases the cost basis of the acquired asset. Applies to DEX purchases, NFT mints, and liquidity pool deposits.

Proceeds Reduction

Gas paid on disposal transactions reduces net proceeds from the sale. Applies to DEX sales and the sell leg of token swaps.

Operating Expense

Gas paid on non-trade transactions is recorded as network fee expense. Applies to transfers, staking, token approvals, and governance votes.

What Is the Cost Basis Adjustment Method for Gas Fees?

Cost basis adjustment is the classification method where gas paid on an acquisition transaction increases the cost basis of the acquired asset. The gas fee is capitalized into the asset’s carrying value, not expensed immediately. The 3 transaction types that receive cost basis adjustment treatment are listed below.

  • Purchasing crypto on a DEX (gas increases the cost basis of the acquired token)
  • Minting an NFT (gas is part of the total acquisition cost)
  • Providing liquidity to a DeFi pool (gas increases the cost basis of the LP token)

The cost basis adjustment method directly increases the asset’s carrying value, which reduces the realized gain when the asset is eventually disposed of.

What Is the Proceeds Reduction Method for Gas Fees?

Proceeds reduction is the classification method where gas paid on a disposal transaction reduces the net proceeds from the sale. The reduced proceeds decrease the realized gain or increase the realized loss. The 2 transaction types that receive proceeds reduction treatment are listed below.

  • Selling crypto on a DEX (gas reduces net sale proceeds)
  • Swapping tokens (gas reduces proceeds on the disposal leg)

The proceeds reduction method lowers the net amount received, which directly affects realized gain/loss calculations for the disposal period.

What Is the Operating Expense Method for Gas Fees?

Operating expense is the classification method where gas paid on non-trade transactions is recorded as a network fee expense in the income statement. The 4 transaction types that receive operating expense treatment are listed below.

  • Transferring crypto between wallets owned by the same entity
  • Staking and unstaking transactions
  • Token approvals (ERC-20 approve calls)
  • Governance votes and contract interactions with no economic exchange

The operating expense method records gas costs on the income statement without affecting the cost basis or proceeds of any digital asset position.

The table below maps the 7 common transaction types to their gas fee treatment and corresponding account.

Transaction TypeGas Fee TreatmentAccount
Purchase (fiat → crypto via DEX)Added to cost basisDigital Asset Holdings
Sale (crypto → fiat via DEX)Deducted from proceedsReduces Realized Gain
Swap (crypto → crypto)Split: cost basis (buy leg) + proceeds reduction (sell leg)Both legs
Transfer (same entity)Operating expenseNetwork Fee Expense
Staking (lock / unlock)Operating expenseNetwork Fee Expense
Approval (ERC-20 approve)Operating expenseNetwork Fee Expense
Mint (NFT or LP token)Added to cost basisDigital Asset Holdings

The swap transaction type receives split treatment: cost basis adjustment on the buy leg and proceeds reduction on the sell leg. A single swap contains both an acquisition and a disposal. The journal entry below demonstrates the gas fee impact on a token swap.

Token swap gas fee: 0.005 ETH ($20) on swap of 1 ETH → 4,000 USDC (ETH cost basis: $2,500)
Account Debit Credit
USDC Holdings $3,980
Realized Gain on Crypto $20
ETH Holdings (1.005 ETH disposed) $2,510
Realized Gain on Crypto $1,490

The 0.005 ETH gas fee ($20) reduces the net proceeds from $4,000 to $3,980 in the token swap journal entry. The realized gain decreases from $1,500 (without gas) to $1,490 (with gas as proceeds reduction). An alternative policy treats the $20 as a separate network fee expense. Both approaches produce acceptable results when applied consistently across all reporting periods.

What Happens When a Transaction Fails but Gas Is Still Consumed?

Failed transactions are on-chain operations that consume gas but produce no economic event. The gas fee from a failed transaction is recorded as an operating expense (network fee expense) because no asset was acquired, disposed of, or transferred. The blockchain charges gas for the computational work attempted regardless of transaction success or failure.

The 4 common causes of failed on-chain transactions are listed below.

  • Slippage exceeding tolerance - DEX swaps revert when the price moves beyond the slippage setting
  • Insufficient token balance - The contract call fails because the wallet lacks the required token amount
  • Contract reverts - Smart contract logic conditions are not met (sale ended, allowlist check failed)
  • Front-running - Another transaction executes first, changing the contract state and causing the original transaction to revert

Each failure type produces the same accounting outcome: gas consumed with no corresponding economic event.

Failed transaction: 0.01 ETH ($40) gas consumed, transaction reverted
Account Debit Credit
Network Fee Expense $40
ETH Holdings $40

Failed transactions require explicit handling in the subledger because blockchain explorers record failed operations with a “reverted” or “failed” status. The gas consumed on a failed transaction is a real cost: the ETH leaves the wallet, but the intended economic event (swap, mint, transfer) never occurred. Organizations with active DeFi operations accumulate $500-5,000 per quarter in failed transaction gas costs, representing a non-trivial expense category that requires dedicated tracking.

How Are Gas Fees Reconciled?

Gas fee reconciliation is the process of comparing the gas amount recorded by the data source (exchange API, custody platform, or subledger) against the actual gas consumed on-chain. The reconciliation resolves discrepancies from rounding differences, fee estimation errors, and missing failed transactions.

The gas fee reconciliation process validates 3 data points per on-chain transaction, listed below.

Gas Units Consumed

The actual computation used by the transaction, read from the gasUsed field in the transaction receipt.

Gas Price at Execution

The effective gas price paid including base fee and priority fee, from the effectiveGasPrice field.

Resulting Fee in Native Token

Gas units multiplied by gas price, denominated in the network's native token (ETH, SOL, POL).

The 3 data points form the reconciliation input for each transaction hash.

What Are the Steps in Gas Fee Reconciliation?

Gas fee reconciliation follows a 3-step process that validates each on-chain transaction against the subledger record.

Extract On-Chain Gas Data

Read gasUsed and effectiveGasPrice from each transaction receipt via the blockchain node or explorer API.

Compare Against Subledger Records

Match each transaction's recorded gas fee against the on-chain value using the transaction hash as the matching key.

Flag Discrepancies

Transactions where the recorded gas fee deviates from the on-chain gas fee by more than the tolerance threshold (typically 0.1%) are flagged for review.

The flagged discrepancies fall into 4 categories based on the source of the mismatch.

What Are Common Gas Fee Discrepancy Sources?

Gas fee discrepancies are differences between the on-chain gas cost and the amount recorded in the subledger. The table below lists the 4 common discrepancy sources, their causes, and the resolution for each.

SourceCauseResolution
RoundingDifferent decimal precision between systemsApply consistent rounding policy
Missing failed transactionsData source excludes reverted transactionsEnable failed transaction ingestion
L2 fee componentsL1 data posting fee not captured separatelyUse L2-specific receipt fields
Gas token priceFMV of ETH/SOL at execution time differs between sourcesStandardize price oracle source

Gas reconciliation applies exclusively to on-chain transactions originating from non-custodial wallets and DEX trades. Centralized exchange transactions (internal order book trades) have zero gas fees because the exchange absorbs network costs and charges trading fees separately. The CEX-specific fee structures and reconciliation methods are covered in the crypto exchanges for accountants guide.

Automate Your Crypto Accounting

Coincile handles data collection, reconciliation, cost basis tracking, and journal entry generation — so finance teams close faster with fewer errors.