Gas fees are what you pay a blockchain to process your transaction. Every action — sending tokens, swapping on an exchange, minting an NFT — uses the network's shared computing resources, and gas is how you pay for them. The fee changes from minute to minute because block space is limited, so the price rises when many people want in at once and falls when the network is quiet.
Why gas exists
A blockchain like Ethereum is a shared computer that thousands of machines run in lockstep. Its capacity per block is capped, and that space has to be rationed somehow. Charging a fee does two jobs:
- It prevents spam. If computation were free, anyone could flood the network with useless transactions.
- It allocates scarce space. When demand is high, people who value their transaction more can pay more to get in sooner.
The fee is called gas because it is measured in small units that meter how much work your transaction asks the network to do.
How the fee is calculated
Two things set the cost:
- Gas used — how much work your transaction takes. A simple transfer is cheap (on Ethereum, 21,000 gas). A complex smart-contract interaction, like a multi-step DeFi trade, uses far more.
- Gas price — how much you pay per unit, quoted in gwei (one gwei is a billionth of ETH).
Roughly: fee = gas used × gas price. You control the first by choosing which action to do; the second moves with the market.
Base fee and priority fee
Since an upgrade called EIP-1559 (2021), Ethereum splits the gas price into two parts:
- Base fee. Set automatically by the network based on how full recent blocks were. If blocks are more than half full, it rises for the next block; if emptier, it falls. The base fee is burned (destroyed), not paid to anyone.
- Priority fee (tip). An extra amount you add to incentivise validators to include your transaction first.
So a wallet's "fast / normal / slow" options are really just different tips on top of the current base fee. When people talk about "gas being high," they usually mean the base fee has spiked because blocks are full.
Why fees change so much
Gas is a live auction for a fixed amount of space, so the price tracks demand:
- Network congestion. A popular NFT mint, a token launch, or heavy trading during a market move all compete for the same blocks and push the base fee up.
- Time of day. Fees often ease when major markets are asleep and rise during active hours.
- Complexity of what you do. Interacting with a contract that touches many other contracts costs far more gas than a plain transfer.
- Which chain you use. Fees differ enormously between networks (see below).
Because the base fee reacts block by block (about every 12 seconds on Ethereum), quotes can change while you are still deciding.
Fees on other chains and layer 2s
Ethereum's main chain (layer 1) is the expensive one precisely because it is the most used and most secure. Other networks are much cheaper:
| Where | Typical cost of a simple action | Why |
|---|---|---|
| Ethereum layer 1 | Cents to several dollars, spiking higher when busy | Most demand, limited block space |
| Layer 2 rollups (Arbitrum, Base, Optimism) | A few cents | They batch many transactions and post compressed data to Ethereum |
| High-throughput L1s (Solana, others) | Fractions of a cent | More capacity per block |
A 2024 Ethereum upgrade (EIP-4844, "blobs") gave rollups a cheaper way to post their data to Ethereum, cutting layer-2 fees sharply. For most everyday users, doing the same action on a layer 2 instead of layer 1 is the single biggest fee saving available.
How to pay less
- Use a layer 2 for routine transfers and swaps instead of Ethereum's main chain.
- Transact when it's quiet. Lower demand means a lower base fee.
- Batch or simplify. Fewer, combined actions beat many small ones.
- Set a sensible tip. If you are not in a hurry, a smaller priority fee still gets you included, just a little later.
- Keep some native coin. You pay gas in the chain's own token (ETH on Ethereum), so a transaction can fail if you cannot cover the fee.
A note of caution: fee levels and upgrade details change quickly, so treat specific numbers here as rough guidance and check current conditions in your wallet before you transact.
Key takeaways
- Gas fees pay for the limited computing and block space a blockchain provides.
- The fee is roughly gas used × gas price — work done times price per unit (quoted in gwei).
- Since EIP-1559, the price splits into an automatic base fee (burned) and a priority fee (tip to go first).
- Fees change because block space is auctioned in real time, so they rise with congestion and fall when quiet.
- Layer 2s and other chains are far cheaper than Ethereum's main chain for the same action.
- To save, use a layer 2, transact in quiet periods, simplify actions, and keep enough native coin for gas.
Get the weekly commit
New blockchain deep dives every week.

