What Is a Gas Fee in Crypto? Ethereum Fees Explained
Educational content · reviewed for accuracy · not financial advice

A gas fee is the cost you pay to perform any operation on the Ethereum network — sending tokens, interacting with a smart contract, minting an NFT. It is paid in ETH and fluctuates based on network demand. Gas exists because every transaction requires computational work from the network, and fees compensate the validators who process and secure that work.
Live price right now
Prices update automatically every minute · data from CoinMarketCap.
On this pagetoggle
Every time you send ETH, swap tokens on a decentralised exchange, or mint an NFT, you pay a fee. Not to a company, not to a bank — to the network itself. That fee is called a gas fee, and understanding it is essential for anyone who wants to use Ethereum without being blindsided by unexpected costs.
Think of it like an electricity bill for running a computation. When a utility company routes power to run your appliances, it charges based on how much energy was consumed. Ethereum works the same way: when the network executes your transaction, the computational work required is measured in 'gas units,' and you pay for those units at a price that fluctuates with demand. Low demand means cheap gas. Peak congestion means you are competing with every other user on the planet for space in the next block.
What Is Gas in Ethereum?
Gas is the internal unit that measures the amount of computational effort required to perform an operation on the Ethereum network. To understand why it exists, it helps to remember what What Is Ethereum covers: Ethereum is a global computer running thousands of smart contracts simultaneously, maintained by hundreds of thousands of independent validators.
Every operation has a fixed gas cost built into the protocol. A simple ETH transfer always uses exactly 21,000 gas units. Calling a smart contract — say, swapping tokens on Uniswap — might use 150,000 to 300,000 gas units because the contract code involves many more computational steps: checking balances, updating liquidity pools, calculating exchange rates, and emitting events on the blockchain. Minting an NFT can exceed 500,000 gas units for complex collections.
The key insight is that gas costs per operation are fixed and predictable. What changes is the price you pay per unit of gas — and that price is set entirely by market forces.
How Gas Fees Are Calculated
The formula is simple:
Gas Fee = Gas Units x Gas Price
Gas price is measured in gwei (pronounced 'gway'). Gwei is a smaller unit of ETH — one gwei equals one billionth of one ETH (0.000000001 ETH). Because gas prices are typically tiny fractions of ETH, quoting them in gwei keeps the numbers manageable. A gas price of 20 gwei means you are paying 20 billionths of one ETH per unit of gas consumed.
A practical example: suppose you are sending ETH during a quiet period when the gas price is 15 gwei.
- Gas units required: 21,000
- Gas price: 15 gwei (0.000000015 ETH per unit)
- Total fee: 21,000 x 0.000000015 ETH = 0.000315 ETH
At an ETH price of $3,000, that comes to roughly $0.94 for a simple transfer. During very quiet periods the gas price can drop to 3-5 gwei, making the same transfer cost under 20 cents. During peak congestion it can spike above 200 gwei, turning that same transfer into a $12 charge.
Smart contract interactions cost proportionally more because they consume more gas units. A complex DeFi swap that uses 250,000 gas units at 200 gwei in a congested period could cost $50 or more for a single transaction.
Why Gas Fees Fluctuate
Gas fees are a supply-and-demand market. Each Ethereum block has a maximum capacity — a ceiling on how much total gas all its transactions can collectively consume. When more transactions are queued than the network can process immediately, users compete by offering a higher price per gas unit. Validators naturally prioritise the transactions offering the best compensation.
This creates recognisable congestion patterns. When a popular NFT collection launches and thousands of people try to mint simultaneously, gas can spike to 10x or 20x its baseline within minutes. DeFi liquidation cascades — where falling crypto prices trigger automatic loan repayments across dozens of protocols at once — have the same effect. Major market crashes often coincide with record-high gas fees precisely because so many users are rushing to move funds at the same moment.
The network's block capacity does not change during these surges; only the competition for space increases. When the queue clears, prices fall back to baseline just as quickly as they rose.
How EIP-1559 Changed Gas Pricing
Before August 2021, gas pricing worked as a simple auction: you bid a gas price and validators decided whether to accept it. This made fee estimation unreliable and often resulted in either overpaying or having transactions stuck indefinitely.
EIP-1559, implemented in Ethereum's London upgrade, restructured the entire fee market. Every transaction now has two components:
Base fee. A minimum price per gas unit set algorithmically by the protocol, calculated from how full the previous block was. If blocks are consistently more than half full, the base fee rises. If they are less than half full, it falls. The base fee is identical for every transaction in a block — and critically, it is burned. That ETH is destroyed permanently, removed from the total supply, rather than paid to validators.
Priority fee (tip). An optional amount you add on top of the base fee to incentivise validators to include your transaction sooner rather than later. During high congestion, raising your priority fee is the primary lever for getting a transaction processed quickly.
The fee-burning mechanic has significant macroeconomic consequences. During periods of heavy Ethereum usage, the rate at which ETH burns through base fees can exceed the rate at which new ETH is issued as staking rewards. When that happens, the total supply of ETH shrinks. This deflationary dynamic is one reason the network's economics changed substantially after both the London upgrade and the switch to proof of stake.
When Gas Fees Are Cheapest
Because gas pricing tracks demand, timing a transaction can meaningfully reduce its cost. Gas tracking tools consistently show the same patterns:
Lowest fees: Saturday and Sunday mornings UTC. Both US and Asian markets are at their least active, and European traders have not yet opened for the week. This window often sees gas prices 40-70% lower than weekday peaks.
Highest fees: Weekday afternoons UTC, when US and European trading hours overlap and DeFi activity is highest.
Unpredictable spikes: Major NFT launches, airdrop claim periods, DeFi protocol upgrades, and sudden market moves can temporarily overwhelm block capacity at any hour. Checking a live gas tracker before a large transaction is always worthwhile.
If your transaction is not time-sensitive, setting a gas price threshold and waiting for fees to drop can save a meaningful percentage of the total cost — sometimes more than half during volatile periods.
How to Reduce Your Gas Fees
Several practical strategies can significantly lower what you pay without sacrificing security or access.
Time your transactions. Most Ethereum wallets, including MetaMask, display current gas prices. Set an alert or check a gas tracker and wait for the network to quiet down before submitting non-urgent transactions.
Use Layer 2 networks. Layer 2 solutions like Arbitrum, Optimism, and Base execute transactions off the main Ethereum chain, then batch-settle hundreds or thousands of them onto mainnet in a single transaction. Because you are sharing the cost of that one mainnet settlement across many L2 transactions, your individual fee drops dramatically. Swapping tokens on Arbitrum typically costs $0.01-$0.05 compared to $5-$50 for the equivalent swap on Ethereum mainnet — with no meaningful reduction in security.
Set a realistic gas limit. When submitting transactions, wallets estimate a gas limit automatically. You only pay for the gas actually consumed, not the full limit, so setting it accurately avoids accidentally paying more than necessary or having transactions fail from too low a limit.
Batch multiple operations. Some DeFi protocols and smart wallets let you combine several actions — approving a token and executing a swap, for example — into a single transaction. One base gas cost instead of two reduces total fees.
Use limit orders on decentralised exchanges. Some DEX aggregators offer limit orders that execute when your price target is hit. Because the execution happens automatically at a potentially quieter moment, you may benefit from lower gas prices than if you manually triggered the swap at peak congestion.
Do Other Blockchains Have Gas Fees Too?
Yes — every blockchain requires validators to do computational work, and every blockchain has some form of transaction fee to compensate them. But the amounts vary enormously.
Solana fees are typically less than $0.001 per transaction, a consequence of its high-throughput architecture and smaller validator set. BNB Chain, Avalanche, and Polygon offer fees in the $0.01-$0.05 range for most operations. These networks achieve lower costs by making different architectural trade-offs — some sacrifice decentralisation, others reduce the number of validators, others use different consensus mechanisms.
Ethereum mainnet fees are highest because of its scale, degree of decentralisation, and the security guarantees those properties provide. The validators who secure the network are numerous, independent, and globally distributed — that decentralisation comes at a throughput cost. Layer 2 networks are the ecosystem's answer: Ethereum-level security at a fraction of the cost, achieved by settling large batches of transactions on mainnet rather than each one individually.
The Bottom Line
Gas fees are not a flaw in Ethereum's design — they are a deliberate mechanism. They prevent spam (every computation has a real cost), compensate validators for securing the network, and, since EIP-1559, help regulate ETH's supply. The frustration comes not from their existence but from their unpredictability and the moments when congestion pushes costs high enough to make small transactions impractical.
Understanding how gas works puts you in control. Time your transactions, use Layer 2 networks when cost matters, know which operations are gas-heavy, and keep a gas tracker bookmarked. As Layer 2 adoption continues to grow, the experience of high mainnet fees is increasingly something you can opt out of rather than something you must accept.
For a broader view of where ETH sits in the market, the crypto market cap rankings show Ethereum's position relative to other assets in real time.
This article is for educational purposes only and does not constitute financial or investment advice. Cryptocurrency transactions and investments, including those involving ETH and Layer 2 network assets, carry significant risk including the potential loss of all capital. Always conduct your own research and consult a qualified financial adviser before making any financial decision.
Frequently asked questions
What is a gas fee in crypto?+
A gas fee is the charge for performing any operation on the Ethereum network. Every transaction — sending ETH, trading tokens, minting an NFT — requires computational work from the network. That work is measured in gas units, and the fee is the price per unit multiplied by the number of units used, paid in ETH.
Why are Ethereum gas fees so high?+
Ethereum gas fees are high when the network is congested — when many users compete to include their transactions in the next block. Validators prioritise transactions offering a higher priority fee. During popular NFT mints, DeFi liquidation events, or market crashes, fees can spike to $50 or more for a single transaction.
What is gwei?+
Gwei is the unit used to measure the price per unit of gas on Ethereum. One gwei equals one billionth of one ETH (0.000000001 ETH). Gas prices are quoted in gwei because the numbers would be impractically small if denominated in full ETH.
How can I avoid high Ethereum gas fees?+
The most effective options are: transact during off-peak hours (often weekend mornings UTC when US and Asian traders are less active); use Layer 2 networks like Arbitrum or Base, which offer fees a fraction of a cent; or set a gas limit and wait for fees to drop. Swapping on L2 DEXs can cost 100x less than on Ethereum mainnet.
Do other blockchains have gas fees?+
Yes, but most are far cheaper. Solana fees are typically a fraction of a cent. BNB Chain, Avalanche, and Polygon offer fees in the single-cent range. Ethereum mainnet fees are highest because of its security guarantees and congestion. Layer 2 networks inherit Ethereum security at much lower cost.
Our editorial team covers cryptocurrency market data, on-chain metrics and beginner education. Every guide is fact-checked against live market data from CoinMarketCap and Binance and reviewed for accuracy. Content is educational only and not financial advice. Learn about our data & methodology →
Track the market live
Real-time prices, market cap and trends for the top 100 coins.