Gas Fees Explained, and How to Pay Less
A gas fee is not a payment to a company. It is an auction for space in a block, and understanding the auction is how you stop overpaying.
Key points
- Gas measures computational work; the gas price is what you pay per unit.
- Since EIP-1559, the base fee is burned and only the priority fee reaches the validator.
- Fees are driven by demand, not by the value being sent.
- Timing, layer 2 networks and batching are the main ways to pay less.
Gas, gwei and the fee
Two separate quantities are involved and conflating them causes most of the confusion:
- Gas used is determined by what the transaction does. A simple ETH transfer is always 21,000 gas. A token transfer is typically 45,000–65,000. A complex DeFi interaction can exceed 300,000.
- Gas price, quoted in gwei, is determined by network demand and changes minute to minute.
Crucially, the fee has nothing to do with the amount being sent. Moving $5 and moving $5 million cost exactly the same, because the computational work is identical. This is why small transactions become uneconomic during congestion.
How EIP-1559 changed things
Before August 2021, users bid a gas price blindly and frequently overpaid by large margins. EIP-1559 restructured this:
- A base fee is set algorithmically per block, rising when blocks are more than half full and falling when they are less. It is burned — permanently destroyed, not paid to anyone.
- A priority fee (a tip) goes to the validator and determines your position in the queue.
- A max fee caps what you are willing to pay in total; anything unused is refunded.
The result is more predictable pricing and a visible burn mechanism that makes ETH's net supply fall during periods of high activity. It did not make fees cheaper — that is a function of demand, which EIP-1559 does not address.
Paying less
- Use a layer 2 network. This is by far the largest saving, typically 10–100×. Many exchanges now withdraw directly to major layer 2s, avoiding bridging.
- Time it. Fees follow predictable patterns, usually lowest at weekends and during Asian and European overnight hours. Non-urgent transactions can wait for a quiet period, and gas trackers show the current level.
- Set a lower max fee for anything not time-sensitive and accept a slower confirmation.
- Batch operations. Some interfaces let you combine approvals and swaps into a single transaction.
- Avoid unnecessary approvals. Each token approval is a separate transaction with its own fee.
- Simulate first. A failed transaction still consumes the gas it used. Wallets that simulate before sending prevent paying for failures.
- Consolidate small balances when fees are low rather than when you need them.
Common and expensive mistakes
Paying for a failed transaction. If a transaction reverts — slippage exceeded, insufficient balance, a contract condition unmet — the gas consumed up to the failure is still charged. This is not a bug; the network did the work.
Setting the gas limit too low. The transaction runs out of gas, fails, and you pay for the attempt. Wallets estimate this automatically and the estimate is usually right, but manual overrides are risky.
Stuck transactions. A transaction with too low a fee sits in the mempool indefinitely and blocks subsequent transactions from the same account, because nonces must be processed in order. The fix is to resubmit with the same nonce and a higher fee, which most wallets expose as “speed up” or “cancel”.
Ignoring fees on small amounts. A $30 fee on a $100 swap is a 30 % cost. If the network is busy, the correct action is frequently to wait or to use a different network rather than to proceed.
Frequently asked questions
Why do I pay gas on a failed transaction?
Because validators performed the computation regardless of the outcome. The network cannot distinguish useful work from work that turned out to fail, and refunding failures would make spam free.
Does sending more money cost more gas?
No. Gas prices computation, not value. A transfer of any size costs the same 21,000 gas. Complex contract interactions cost more because they do more work, not because more value is involved.
What is gwei?
A denomination of ETH: one billionth of one ETH. Gas prices are quoted in gwei because the amounts are tiny — a typical gas price of 20 gwei is 0.00000002 ETH per unit of gas.