Every action on Ethereum — sending ETH to a friend, swapping tokens on a DEX, minting an NFT — carries a toll called a gas fee. Gas is you paying for computation: a blockchain is thousands of computers all executing and verifying the same transactions, and gas is the meter that bills you for your share of that work. The system confuses almost everyone at first (why is it priced in “gwei”? why did my failed transaction still cost money?), so here’s the complete picture — including how to pay as little as possible.

What gas actually pays for

Gas does two jobs at once. First, it compensates the network: since the Merge in September 2022, Ethereum has been run by validators who stake ETH and process transactions, and gas fees are part of their revenue. Second — and this is the part beginners miss — gas is spam protection. A network that let anyone run any code for free would drown in junk within minutes; attaching a real cost to every operation makes attacking the network expensive. The more complex your transaction, the more gas units it consumes: a plain ETH transfer is the cheapest thing on the network (21,000 gas units), while a multi-step DeFi swap can consume ten times that.

Gwei: the unit everyone trips over

Gas prices are quoted in gwei, a small denomination of ETH: 1 gwei = 0.000000001 ETH (one billionth). Your fee is a simple multiplication:

Fee = gas units used × gas price (in gwei)

Example: a basic transfer uses 21,000 units. At a gas price of 10 gwei that’s 210,000 gwei = 0.00021 ETH — with ETH around $1,875 (late July 2026), roughly $0.40. At 100 gwei, a congested moment, the same transfer costs about $4. Same transaction, same network, ten times the price. That volatility is the whole story of gas.

EIP-1559: the base fee gets burned, the tip goes to the validator

Since August 2021 (an upgrade known as EIP-1559), Ethereum’s fee market no longer works as a blind auction. Every transaction’s fee now has two parts:

  • Base fee — set automatically by the protocol, block by block, depending on how full recent blocks were. When blocks run above target capacity the base fee rises; when they’re empty it falls. Crucially, the base fee is burned — destroyed, paid to no one. This is why heavy network usage shrinks ETH’s supply, and why gas shows up in monetary-policy debates.
  • Priority fee (tip) — an optional extra that motivates validators to include your transaction sooner. This part goes to the validator.

Your wallet estimates both and sets a max fee — the ceiling you’re willing to pay; if the base fee drops before confirmation, the difference is refunded automatically. You don’t need to compute any of this by hand. You do need to understand what the numbers mean when the wallet shows them.

Why fees spike: block space is scarce real estate

Ethereum mainnet fits only a limited amount of computation into each block, and a new block arrives roughly every 12 seconds. That fixed supply meets wildly variable demand. When a hyped NFT mint opens or a market panic sends everyone rushing to sell at once, thousands of transactions compete for the same space — and the base fee ratchets up until enough users give up. It’s a pure supply-and-demand auction for block space, rerun every 12 seconds. At the mania peaks of 2021, a single complex swap on mainnet could cost $50–$200+; in quiet periods the same swap might clear for a few dollars. Nothing about the network changed — only the crowd did.

Mainnet vs. layer-2 vs. other chains

The gas problem is exactly why layer-2 networks (L2s) exist. An L2 like Arbitrum, Base or Optimism executes transactions off the main chain, then posts compressed proofs back to Ethereum for security — splitting one mainnet fee across hundreds of bundled transactions. Ballpark figures as of mid-2026:

Venue Simple transfer Token swap The trade-off
Ethereum mainnet ~$0.20–$5, demand-dependent ~$1–$20+ Maximum security and liquidity; expensive when busy
Ethereum L2s (Arbitrum, Base, Optimism) A few cents Usually under ~$0.50 Inherits Ethereum security; extra moving parts (bridging)
Other layer-1s (Solana and peers) Fractions of a cent Fractions of a cent to cents Cheap by design; a different security and decentralization model

These are indicative ranges, not quotes — check a live tracker before transacting. The structural point stands: mainnet fees are the price of scarce security; L2 fees are what using Ethereum normally feels like. More on the ecosystem in what is Ethereum.

The painful quirk: failed transactions still cost gas

If your transaction fails — most often because it ran out of gas mid-execution, or a DEX trade couldn’t fill at your price — you still pay. The network did the work up to the point of failure, and validators don’t labor for free. The fee is smaller than a completed complex transaction (execution stopped early), but it isn’t zero. Two habits prevent most cases: don’t lower the gas limit your wallet suggests (the limit is a cap, not the price — unused limit is refunded), and on DEX trades use sane slippage settings so the trade can actually execute.

Slow, normal, fast: what the speed tiers mean

When you send crypto, most wallets offer speed tiers — slow / average / fast, or custom. All three pay the same base fee; what differs is the priority fee. A bigger tip makes validators pick your transaction over others when space is tight. Honest guidance: moving money between your own wallets? Take the slow tier and wait a minute or two. Racing a liquidation or a time-sensitive mint? Pay up. And never blindly accept a “fast” quote during a congestion spike without checking what it costs in dollars.

How to actually pay less

  1. Use an L2 for routine activity. Swaps, transfers and DeFi on a major L2 cost cents. This is the single biggest saving available.
  2. Avoid peak hours. Congestion follows US and European market hours; weekends and late-night UTC are historically quieter. Check a gas tracker before non-urgent transactions — your wallet usually has one built in, and Etherscan publishes a live one.
  3. Batch your moves. One well-planned swap instead of three impulsive ones means one base fee instead of three.
  4. Set alerts, not habits. Gas trackers can notify you when the base fee drops below a level you choose.
  5. Keep a small ETH buffer on every network you use. The saddest gas story is having funds you can’t move because you spent your last cent of ETH.

Where to go next

Put it into practice with how to send crypto safely, understand the network itself with what is Ethereum, and look up any term in the glossarygas limit and mempool are the natural next two.

This guide is educational only and is not financial advice. Network fees are highly variable and the figures above are indicative mid-2026 ranges, not quotes. Read our full disclaimer.