Skip to content

Gas Fees

Quick read: 3 minutes

Gas fees are the costs to transact on a blockchain. Every time you send crypto, swap tokens, or mint an NFT, you pay gas. Here’s what you need to know.

Think of gas like gasoline for your car. You need it to make things move. On blockchains, gas pays for the computational work to process your transaction.

Why gas fees exist:

  • Pay validators who secure the network
  • Prevent spam by making abuse expensive
  • Allocate space during busy times
TermWhat it means
GasThe units of work your transaction needs
Gas priceCost per unit (quoted in gwei)
Gas feeTotal cost: gas used × gas price
GweiTiny fraction of ETH (1 gwei = 0.000000001 ETH)

Since 2021, Ethereum fees have two parts:

Base fee: The minimum price, automatically adjusts with demand. When networks busy → fees go up. When quiet → fees go down. This part gets burned (deleted forever).

Priority fee (tip): Extra you pay to jump the queue. During busy times, higher tip = faster transaction. Set to zero = wait longer.

Formula: Gas Fee = Gas Used × (Base Fee + Tip)

TransactionGas needed
Simple ETH send21,000
Token transfer~65,000
Token swap150,000-300,000
NFT mint50,000-200,000+

Set limit too low = transaction fails (you still pay). Set higher = unused gas refunded.

Network demand is the #1 factor:

  • US/European business hours = peak fees
  • Weekends = lower fees
  • Big NFT drops or market swings = spikes

Transaction complexity: Simple transfers cost less. Complex DeFi swaps cost more.

Layer 2 (L2) networks like Arbitrum and Optimism process transactions off main Ethereum, then bundle them together.

Result: Fees drop 90-99%. A $5 swap on mainnet might cost $0.05 on Arbitrum.

How L2s work:

  1. Move assets to L2 (one mainnet transaction)
  2. Transact cheaply on L2 (cents)
  3. Withdraw to mainnet when needed
  1. Transact early morning UTC or weekends, fees are lowest
  2. Avoid big NFT drops and market volatility, that’s when fees spike
  3. Use wallet fee estimators, most wallets calculate for you
  4. Use Layer 2, dramatically cheaper for frequent use
  5. Set max fees, wallets let you cap spending; unused refunds
  • Gas fees are unavoidable, budget for them
  • Fees fluctuate with demand, timing matters
  • Layer 2 can cut costs 90%+
  • Your wallet handles the math, you just approve transactions
  • Start on L2 networks to learn without spending much

Next up: 1.5 Wallets and Custody