Gas Fees
Gas is the unit of computational effort on Ethereum. Total fee = gas limit × gas price. L2 networks reduce fees 10–100x vs mainnet.
Why This Matters in Web3
Why: Gas fees determine the cost of every on-chain transaction. High fees can make small trades uneconomical; L2 solutions have made DeFi accessible to more users.
How: Enter gas limit, gas price (gwei), and ETH price. Select transaction type and L2 network to compare fees across chains.
- ●EIP-1559 base fee burns ETH
- ●L2 fees 10–100x lower
- ●Typical limits: 21K transfer, 150K swap
📋 Quick Examples — Click to Load
⛽ L1 vs L2 Fee Comparison
📈 Fee vs Gas Price
📊 Fee by Tx Type
🥧 Network Fee Share
For educational and informational purposes only. Verify with a qualified professional.
₿ Blockchain Facts
Gas fees on Ethereum can spike to $50+ during NFT mints and airdrops.
Polygon fees are often under $0.01 for simple transfers.
Gas is the unit of computational effort on Ethereum. Total fee = gas limit × gas price. 1 ETH = 10^9 gwei. EIP-1559 introduced base fee (burned) and priority fee. L2 networks (Arbitrum, Optimism, Base, Polygon) batch transactions and reduce fees 10–100x vs mainnet.
Sources: EIP-1559, Ethereum.org, Arbitrum, Optimism.
Key Takeaways
- • Fee = gas limit × gas price. Gas limit is max; gas price is your bid.
- • L2 networks reduce fees 10–100x. Use Arbitrum, Base, or Polygon for cheaper txs.
- • EIP-1559: base fee burns, priority fee goes to validators.
- • Check gas trackers before major transactions; fees vary by congestion.
Did You Know?
How Does Gas Work?
Gas Limit
Max gas you're willing to spend. Unused gas is refunded. Too low and tx fails.
Gas Price (Gwei)
Your bid per unit of gas. Higher = faster inclusion. 1 gwei = 10^-9 ETH.
Typical Limits
Transfer: 21K. Swap: 150K. NFT mint: 200K. Contract deploy: 500K.
Expert Tips
Gas Limit by Transaction Type
| Transaction | Gas Limit |
|---|---|
| transfer | 21,000 |
| swap | 150,000 |
| nft mint | 200,000 |
| contract deploy | 500,000 |
Frequently Asked Questions
What is gas on Ethereum?
Gas is the unit of computational effort on Ethereum. Each operation costs gas. Total fee = gas limit × gas price. Gas limit is the max you're willing to spend; gas price (in gwei) is what you bid. 1 ETH = 10^9 gwei.
How is gas fee calculated?
Fee (ETH) = Gas Limit × Gas Price (gwei) / 10^9. Fee (USD) = Fee (ETH) × ETH Price. Example: 21,000 gas × 30 gwei = 0.00063 ETH. At $3,500/ETH that's ~$2.21.
What is EIP-1559?
EIP-1559 introduced a base fee (burned) and priority fee (to miners). Users set max fee and max priority fee. The base fee adjusts per block based on demand, making fee estimation more predictable.
Why are L2 fees cheaper?
Layer 2 networks (Arbitrum, Optimism, Base, Polygon) batch transactions and post proofs to L1, drastically reducing per-transaction cost. Fees are typically 10–100x lower than Ethereum mainnet.
What gas limit for a simple swap?
ETH transfer: 21,000. DEX swap: ~150,000. NFT mint: ~200,000. Contract deploy: ~500,000. These are typical values; complex transactions may need more.
When are gas fees lowest?
Gas fees are typically lowest during weekends and off-peak hours (US night). Check gas trackers before major transactions. L2 networks have consistently low fees regardless of L1 congestion.
Key Statistics
Official Data Sources
⚠️ Disclaimer: This calculator is for educational purposes only. Actual gas fees vary by network congestion. Not financial advice.
Related Calculators
Crypto DCA Simulator Calculator
Simulate dollar-cost averaging into crypto. Total invested, total value, average cost basis, ROI, DCA vs lump sum comparison.
Crypto & BlockchainCrypto Portfolio Rebalancer
Calculate rebalancing trades for crypto portfolio. Current vs target allocation, buy/sell amounts, before/after pie charts, cost estimate. Threshold vs...
Crypto & BlockchainDeFi Yield Farming APY Calculator
Calculate APY from APR, total yield, yield after gas costs, impermanent loss estimate, and net profit. Supports daily, weekly, monthly compounding.
Crypto & BlockchainMining Profitability Calculator
Calculate mining revenue, electricity costs, net profit, break-even days, and ROI for Bitcoin, Ethereum, Litecoin.
Crypto & BlockchainNFT Royalty & Marketplace Fee Calculator
Calculate creator earnings, platform fees, and buyer costs for NFT sales. Compare OpenSea, Blur, LooksRare, Magic Eden. Includes ERC-2981 royalty info and...
Crypto & BlockchainAsteroid Impact Energy Calculator
Calculate asteroid impact energy, crater size, Torino Scale, and effects. Based on NASA/Purdue Impact Earth! model. Compare to Chicxulub, Tunguska...
Astronomy