Blockchain · Explainer
What Are Crypto Gas Fees? How They Work in 2026
Crypto gas fees are the costs of processing transactions on a blockchain. Learn what they pay for, how Ethereum calculates them, why they change, and how to check the full cost before you confirm.
By the DappsAtlas editorial team · Updated

What are crypto gas fees?
A crypto gas fee is the cost of having a blockchain process a transaction. On Ethereum, “gas” measures the computational work needed to carry out an action, such as sending ETH, swapping tokens, or interacting with a smart contract. The network charges for that work so validators have an incentive to include transactions and so scarce block space is not free to use.
Gas is not a separate coin. It is a measurement; the fee is paid in the network’s required token. On Ethereum, that is ETH, and small amounts are commonly expressed in gwei. One gwei is one-billionth of an ETH. A wallet may show a fee in ETH, gwei, or a fiat currency estimate.
People often use “gas fee” to mean any blockchain transaction fee, but the details differ by chain. Ethereum-compatible networks may use similar terminology and fee models. Other networks, including Solana, have their own transaction-fee systems. The practical point is the same: an onchain action needs a fee paid to the network, and the amount can change with the action and network conditions.
Why do blockchains charge gas?
Gas fees compensate network participants for processing and recording transactions. On proof-of-stake Ethereum, validators propose and attest to blocks. The fee system also helps allocate limited block space: when many users want transactions included at once, they compete by offering a higher priority fee or by waiting for conditions to ease.
A simple ETH transfer generally needs less computation than a token swap or a smart-contract action. A swap through Uniswap, for example, can involve contract calls and checks that a basic transfer does not. More computational work usually means more gas units are used. The contract does not set a universal gas price, and the amount paid to the network is separate from any swap fee charged by a trading pool.
Gas also makes it costly to flood a blockchain with endless computation. A transaction has a gas limit, which caps how much work it can consume. That limit protects the network from transactions that try to use unlimited resources. Users should treat the fee as a cost of making the network perform an action, not as a fee paid to the wallet provider or a guarantee that the action will produce the result they want.
How is an Ethereum gas fee calculated?
On Ethereum, the fee is based on how much gas a transaction uses and the price paid for each unit. The basic relationship is: fee = gas used × price per unit of gas. If a transaction uses more computational resources, it costs more at the same gas price. If demand pushes the gas price up, even a simple transaction can cost more than it would during a quieter period.
Ethereum fees are commonly quoted in gwei. For example, a wallet may estimate a transaction’s gas use and show a price in gwei, then calculate the total fee in ETH. The wallet may also display an approximate fiat value. That conversion is only an estimate and can change with the ETH price.
A gas limit is different from the gas price. It is the maximum amount of gas the transaction is allowed to use. The fee is based on gas actually used, not automatically the full limit, although a transaction that runs out of gas can fail after consuming the available amount. Do not confuse the transaction’s gas limit with a fee cap: they control different parts of the transaction. Review the wallet’s estimate and limits before confirming.
What are base fees, tips, and fee caps?
Ethereum’s fee model separates the base fee from the priority fee. The base fee is set by the protocol and changes according to how full recent blocks were. It is burned rather than paid to a validator. The priority fee, sometimes called a tip, is an additional amount offered to encourage a validator to include the transaction sooner.
Wallets generally estimate a suitable fee using current network conditions. Many Ethereum transactions use a maximum fee per gas as a ceiling: it limits what the sender is willing to pay per gas unit. The transaction’s actual per-unit cost is based on the base fee plus the priority fee, subject to that ceiling. Any unused difference between the maximum and actual price is not charged.
A higher priority fee can make a transaction more attractive for inclusion, but it does not guarantee instant confirmation. Network demand, the transaction’s fee settings, and other conditions matter. If the base fee rises above the transaction’s maximum fee, the transaction may wait rather than be included. This is why a wallet’s estimate is useful but not a fixed quote: fees can move between the time you open the confirmation screen and when the transaction is processed.
Why do gas fees change?
Fees rise and fall mainly because block space is limited and transaction demand changes. During a popular token launch, a busy trading period, or another burst of onchain activity, more users may compete to have transactions processed. Users willing to pay a higher priority fee can be favored, while others may wait. When demand is lower, the base fee can decrease and transactions may cost less.
The action matters too. Sending ETH is usually simpler than interacting with a contract that performs several operations. A swap on Uniswap or supplying assets to Aave can involve more computation than a basic transfer. The exact amount depends on the transaction and the contract’s behavior, so two actions that look similar in an app can still consume different amounts of gas.
Fees are specific to the network selected in the wallet. Ethereum mainnet, an Ethereum layer 2, and another blockchain can have different fee levels and rules at the same moment. A low fee on one network does not mean the same transaction will be equally cheap elsewhere. Check the network name and fee estimate each time rather than relying on a past transaction or a general claim that a particular chain is “cheap.”
How are gas fees different from app and trading fees?
An onchain action can involve several costs, and “gas” is only one of them. A token swap may include a network fee for executing the transaction, a trading fee charged by the liquidity pool, and price impact from the size of the trade. A bridge transaction can involve a source-chain fee, a destination-chain fee, and any service or protocol charge. These amounts have different purposes and may be shown in different parts of an app.
Exchange costs are separate as well. A centralized exchange may charge trading, withdrawal, or other service fees under its own rules. If you withdraw crypto to a self-custody wallet, the exchange’s withdrawal charge may not match the blockchain’s actual transaction fee. Review the exchange’s withdrawal details rather than assuming its charge is simply “gas.”
Before confirming, look for the total amount you will pay and check which token covers each component. For a swap, compare the network fee with the quoted trading fee and price impact. For a cross-chain transfer using a service such as Across or the Arbitrum Bridge, check the source and destination networks, the expected amount received, and any additional charges. A displayed estimate can change, so verify it on the final confirmation screen.
How do layer 2 and other network fees work?
Layer 2 networks process transactions away from Ethereum mainnet and periodically publish information back to Ethereum. Their user-facing fees are often lower than mainnet fees, but they are not necessarily zero or fixed. A rollup fee can reflect the work of executing the transaction on the layer 2 as well as the cost of posting data to Ethereum. Network design and demand affect how those parts are calculated.
A bridge transaction can have additional costs and may take longer than an ordinary transaction on one chain. Moving assets from Ethereum to a layer 2 may require a fee on Ethereum, while a later transaction on the layer 2 requires that network’s fee token. Withdrawal back to Ethereum can involve a separate process and fee. The Arbitrum Bridge, for example, connects Ethereum and Arbitrum, but the two networks do not share one fee balance.
Other blockchains use different mechanisms. Solana, for instance, charges transaction fees based on its own rules rather than using Ethereum’s exact gas model. Wallets and apps may still casually call fees “gas,” but check the chain’s native token, fee preview, and transaction details. Do not assume that the same token or fee logic applies across networks.
How can you check and manage gas costs?
Start by checking the selected network and the wallet’s current fee estimate. Confirm that the fee token matches that network: ETH for Ethereum transactions, for example, or the network’s own required token elsewhere. Keep a small balance available for fees before sending or swapping. Holding the asset you want to transfer does not always mean you can pay the transaction fee.
If a transaction is not urgent, you can wait and check again when network demand is lower. A wallet may offer fee-speed options, but a faster setting can cost more and still cannot promise immediate inclusion. Avoid setting a manual fee below the wallet’s recommended range unless you understand how pending transactions and fee replacement work on that network.
Use these checks before confirming:
- Verify the network and destination address.
- Read the estimated fee in both the native token and any fiat conversion shown.
- Check whether the action also has a protocol, swap, or bridge charge.
- Make sure the transaction’s limits and expected output look reasonable.
- Confirm only if the total cost and action are acceptable.
For a large or unfamiliar smart-contract transaction, consider a small test transaction when its extra cost is worthwhile. Never approve a transaction just to see what happens; onchain actions can be difficult or impossible to reverse.
Do you pay gas when a transaction fails?
Gas fees are charged for transactions submitted to a blockchain, not simply for keeping crypto in a wallet or viewing a balance. A transaction that is rejected by a wallet before it is broadcast does not use block space and does not incur an onchain fee. But once a transaction has been submitted, the network may charge for the work it performs even if the intended result fails.
For example, a smart-contract transaction can run out of gas, encounter a condition that makes it revert, or fail for another reason after processing begins. In those cases, the token transfer or app action may not complete, but gas may still have been consumed. A wallet’s estimate is not a guarantee that a contract call will succeed. Read error messages and make sure you understand the action before retrying, especially if the first transaction is still pending.
If an app shows a fee but the transaction does not appear to have completed, check the transaction status in the wallet or on the relevant chain’s block explorer. Do not submit repeated transactions without checking whether the original is pending or confirmed. A replacement transaction may require a higher fee, and submitting a second transaction can produce a duplicate action if the first one later succeeds.
What should you remember before paying a gas fee?
A gas fee is the network cost of processing a transaction, while the total cost of using crypto can include much more. It depends on the chain, the action, current demand, and the transaction’s fee settings. Ethereum provides a clear example: gas measures computational work, and the fee combines gas used with the price per unit. Other networks have their own designs and may not use the word gas in the same way.
Before you submit an onchain action, check the selected network, the fee token, and the complete cost shown by the wallet or app. Separate network fees from swap, bridge, exchange, and other app charges. For a transaction that is not urgent, checking again later may reveal a lower estimate, but no timing strategy can guarantee a particular fee.
A fee estimate is not a promise that a transaction will succeed, and paying more does not remove the need to check what the transaction does. Review the destination, expected output, and permissions requested by a contract. If the network, fee, or action is unclear, pause rather than confirming. That basic habit helps avoid paying for the wrong transaction or mistaking a network fee for the full cost of an app service.
Frequently asked questions
Do all cryptocurrencies have gas fees?
Not always. Ethereum charges gas for onchain actions, but the term “gas” is most closely associated with Ethereum and compatible networks. Other blockchains charge transaction or network fees using their own rules and terminology.
Do I pay gas if a transaction fails?
Usually, a transaction that runs out of gas or fails after being submitted still uses network resources, so the fee is generally charged even if the intended action does not complete. If a wallet rejects a transaction before it is sent to the network, there is no onchain fee.
Which token do I need to pay gas?
Ethereum gas is paid in ETH, even when the transaction involves another token. Other networks generally require their own native token for fees. Check the wallet’s fee preview and make sure the correct network’s fee token is available.
Is gas the same as a swap or platform fee?
No. The gas fee pays for processing a transaction, while a swap can also have a trading fee and a price impact. A bridge or app may charge additional fees too. Review each cost separately before confirming.
Are layer 2 gas fees always cheaper?
Not necessarily. Layer 2 networks often have lower fees than Ethereum mainnet, but their costs vary and can include both transaction execution and the cost of publishing data to Ethereum. Compare the wallet’s final estimate on the network you intend to use.
Mentioned in this guide
dApps in this guide
Uniswap V4 is the latest Uniswap DEX version with hooks and concentrated liquidity, running on 22 chains for self-custody token swaps and liquidity provision.
Aave V3 is a non-custodial DeFi lending protocol on 21 chains where users earn interest on deposits or borrow against collateral.
Arbitrum Bridge is the canonical bridge that moves ETH and ERC-20 tokens between Ethereum mainnet and the Arbitrum Layer-2 rollup.
Across is an intent-based cross-chain bridge and swap protocol for moving tokens between Ethereum, rollups and other chains, with an API for apps.
Jupiter is a Solana DEX aggregator for traders who want routed swaps, limit orders, DCA, perps and token launches, with its own JUP token.
Aave is an Ethereum-based crypto lending protocol for supplying assets and borrowing against collateral.
Crypto.com is a centralized crypto exchange and app for buying, trading and spending 400+ coins, with a Visa card, staking and a separate self-custody wallet.
Uniswap is a self-custody decentralized exchange protocol for swapping tokens through liquidity pools across multiple networks.
Keep reading
Related guides
Airdrop and rewards · Airdrop guide
Crypto Airdrops: What They Are and How to Claim
Crypto airdrops can reward past activity, community participation or a specific task—but “free tokens” still come with eligibility rules, fees and security risks. Learn how to check an offer and claim safely without handing control of your wallet to a scammer.
Blockchain · Chain guide
Celo as an Ethereum Layer 2: What Changed and What to Know (2026)
Celo, once a standalone mobile-focused Layer 1, completed its move to an Ethereum Layer 2 on March 26, 2025. This guide explains what changed, how the network works now, and how to check its current activity.
Blockchain · Explainer
Lisk Blockchain Developments and How to Track Its Showcase Events
Lisk is an Ethereum-aligned layer-2 network with builder programs in Africa, Southeast Asia and Latin America. This guide explains what Lisk offers developers and how to verify the details of an Amplifire showcase, since the sources reviewed did not confirm that event's agenda or dates.
Blockchain · Explainer
What Is a Blockchain Platform? How It Works
A blockchain platform combines a blockchain network with the rules, software and tools needed to build and use applications on it. Learn how platforms process transactions, run smart contracts, charge fees and differ from one another.
Blockchain · Chain guide
What Are Layer 1 and Layer 2 Blockchains? A 2026 Guide
Layer 1 blockchains settle and secure transactions on their own; layer 2s run on top of them to make activity cheaper and faster. This guide explains how each works, how they differ, and what to check before you use one.
Blockchain · Explainer
WAX vs BNB Chain: Who Has More Active Users in 2026?
WAX and BNB Chain are often compared by user counts, but the headline numbers depend on which metric, time window and data source you use. This guide explains what active users mean, what the latest BNB Chain figures show, and how to compare the two networks yourself.
Blockchain · Explainer
What Are Layer 2 Networks? How L2s Work
Layer 2 networks process transactions away from a base blockchain to make activity faster or cheaper, while relying on that base chain in different ways. Learn how rollups work, what their risks are and how to use them more safely.
Blockchain · Explainer
WAX Cloud Wallet, Sidechains and EVM Support: What to Know in 2026
WAX has long focused on NFTs, games and a web-based Cloud Wallet. This guide explains what sidechains and EVM support mean for WAX users, how these pieces would connect, and how to check current status before moving assets.