Gas Fees Explained: What They Are and Why They Change

Every transaction on a blockchain costs a small fee paid to the network — this is the gas fee. It compensates validators for the computation they perform, and it fluctuates with network demand. On Ethereum, gas fees can range from a few cents during quiet periods to hundreds of dollars during peak activity. Layer 2 networks exist largely to solve this problem.

What “gas” actually measures

Gas is the unit that measures the computational effort a transaction requires. A basic ETH transfer consumes exactly 21,000 gas. A smart contract interaction — say, swapping tokens on a DEX — might consume 150,000 to 300,000 gas depending on how complex the contract logic is. Gas is denominated in gwei, where one gwei equals one billionth of one ETH.

Your total fee is: gas units × gas price in gwei. A 21,000-gas transfer at 20 gwei costs 0.00042 ETH. At $3,000/ETH that is $1.26. At 150 gwei during a congestion spike, the same transfer costs $9.45 — and a complex DeFi interaction at that price could exceed $100.

How EIP-1559 changed the fee model

Before August 2021, Ethereum used a simple first-price auction: you bid a gas price, validators picked the highest bids. This worked but was unpredictable and wasteful.

EIP-1559 replaced this with a two-component structure:

  • Base fee: set algorithmically by the protocol. It rises when blocks are more than 50% full and falls when they are less than 50% full. This base fee is burned — permanently removed from the ETH supply — not paid to validators.
  • Priority fee (tip): a voluntary payment directly to the validator to prioritize your transaction. During calm periods, even a 1 gwei tip is enough. During congestion, users may bid 10–50 gwei to jump the queue.

The predictability improvement is real: wallets can now estimate the base fee accurately for the next block because the protocol adjusts it gradually. The volatility problem is not eliminated — sustained demand still drives the base fee up quickly — but users no longer wildly overbid due to uncertainty about what others are paying.

Why fees spike

Ethereum's base layer processes roughly 15 transactions per second. When demand exceeds that capacity — during popular NFT mints, new DeFi protocol launches, or market crashes that trigger mass liquidation activity — the base fee rises aggressively. The EIP-1559 algorithm can double the base fee every 8 consecutive full blocks. At 12 seconds per block, that is a doubling every 96 seconds in the worst case. A fee of 20 gwei can reach 320 gwei in under ten minutes of sustained full blocks.

This is not a bug — it is the mechanism that clears the market. High fees price out low-urgency transactions until supply and demand rebalance.

Layer 2 networks and the cost reduction

Layer 2 networks address the gas fee problem structurally rather than at the margins. Networks like Arbitrum, Optimism, and Base execute transactions off the Ethereum mainnet, batch thousands of them together, and post a single compressed proof to Ethereum. The Ethereum gas cost is divided across all transactions in the batch, reducing per-transaction costs by 90–99%.

A swap that costs $15 on Ethereum mainnet typically costs $0.05–$0.30 on a Layer 2. The trade-off is a slight delay for finality (withdrawals back to mainnet take minutes to hours depending on the network), and a different trust model. Optimistic rollups assume transactions are valid and allow a challenge window; ZK rollups post cryptographic proofs that validity is guaranteed immediately.

Gas estimation tools

Most modern wallets (MetaMask, Rabby, Coinbase Wallet) show a real-time gas estimate before you confirm. They break out the three values: base fee, recommended tip, and total. For large transactions where fee timing matters, external tools provide more detail:

  • Etherscan Gas Tracker — shows current fast/standard/slow tiers and 7-day history
  • Blocknative Gas Estimator — real-time mempool analysis with confidence intervals
  • GasNow (archived) / Ultrasound.money — historical burn and fee data

Gas fees on Ethereum are statistically lowest on weekend mornings UTC, when North American and Asian users are offline. For non-urgent transactions, waiting for off-peak hours can cut costs by 50–80%.

Gas on other Layer 1 networks

Ethereum is not the only chain with a gas model. Solana charges fees in SOL and structures them differently — a base fee per signature rather than per compute unit — typically sub-cent even for complex transactions. Other Layer 1 chains have their own native fee tokens and mechanisms, but the underlying logic is the same: computational work costs money, and congestion raises the price.

Gas fees on ChainClarity

  • Ethereum — the network where gas fees and EIP-1559 originated
  • Layer 2 — how rollups cut transaction costs dramatically
  • Layer 1 — the base blockchain layer where settlement happens
  • Smart contracts — the code that drives complex gas consumption
  • Solana — an alternative Layer 1 with a different fee structure

Frequently asked questions

What are gas fees in crypto?

Gas fees are payments made to the validators (or miners) who process and confirm your transaction on a blockchain. The fee compensates them for the computational work required. On Ethereum, gas is measured in gwei (one billionth of one ETH). A simple ETH transfer uses 21,000 gas units; a complex DeFi interaction might use hundreds of thousands.

What changed with EIP-1559?

EIP-1559, activated in August 2021, replaced Ethereum's simple auction model with a two-part fee: a base fee set by the protocol and a priority tip you add voluntarily to move up the queue. The base fee is burned (removed from circulation) rather than paid to validators, making ETH slightly deflationary during high-activity periods. The tip goes to the validator. This made fees more predictable — you know the minimum the network requires — but the base fee still rises sharply when blocks are full.

Why do gas fees spike so dramatically?

Gas fees spike when demand for block space exceeds supply. Ethereum processes roughly 15 transactions per second. During NFT mints, DeFi yield opportunities, or market volatility, thousands of users compete for the same limited slots. The base fee algorithm doubles every 8 blocks of sustained full capacity, which can push fees from $2 to $200 in under an hour.

How much cheaper are Layer 2 networks?

Layer 2 networks like Arbitrum, Optimism, and Base typically charge 5–50 cents for transactions that would cost $5–$50 on Ethereum mainnet — a 90–99% reduction. They achieve this by batching thousands of transactions off-chain and posting a single compressed proof to Ethereum. You still pay a small share of the Ethereum gas cost for the batch settlement, but it is divided across many users.

How can I estimate or reduce my gas fees?

Gas estimators built into wallets (MetaMask, Rabby) show real-time fee estimates. External tools like Etherscan's Gas Tracker or Blocknative's Gas Estimator show historical patterns — fees are typically lowest on weekday early mornings UTC. For non-urgent transactions, switching to a Layer 2 network is the most effective cost reduction. Setting a low priority tip and waiting is viable for transactions that can tolerate a delay of hours.

New whitepapers explained, weekly

Plain-English breakdowns of new crypto projects, delivered when they drop. No price predictions, no hype — just clear analysis you can actually use.

First look

Each whitepaper we add to the library lands in your inbox before it goes live.

Reader picks

See which projects the ChainClarity community is reading and discussing each week.