Digital Finance Essentials  ·  Lesson 08

Gas Fees and Transaction Costs

Why blockchain transactions cost money, how networks calculate fees and how to avoid preventable mistakes.

Lesson Objective

By the end of this lesson, you should be able to explain why transaction fees exist, distinguish gas used from gas price, identify the asset required to pay fees, compare major fee models, understand why failed transactions may still cost money and use practical controls to estimate and manage transaction costs.

Why blockchains charge transaction fees

Public blockchains have limited capacity. Transactions compete for computation, storage, bandwidth and inclusion in blocks. Fees price that demand, compensate or reward network participants, discourage spam and help determine which transactions are processed first.

The word gas is most closely associated with Ethereum and compatible networks, but every blockchain has its own fee rules. Bitcoin commonly expresses fees in satoshis per virtual byte. Solana uses a base fee per signature plus an optional prioritization fee based on requested compute units. The economic purpose is similar even when the terminology differs.

Fee Is Not the Amount Sent

A transfer of $20 may cost more or less than a transfer of $20,000. The fee usually reflects network resources and demand — not the market value being transferred.

The native fee asset

A blockchain normally requires fees in its native asset. Holding a token on the network does not necessarily provide the asset needed to move it.

NetworkTypical fee assetBeginner implication
EthereumETHSending an ERC-20 token such as a stablecoin still requires ETH for gas.
BitcoinBTCThe fee is deducted from bitcoin inputs and reflects transaction size and fee rate.
SolanaSOLToken transfers require SOL for the transaction fee and sometimes account-related costs.
Polygon PoSPOLTokens on Polygon require the network's native fee asset.
BNB Smart ChainBNBBEP-20 token activity requires BNB for fees.
Ethereum Layer 2Usually ETHThe ETH must be on that Layer 2; ETH on Ethereum mainnet is a separate balance.

Ethereum gas: two separate quantities

Ethereum measures the computational work of a transaction in gas units. The amount paid depends on both the work performed and the price per unit of gas.

Core Relationship

Transaction fee = gas used × effective gas price. Gas used measures work. Gas price measures what each unit costs under current network conditions and the transaction's settings.

Gas used: The units actually consumed by transaction execution. A simple ETH transfer generally uses less gas than a complex smart-contract interaction.

Gas limit: The maximum gas the sender authorizes the transaction to consume. It is a safety ceiling, not automatically the amount charged.

Base fee: A protocol-determined minimum price that adjusts with demand and is burned on Ethereum.

Priority fee: An optional tip intended to encourage a validator to include the transaction.

Maximum fee: A cap the sender is willing to pay per unit. Wallets generally estimate this and refund unused room under the cap.

A simple fee example

Suppose a transaction uses 50,000 gas and the effective gas price is 20 gwei. The fee is 1,000,000 gwei, which equals 0.001 ETH. Its value in dollars changes with the market price of ETH.

ComponentExampleMeaning
Gas used50,000Actual units of computational work.
Effective gas price20 gweiPrice paid for each unit.
Network fee0.001 ETH50,000 × 20 gwei, converted into ETH.
Dollar displayVariableWallet estimate based on the current ETH price; not the network's accounting unit.

Why fees change

Network demand: More users competing for limited block space can increase fees.

Transaction complexity: Swaps, lending, NFT activity and contract approvals may use more computation and storage than a simple transfer.

Data size: Some systems charge according to the bytes or data posted, not the monetary amount transferred.

Priority settings: A higher tip or fee rate may improve the chance of faster inclusion.

Layer 1 conditions: A rollup may pass some parent-chain data costs to its users.

Wallet estimation: Different wallets and services may use different assumptions, buffers and fee displays.

Fee models differ by network

Network modelMain fee driverHow priority is expressed
EthereumGas used multiplied by an effective gas price.Base fee plus an optional priority fee, within the user's maximum.
BitcoinSigned transaction size multiplied by a fee rate, commonly sat/vB.Higher fee rate generally makes a transaction more attractive to miners.
SolanaBase fee per signature plus optional compute-based prioritization fee.Compute-unit price and requested compute-unit limit.
Ethereum rollupLayer 2 execution plus a share of data or settlement costs posted to Layer 1.Depends on the rollup; Ethereum-style tips may not operate identically.

Bitcoin fees are about transaction size

A Bitcoin transaction spends earlier outputs and creates new outputs. A transaction using many inputs can be larger in bytes and therefore cost more than a transaction moving a larger monetary amount from one input. Wallets estimate an appropriate fee rate based on demand for block space.

Some wallets support replace-by-fee, allowing an unconfirmed transaction to be replaced with a higher-fee version. Another technique, child-pays-for-parent, may allow a later transaction to help incentivize confirmation of an earlier one. Availability depends on wallet and transaction design.

Solana fees use signatures and compute

Solana charges a base fee for required signatures and can add an optional prioritization fee. The priority calculation depends on the compute-unit price and the compute-unit limit requested. Setting an unnecessarily high limit can increase the priority fee because the calculation can use requested rather than actual compute units.

Layer 2 does not mean fee-free

Layer 2 networks process transactions away from an underlying Layer 1 and then publish data or proofs back to it. Batching and compression can reduce per-transaction cost, but users may still pay for Layer 2 execution and a share of Layer 1 data or settlement expense.

Fees can rise when the parent chain becomes expensive.

Depositing to or withdrawing from the Layer 2 may require additional transactions.

A bridge or exchange may add service charges beyond the network fee.

The fee asset must be on the correct Layer 2 network.

Displayed Cost May Be Incomplete

Before bridging, swapping or withdrawing, consider every step in the route — not only the fee shown for the first transaction.

Why failed transactions may still cost money

A transaction can be included in a block and execute unsuccessfully. Validators still performed work to process it, so the fee may be charged even though the intended swap, transfer or contract action did not complete.

The transaction ran out of gas because its limit was insufficient.

A smart-contract condition changed before execution — for example, the price moved outside a swap's permitted slippage.

The contract rejected the instruction because of permissions, balances, deadlines or paused functionality.

A token approval or prerequisite was missing.

Another transaction changed the relevant on-chain state first.

Failure Is Different from Rejection

A wallet may reject an invalid transaction before broadcast, which normally avoids a network fee. A transaction that reaches the network and consumes resources may still be charged even if its execution reverts.

Network fee, platform fee and spread

CostWho determines itWhat to look for
Network feeBlockchain rules and current demandNative fee asset, fee rate, gas estimate and priority settings.
Exchange withdrawal feeCentralized platformMay be fixed or variable and need not equal the actual network fee.
Bridge feeBridge or interoperability providerService charge plus source- and destination-chain costs.
Protocol feeSmart contract or applicationSwap, lending, marketplace or liquidity-provider charges.
Spread / price impactMarket liquidity and executionDifference between quoted and effective exchange value; not technically a gas fee.

Estimating a transaction safely

Confirm the exact network and the native asset required for its fees.

Review the wallet's estimated network fee immediately before signing.

Inspect whether the action requires one transaction or several approvals and contract calls.

Check whether a withdrawal, bridge or application adds its own fee or spread.

Leave a small native-asset balance for a later transfer or emergency exit.

For a new route, use a small test transaction when practical.

Avoid manually changing advanced gas settings unless you understand the consequences.

Practical ways to manage fees

Use the appropriate network for the use case, but consider its security, liquidity and operational risks — not fees alone.

Transact during less congested periods when timing is flexible.

Batch organizational activity when the network and controls safely permit it.

Consolidate Bitcoin inputs during lower-fee periods, with privacy and control implications considered.

Use a reputable Layer 2 for compatible activity after evaluating bridge and withdrawal requirements.

Set realistic priority rather than automatically selecting the fastest option.

Compare total route cost, including conversion, bridging, withdrawal and application fees.

Common fee mistakes

1

Sending all of the native asset and leaving nothing for the next transaction.

2

Holding a token but no native asset to pay its transfer fee.

3

Assuming a low-value transfer must have a low network fee.

4

Confusing an exchange's withdrawal charge with the blockchain's actual fee.

5

Choosing the wrong network because it appears cheaper.

6

Approving repeated failed transactions without identifying the cause.

7

Treating a wallet's dollar estimate as a guaranteed final cost.

8

Ignoring Layer 1 data costs or the cost to bridge back later.

Fees in business and accounting

Record the transaction hash, network, fee asset, fee quantity and business purpose.

Separate network fees from exchange, bridge, protocol and advisory charges.

Translate fees into the reporting currency using a documented valuation source and time.

Define how fees are treated for accounting and tax purposes under the applicable framework.

Reconcile failed transactions and fees even when no asset transfer was completed.

Use approval limits and monitoring for unusually high fees or repeated failures.

Accounting Perspective

A fee is a separate economic event even when it is deducted automatically from the wallet balance. Complete records should capture fees paid on successful, failed, bridging and contract-approval transactions.

Key takeaways

1

Fees price limited network resources, compensate participants and discourage spam.

2

The fee is usually driven by transaction size or complexity and demand — not the amount transferred.

3

Every network has its own native fee asset and calculation method.

4

On Ethereum, gas used and gas price are different components.

5

A failed on-chain transaction may still consume resources and incur a fee.

6

Total cost can include network, platform, bridge, protocol and market-execution components.

Quick knowledge check

1

Why can a $20 token transfer cost the same network fee as a $20,000 transfer?

2

What is the difference between gas used and gas price?

3

Why might a stablecoin holder be unable to move the stablecoin?

4

Why can a failed transaction still incur a fee?

5

Which costs should be considered when bridging to a Layer 2?

Glossary

Base fee
A protocol-determined minimum price component for Ethereum gas that adjusts with network demand.
Gas
A unit measuring computational work on Ethereum and compatible networks.
Gas limit
The maximum gas a transaction is permitted to consume.
Gwei
A denomination equal to one-billionth of an ETH, commonly used to quote gas prices.
Priority fee
An additional fee intended to improve a transaction's processing priority.
sat/vB
Satoshis per virtual byte, a common Bitcoin transaction fee-rate measure.
Transaction fee
The amount paid for a network to process and include a transaction.

Sources and further reading

Editorial note: This lesson was independently written for Fichtner Digital and synthesizes the cited sources in original language. It does not reproduce substantial passages from them. Facts and links last reviewed 22 July 2026.

Educational purposes only. Not financial advice. Network conditions, fee rules and wallet estimates can change. Blockchain transactions may be irreversible, and an incorrect fee or network choice can cause delay or loss. This material does not constitute financial, legal, accounting, tax or investment advice.

Fichtner Digital

Educating the Future of Digital Finance.

Disclaimer

Educational purposes only. Not financial advice. All content on this site is provided for informational and educational purposes. Nothing here constitutes investment advice, financial guidance, or a recommendation to buy or sell any asset.

© 2026 Fichtner Digital. All rights reserved.

Educational purposes only. Not financial advice.