Ethereum Gas Estimator

Estimate gas fees for common DeFi transactions across Ethereum mainnet and major L2s. Select a transaction type, set your ETH price and network, and instantly see the cost difference between L1 and L2 networks — often a 50-100x saving by bridging to Arbitrum or Optimism.

Gas Cost Calculator

Select a transaction type and network to see estimated gas costs. All estimates are based on typical gas usage — actual costs may vary by up to 20%.

Gas Units
21,000
Ethereum L1
$1.05
Arbitrum
$0.02
Optimism
$0.02
Base
$0.01
L2 Savings
~50x cheaper

Common Transaction Cost Comparison

Costs at 20 Gwei on Ethereum and typical L2 gas prices, with ETH at $2,500.

Transaction Gas Units Ethereum L1 Arbitrum Optimism Base

When to Use L2 vs Mainnet

Use Ethereum Mainnet When
  • Transaction is time-sensitive and needs maximum security finality
  • Counterparty requires mainnet settlement (large OTC trades)
  • Protocol or asset only exists on mainnet
  • Amount is large enough that 0.01% security premium outweighs gas savings
Use an L2 When
  • You are doing multiple DeFi transactions (swap, LP, borrow)
  • Transaction value is under $10,000 — gas savings are proportionally huge
  • You are testing a new protocol or strategy with small amounts
  • You want faster transaction confirmations (2-3s vs 12s)
Save on Gas — Bridge to an L2

Move assets to Arbitrum, Optimism, or Base in minutes. Our bridge comparator finds the cheapest route.

External links may be affiliate links. We may earn a commission at no cost to you.

Related Tool
Staking Rewards Calculator
Calculate staking rewards across 17 protocols — ETH, SOL, ATOM, DOT. See daily, monthly, and yearly projections.
Related Tool
Bridge Fee Comparator
Compare bridge fees across Stargate, Across, Hop, and Orbiter. Find the cheapest cross-chain route in seconds.