Hashtag Web3 Logo

Gas Fees: Why They Exist

8 min
beginner

Gas is not a fee - it is a unit of computation

Every operation the EVM performs costs a specific amount of gas. Simple operations cost little gas. Complex operations cost more.

OperationGas costExample
Transfer ETH21,000 gasSend ETH to another wallet
Transfer ERC-20 token~65,000 gasSend USDC to someone
Uniswap swap~150,000 gasSwap ETH for USDC
NFT mint~100,000-300,000 gasMint a new NFT
Deploy a contract~1,000,000+ gasDeploy a new smart contract

The amount of gas an operation needs is fixed. What changes is the price per unit of gas, which goes up when the network is busy.

How the fee is calculated

Since August 2021 (EIP-1559), Ethereum uses this formula:

Gas Used 21,000 for a transfer × Base Fee + Tip Set by network demand = Total Fee (in ETH) 21,000 × 30 gwei = 0.00063 ETH

Base fee: Set automatically by the protocol. Goes up when blocks are full, goes down when they are not. This portion is burned (permanently destroyed). Nobody receives it.

Priority tip: An optional tip you add to incentivize validators to include your transaction faster. During busy periods, higher tips get processed first.

Why fees spike

Ethereum can process about 15-30 transactions per second. When demand exceeds this, users bid against each other for block space. Fees rise until enough people stop transacting.

Events that cause fee spikes:

  • Popular NFT mints: When a hyped NFT collection launches, thousands of people try to mint at the same time
  • Market crashes: Everyone rushes to sell or move funds to safety
  • New token launches: Speculators race to buy new tokens early
  • Airdrop claims: When a protocol distributes free tokens, everyone claims at once

During normal periods, a simple ETH transfer costs $0.50-2. During a fee spike, the same transaction can cost $20-100.

How to pay less

StrategyHow it works
Use Layer 2 networksArbitrum, Optimism, and Base process transactions 10-100x cheaper
Time your transactionsFees are lowest on weekends and early morning (US time)
Set a gas limitMetaMask lets you set a maximum fee — your transaction waits until fees drop
Batch transactionsSome protocols let you combine multiple operations into one transaction
Use gas tracking toolsSites like etherscan.io/gastracker show current fees in real-time

The burn mechanism

Before EIP-1559, all fees went to miners. Now, the base fee is burned. In high-usage periods, more ETH is burned than created by new block rewards. This makes ETH deflationary — the total supply decreases.

Since EIP-1559 launched, over 4 million ETH has been burned (worth billions of dollars). Whether ETH is inflationary or deflationary in any given period depends on how busy the network is.

Key takeaways

  • Gas is a unit of computation. The price per unit depends on network demand.
  • Total fee = gas used × (base fee + priority tip). The base fee is burned.
  • Fees spike during high-demand events (NFT mints, market crashes).
  • Layer 2 networks are 10-100x cheaper than Ethereum mainnet.
  • Use gas trackers and time transactions to save money.

Quiz: Gas Fees: Why They Exist

1 / 5

Why do gas fees exist?