Estimate Ethereum-style transaction gas fees in Gwei, ETH, and USD for transfers, token transactions, swaps, and NFT mints — and compare mainnet cost against Arbitrum, Optimism, Base, and Polygon PoS.
Select a transaction type and calculate to see fee estimates
Every transaction on Ethereum and similar networks costs "gas" — a unit that measures the computational work required to process it. This gas fee calculator turns a transaction's gas limit and the current gas price (base fee plus priority fee, in Gwei) into a total cost expressed in Gwei, ETH, and USD, and lets you compare that mainnet cost against typical Layer 2 networks for the same transaction type. Whether you're sending a simple transfer, swapping tokens, or minting an NFT, knowing the likely cost before you sign a transaction avoids surprises.
Total gas cost in Gwei is the gas limit multiplied by the gas price per unit (base fee + priority fee). Since 1 ETH equals 1,000,000,000 Gwei, dividing that total by one billion converts it to ETH, and multiplying by the current ETH price converts it to USD. Different transaction types consume different amounts of gas: a plain ETH transfer uses a fixed 21,000 gas, while an ERC-20 token transfer, a DEX swap, or an NFT mint involve more contract logic and therefore cost more gas — roughly 65,000, 150,000, and 150,000 respectively, though actual values vary by contract implementation. The calculator also applies illustrative Layer 2 cost ratios (Arbitrum, Optimism, Base, and Polygon PoS) to the same mainnet fee so you can see the rough order-of-magnitude savings of transacting off mainnet.
Gas fees can swing from a few cents to tens of dollars for the exact same transaction depending purely on network congestion — there is no fixed price. Understanding the relationship between gas limit, base fee, and priority fee helps you decide whether to wait for lower congestion, set a lower tip for a non-urgent transaction, or move the activity to a Layer 2 network where costs are typically far lower. For anyone building or using decentralized applications, gas cost is often the single biggest driver of user experience and adoption.
Gas limit is how much computational work a transaction needs (fixed by transaction type); gas price is what you pay per unit of that work (set by network demand). Total cost is always gas limit × gas price.
Since EIP-1559, the base fee is burned and adjusts automatically with demand, while the priority fee (tip) goes to the validator to prioritize your transaction. Total gas price = base fee + priority fee.
Rollups like Arbitrum, Optimism, and Base execute transactions off mainnet and batch the data back, spreading mainnet costs across many users. This typically cuts fees by 95%+ versus executing the same transaction directly on mainnet.
Common questions about gas fees
Explore other crypto & investment tools