Bitcoin transactions pay fees based mainly on transaction size in data. Many other networks, particularly smart contract platforms, use a different model often called gas. The term comes from the idea that computation needs fuel. Understanding gas helps explain why fees vary so widely, why some transactions fail, and why the same action can cost very different amounts at different times. This guide covers the general concepts without focusing on any single network’s current figures.
It is educational only. Crypto assets are volatile, and fees can be significant.
What gas measures
On smart contract networks, every operation, from a simple transfer to a complex contract interaction, requires computation by the network’s nodes. Gas is a unit measuring that computational work. A simple transfer uses relatively little gas; swapping tokens, minting NFTs, or interacting with complex contracts uses more.
Gas price and total fee
The total fee generally equals the gas used multiplied by the price per unit of gas, paid in the network’s native token. When many people want to transact at once, they compete for limited block space, and the price per unit of gas rises.
Base fee and priority fee
Some networks split fees into parts. A base fee is set by the protocol according to demand and may be burned (removed from circulation). A priority fee, or tip, goes to validators and encourages them to include a transaction sooner. Wallets usually estimate both automatically and may offer slow, normal, and fast options.
Gas limit
Each transaction specifies a gas limit, the maximum amount of gas it may use. If the transaction needs more gas than the limit, it fails, but the gas already used is still paid. Wallets usually estimate the limit. Setting it manually is rarely necessary and can cause problems if done incorrectly.
Why fees vary so much
- Network demand. Popular token launches, NFT mints, or market turbulence can push fees sharply higher.
- Transaction complexity. Complex contract calls use more gas.
- Time of day. Activity varies by time zone and market hours.
- Network design. Different networks have different capacity and fee mechanisms.
The native token requirement
Fees must be paid in the network’s native token. Holding other tokens without any native token means you cannot move them. This is a common surprise for people who receive tokens on a new network. Keeping a small native-token balance avoids being stuck.
Failed transactions
A transaction can fail because it runs out of gas, because a contract condition is not met, or because prices changed beyond a set tolerance during a swap. Failed transactions often still cost a fee. Wallets and explorers show the failure reason when available.
Stuck transactions
If a fee is set too low during busy periods, a transaction may wait unconfirmed. On account-based networks, later transactions from the same address wait behind it. Many wallets allow speeding up a transaction by resubmitting with a higher fee, or canceling by replacing it with a zero-value transaction to yourself at a higher fee.
Layer-2 networks and alternatives
Layer-2 networks process transactions separately and settle summaries on a main chain, often reducing fees. Other independent networks have different fee structures. Each option has its own security assumptions, bridges, and risks. Moving assets between networks usually involves bridges or exchanges, which add steps and risks.
Fees on exchanges versus networks
Centralized exchanges charge withdrawal fees that may be fixed or vary with network conditions. These differ from fees you would pay sending from your own wallet. Trading within an exchange does not involve on-chain gas.
Practical tips
1. Use the wallet’s fee estimates unless you understand manual settings. 2. Keep a small amount of native token for fees on each network you use. 3. For non-urgent transactions, consider waiting for quieter periods. 4. Review the total fee before confirming, especially for complex transactions. 5. Be wary of applications prompting unusually high gas limits; this can signal a problem.
Scams related to gas
Some scams claim you must pay a “gas fee” to receive tokens or release funds. Legitimate transfers to you do not require you to pay fees in advance to the sender. Requests to send native tokens to unlock a balance are a common fraud pattern.
Records and taxes
Fees can be relevant for tax calculations in the US, for example in determining cost basis or proceeds. Keeping records of fees paid alongside transactions helps. A tax professional can explain how they apply to your situation.
Why fees exist at all
Fees serve a purpose beyond paying validators. They discourage spam, because flooding a network with transactions costs money, and they ration limited block space when demand is high. Understanding this makes fee spikes easier to accept as part of how public networks work rather than as arbitrary charges.
Estimating before acting
Many wallets and block explorers display current fee levels for common actions. Checking these before a planned transaction gives a sense of the cost and helps decide whether to proceed now or wait. For small transfers, a high fee can consume a meaningful share of the amount, which is worth considering before sending.
Common questions
What is gas?
A unit measuring computational work on smart contract networks, used to calculate fees.
Why did my failed transaction still cost money?
The network performed computation before the failure, and gas used is still charged.
Why can’t I send my tokens?
You may need the network’s native token to pay fees.
Do layer-2 networks have lower fees?
Often, but they have different security assumptions and require bridging.
Keep reading
- How a blockchain token is different from a bank deposit
- What a liquidity pool is, without presenting yield as safe income
- How staking can lock funds and still involve slashing or platform risk
- What a demo forex account can and cannot teach you
Note: Risk warning: digital assets are volatile and can lose most or all of their value, and smart-contract bugs, scams, and platform failures can cause permanent loss. This article is educational only. It is not investment, tax, or legal advice, a recommendation, or a price prediction. Consider your own circumstances and, where needed, a qualified professional.



