Understanding Gas Fees on Ethereum and Layer 2s

By Bram de Vries — Amsterdam-based crypto educator (6 years). Published: Mar 8, 2026

Last reviewed: Jul 30, 2026

Meta: What gas really is, why fees spike, how EIP-1559 works, and how to save costs on L2s like Arbitrum, Optimism, and Base.

What gas actually is

On Ethereum, every operation consumes gas units—a measure of computational work in the EVM. Transferring ETH, approving a token, swapping on a DEX—each action has a known gas cost expressed in units.

Gas units are priced in gwei (a fraction of ETH). So your total fee = gas units × gas price (gwei) × 1e-9 ETH. Complex contracts (like multi-step swaps) consume more gas units than a simple transfer.

EIP‑1559: base fee + priority fee

Since EIP‑1559, each block has a base fee that rises when blocks are crowded and falls when there is slack. Users add a small priority fee (tip) to incentivize inclusion. Your wallet typically suggests both.

If you submit a max fee far above the final base fee, you don't overpay: the protocol refunds unused max fee to you, keeping only what was required plus your chosen tip.

Why fees spike

  • NFT mints & hot launches: Thousands of users compete for the same block space.
  • Market volatility: Liquidations and arbitrage bots crowd the mempool.
  • Popular airdrops: Claim windows create synchronized surges.

During spikes, use non-urgent gas presets or wait. Many actions can be done later on a cheaper L2.

Layer 2s: cheaper by design

L2 networks like Arbitrum, Optimism, and Base batch many transactions and post compressed data to Ethereum. This makes typical swaps and approvals 10–50× cheaper, with Ethereum-grade security inherited via rollup proofs or fault challenges.

You still pay two components: L2 execution fees (tiny) and a share of the cost to publish data on L1. Net result is usually a fraction of mainnet fees.

Timing your transactions

Use public trackers (e.g., Etherscan Gas Tracker) to see current base fee and predicted ranges (low/average/high). Off-peak times in CET often include early mornings and weekends, but always verify live data.

If a transaction isn't urgent, set a lower max fee and let it get included when the base fee drops. For time-sensitive actions (e.g., auctions), prefer a slightly higher tip to prioritize inclusion.

Custom gas in popular wallets

  • MetaMask: Click “Edit” on gas. Choose a preset (Low/Market/Aggressive) or set Advanced parameters (max base fee and priority fee). Simulations/previews help catch odd approvals.
  • Trust Wallet: On supported chains, you can edit gas price and limit. If a dApp suggests extreme limits, pause and verify contract sources first.

Everyday savings checklist

  • Prefer L2 for routine swaps and approvals; bridge funds during off‑peak hours.
  • Batch actions where possible (approve once for a reasonable amount, then swap).
  • Revoke stale token allowances monthly to reduce risk exposure.
  • Avoid hype windows (mass mints, viral launches) unless necessary.

Bottom line: Understand base vs priority fees, use L2s for day‑to‑day, and time transactions with a tracker. The result is lower costs without compromising safety.