CoinBrew CoinBrew
education · CoinBrew

Understanding Gas Fees: Why Crypto Transactions Cost Money

If you’ve ever tried to swap tokens during a bull market and gotten slapped with a $50-200 fee for a $500 transaction, you’ve met gas fees. They’re confusing, frustrating, and often the first thing that makes newcomers question whether crypto is worth using at all.

They’re also completely logical once you understand what you’re actually paying for. And in 2026, there are real, practical ways to dramatically reduce what you pay. Let’s break it all down.

What Are Gas Fees?

Gas fees are the payments you make to compensate the network’s validators (or miners, in proof-of-work systems) for the computational work required to process your transaction and include it in a block.

Think of the Ethereum network as a global computer. Thousands of independent machines worldwide run this computer. Every time you send ETH, swap tokens, or interact with a smart contract, you’re asking this global computer to do work. The people running those machines don’t work for free. Gas fees are how they get paid.

The name “gas” is an analogy: just as a car needs gasoline to run its engine, the Ethereum network needs gas to run its operations.

How Gas Works on Ethereum

Ethereum’s gas system has a few components worth understanding:

Gas Units

Different operations cost different amounts of gas. Simple ETH transfers cost 21,000 gas units. Token transfers (ERC-20) cost roughly 45,000-65,000 gas units. Complex DeFi interactions — providing liquidity, executing multi-step swaps — can cost 150,000-500,000+ gas units.

Gas units measure computational complexity, not dollar value. The actual cost in ETH depends on the gas price.

Gas Price (Before EIP-1559)

Originally, gas price was a pure auction: you bid what you’d pay per unit of gas, and miners prioritized higher bids. During congestion, bidding wars could spike prices dramatically.

EIP-1559: The 2021 Fee Market Reform

In August 2021, Ethereum implemented EIP-1559, which fundamentally changed how gas fees work:

Base Fee: A protocol-determined fee that every transaction must pay. The base fee is burned (destroyed), removing ETH from supply. It adjusts automatically based on block fullness — if blocks are more than 50% full, the base fee increases; below 50%, it decreases.

Priority Fee (Tip): An optional tip paid directly to validators to incentivize them to include your transaction faster. During high demand, a higher tip gets you in the next block. During low demand, you barely need a tip at all.

Max Fee: The maximum you’re willing to pay total (base fee + tip). MetaMask and other wallets set this automatically, but you can adjust it.

The formula:

Total Cost = Gas Used × (Base Fee + Priority Fee)

Example:

  • You swap tokens using 150,000 gas
  • Base fee: 20 gwei
  • Priority fee: 2 gwei
  • Total: 150,000 × 22 gwei = 3,300,000 gwei = 0.0033 ETH
  • At ETH = $3,000: cost = ~$9.90

During low-congestion periods, that swap might cost under $1. During peak congestion (NFT mints, major market events), the same swap can cost $50-200+.

Gwei: The Unit

Gwei is a denomination of ETH. 1 ETH = 1,000,000,000 gwei. Saying “gas is 20 gwei” means each unit of gas costs 20 billionths of an ETH. Gas is priced in gwei because base ETH would be impractically small numbers.

Why Gas Fees Spike

Understanding spikes means you can plan around them.

Network Congestion

Ethereum has a fixed block size (a limit on gas per block). When demand exceeds capacity — more people want to transact than the network can process — base fees rise. It’s supply and demand.

NFT Mints

Popular NFT launches are notorious gas spikers. Thousands of people try to mint simultaneously, bidding up gas to get in first. During major mints in 2021-2022, gas hit 1,000+ gwei (versus a “normal” 10-30 gwei). Late-night, early-morning EST on weekdays tends to be cheapest.

Memecoin Frenzies

When a new memecoin goes viral, thousands of traders rush to buy simultaneously. Same effect — bidding wars drive up gas for everyone on the network, even people doing unrelated transactions.

DeFi Liquidation Cascades

During sharp market drops, collateral across DeFi platforms gets liquidated simultaneously. Bots compete to execute liquidations (they earn a bounty), flooding the network with high-priority transactions.

Major Protocol Events

Token launches, governance votes with token claims, protocol upgrades — any event that drives mass simultaneous on-chain interaction will spike gas.

Checking Gas Prices Before You Transact

Before sending any significant Ethereum mainnet transaction, check:

Wallets like MetaMask and Rabby also display current gas estimates when you initiate a transaction. Rabby in particular shows a USD cost estimate, which is more intuitive than gwei.

Layer 2 Solutions: The Real Fix

Here’s the honest truth: for most users doing most things, Ethereum mainnet gas fees are not the right experience. Layer 2 networks (L2s) exist specifically to solve this, and in 2026, they’ve largely succeeded.

What Is a Layer 2?

An L2 is a separate blockchain that processes transactions off of Ethereum mainnet, then periodically “settles” batches of transactions back to mainnet. Users get:

  • 10-100x cheaper fees
  • Faster transaction confirmation
  • Same security guarantees as Ethereum (for the best L2s)

Think of it as a faster lane built alongside the highway — you’re still going to the same destination, but without the toll and traffic.

Types of L2s

Optimistic Rollups: Execute transactions off-chain and post compressed data to Ethereum. They “optimistically” assume transactions are valid unless challenged. Examples: Arbitrum One, Optimism (OP Mainnet), Base.

ZK-Rollups: Use zero-knowledge cryptographic proofs to validate transactions off-chain and post validity proofs to mainnet. Mathematically more elegant, faster finality for withdrawals. Examples: zkSync Era, StarkNet, Scroll, Polygon zkEVM.

Real Fee Comparisons (2026)

ActionEthereum MainnetArbitrumOptimism/BasezkSync
ETH transfer$0.50-5+$0.01-0.05$0.01-0.05$0.01-0.03
Token swap$5-100+$0.05-0.50$0.05-0.30$0.05-0.25
Complex DeFi tx$20-200+$0.20-2.00$0.15-1.50$0.10-0.80

The numbers speak for themselves. For anything involving regular DeFi usage, L2s are the right environment.

How to Get on an L2

  1. Bridge ETH from mainnet: Go to an official bridge like bridge.arbitrum.io or app.optimism.io/bridge. You’ll pay a one-time mainnet gas fee to bridge — then enjoy cheap transactions on L2 indefinitely.

  2. Buy directly on exchange: Coinbase lets you withdraw directly to Base. Some exchanges support direct Arbitrum or Optimism withdrawals. Check withdrawal networks before sending.

  3. Add the network to MetaMask: Use chainlist.org to add Arbitrum, Optimism, Base, or other L2s with one click.

Note: Bridging back to Ethereum mainnet takes time. Optimistic rollup withdrawals have a 7-day challenge period (though third-party “fast bridges” like Hop Protocol or Across circumvent this for a small fee). ZK-rollup withdrawals are faster — minutes to hours.

Practical Tips to Reduce Gas Fees Right Now

1. Time Your Transactions

Gas is cheapest during low network activity:

  • Weekday late nights / early mornings (EST): Traffic is lowest
  • Weekends can be unpredictable: Crypto doesn’t sleep, but generally Saturday nights after midnight EST are cheaper
  • Use Etherscan’s gas tracker history to see historical patterns

2. Use L2s for Regular Activity

If you’re regularly swapping, providing liquidity, or using DeFi, do it on Arbitrum, Optimism, or Base. Keep mainnet for large, infrequent transactions where security is paramount.

3. Batch Transactions

Some protocols and wallets let you batch multiple operations into one transaction. This amortizes the base overhead across multiple actions. Look for batch transaction tools like Furucombo or protocols that natively batch (Aave’s flashloan batch, for example).

4. Set a Gas Limit Manually

In MetaMask, you can edit the gas settings. Don’t reduce the gas limit (this causes failed transactions, which still cost gas). Instead, reduce the priority fee (tip) during low-congestion periods. You’ll wait slightly longer for confirmation but pay less.

5. Use Gas Tokens When Available

Historically, tokens like CHI and GST2 were “gas tokens” that let you store gas when prices were low and use it when prices were high. This mechanism was largely patched in EIP-3529, but alternative approaches emerge periodically.

6. Avoid On-Chain Activity During Major Events

NFT mints, token launches, market crashes — if you know something will drive congestion, delay non-urgent transactions. Unless your trade is time-sensitive, waiting 2 hours can save you $50+.

7. Use DEX Aggregators That Optimize Gas

1inch and Paraswap don’t just find better prices — they also optimize transaction structure to reduce gas consumption. The gas savings sometimes offset or exceed the aggregator fee.

8. Approve Exact Amounts, Not Unlimited

Many DeFi interfaces default to “unlimited approval” for tokens. This saves gas on future interactions but is a security risk (a compromised protocol can drain your wallet). Exact-amount approvals require slightly more gas management but are safer. Rabby Wallet makes this easy with its approval management UI.

Gas Fees on Other Chains

Gas fees aren’t unique to Ethereum — every blockchain has transaction costs, they just vary wildly:

  • Bitcoin: Transaction fees in satoshis per byte of data; typically $1-5 for regular transactions, can spike to $50+ during peak demand
  • Solana: ~$0.0001-0.001 per transaction, almost negligible
  • Polygon (PoS): ~$0.001-0.01 per transaction in MATIC
  • BNB Smart Chain: ~$0.05-0.50 per transaction in BNB
  • Avalanche: ~$0.10-1.00 per transaction in AVAX

The Ethereum mainnet + L2 ecosystem remains the most robust for DeFi, but if you primarily want cheap transactions, Solana and other high-throughput L1s have essentially solved the fee problem (with their own tradeoffs on decentralization).

The Future of Gas Fees

Ethereum’s roadmap (the “rollup-centric roadmap”) is explicitly designed to make L2 transaction costs approach zero:

  • EIP-4844 (Proto-Danksharding): Implemented in March 2024. Reduced L2 data costs by 10-100x by introducing “blob” data storage separate from calldata. Arbitrum fees dropped dramatically overnight.
  • Full Danksharding: The next phase. Will further increase blob capacity, pushing L2 costs even lower.
  • Statelessness: Long-term architectural change that reduces validator state burden, enabling higher throughput.

The direction is clearly toward near-zero fees for users operating on L2s. The question is timeline — Ethereum’s roadmap moves slower than announced targets, but the direction is correct.

For mainnet, significant fee reduction is harder — the cost is intentional (it ensures validators are economically incentivized). The design assumes that most users will migrate to L2s, and mainnet becomes a settlement layer for high-value transfers and L2 batch posting.


FAQ

Why did my transaction fail and I still paid gas? Gas fees compensate validators for computational work, even if a transaction fails. A failed transaction still consumed processing resources. The most common causes of failures: insufficient gas limit (set too low), slippage exceeded on swaps, or a smart contract condition not met. MetaMask’s simulation features can flag likely-to-fail transactions before you submit.

What’s the cheapest time to transact on Ethereum? Generally, late night to early morning EST on weekdays sees the lowest gas prices — roughly 12am-7am EST. This is when North American and European trading activity is lowest. Etherscan’s historical gas charts let you see typical patterns for specific days and hours.

Do I pay gas in ETH even on L2s? On Arbitrum, Optimism, and Base (all Ethereum L2s), yes — you pay fees in ETH even though you’re on a different chain. The ETH covers the cost of both executing your transaction on the L2 and the periodic settlement cost back to Ethereum mainnet. Some L2s (like zkSync) have introduced the ability to pay fees in other tokens, but ETH remains the primary fee token.

What happens if I set my gas too low? If you set the gas price (priority fee) too low, your transaction sits in the mempool until gas prices drop to your level — it’s pending, not failed. You can “speed up” by resubmitting with a higher fee or “cancel” by sending a 0 ETH transaction to yourself with the same nonce and a higher fee. If you set the gas limit too low, the transaction executes, hits the limit, fails, and you lose the gas paid.

Will gas fees ever go away completely? Not entirely — some cost to process transactions is economically necessary to prevent spam and compensate network operators. But for practical purposes, the combination of Ethereum L2s (already near-free) and high-throughput chains like Solana means “gas fees” as a user pain point are largely solved for most use cases. On L2s post-EIP-4844, typical DeFi transactions cost fractions of a cent. That’s essentially free.