4 min read

What Are Gas Fees?

You tried to send some ETH, and the wallet showed a “network fee” you didn’t expect. Or a transaction failed and you still got charged. Both moments lead to the same question, and the answer starts with a road trip.

Driving somewhere takes fuel. A short trip burns a little, a long one burns a lot, and the price per gallon changes depending on the day. Ethereum works the same way. Every action on the network takes computing work, measured in units called gas. The total you pay is the amount of gas used multiplied by the price per unit of gas.

The pieces, one at a time#

Gas measures work, not money. According to ethereum.org’s gas documentation, a standard ETH transfer uses 21,000 units of gas. More complex actions, like swapping tokens inside an app, use more.

Gwei is the unit the price is quoted in. One gwei is one-billionth of an ETH (0.000000001 ETH). It’s a bit like quoting fuel in cents per gallon instead of dollars.

Base fee is the minimum price per unit of gas that the network itself sets for each block. You can’t pay less and still get in. It goes up when the network is busy and down when it’s quiet, by at most 12.5% from one block to the next.

Priority fee (the “tip”) is an extra amount per unit of gas that goes to the validator who includes your transaction. A bigger tip can get you processed sooner when things are crowded.

Max fee is the most you’re willing to pay per unit of gas. Your wallet usually sets it for you. If the actual base fee plus tip comes in lower, the difference is refunded.

Why the base fee gets burned#

Before August 2021, Ethereum ran something like an auction: you guessed a price, and if you guessed low you waited. The London upgrade on Aug 5, 2021 introduced a change called EIP-1559, which set up the base fee plus tip system described above.

The twist is that the base fee isn’t paid to anyone. It’s destroyed, or “burned.” Only the tip goes to the validator. The design aims to make fees more predictable, since your wallet can see the current base fee instead of guessing.

A worked example#

Ethereum.org uses these illustrative numbers. Say the base fee is 10 gwei and you add a 2 gwei tip, for a simple 21,000-gas transfer:

  • 21,000 × (10 + 2) = 252,000 gwei
  • 252,000 gwei = 0.000252 ETH

Of that, the base fee portion is burned and the tip goes to the validator. What that costs in dollars depends on the price of ETH when you send, which is why the same transaction can feel cheap one week and expensive the next.

Why fees jump around#

Each block has a target size of half its gas limit, according to ethereum.org. When demand pushes blocks above that target, the base fee climbs block after block until demand cools. A popular token launch or a sharp market move can send fees up quickly. Quiet hours tend to be cheaper.

Layer 2 networks are another route. These are separate networks that bundle many transactions together and record them on Ethereum. Ethereum.org’s layer 2 page says transactions on them cost a fraction of mainnet fees. The trade-off is extra steps: moving funds onto and off a layer 2 involves bridges and its own fees, and each network has its own risks.

Other blockchains have their own fee systems with different names. The basic idea, paying for space and processing, is the same. (For how Ethereum fits together more broadly, see what Ethereum is.)

Mistakes that cost you gas#

  • Failed transactions still cost money. Ethereum.org notes you pay for gas whether a transaction succeeds or fails, because the network still did the work.
  • Holding zero ETH. Even if you want to send a different token, the fee on Ethereum is paid in ETH. With none, the token is stuck until you add some.
  • Fake “gas refund” messages. Scammers sometimes promise to refund fees or unlock stuck transactions if you connect your wallet or share your seed phrase. No real refund process needs either. Our guide to crypto scams covers this pattern.
  • Setting the max fee too low. The transaction may sit waiting until the base fee drops.

None of this is a suggestion to transact at any particular time; it’s a description of how the fee system works so the number on your screen makes sense. If wallets are still new to you, start with what a crypto wallet is.