Gas Limit Calculator
Calculate optimal gas limits for Ethereum transactions. Estimate gas for transfers, swaps, NFT mints, and smart contract interactions.
Transaction Parameters
Gwei
Gwei
$
Advanced Options
bytes
Extra data in the transaction
%
Extra gas to prevent out-of-gas errors
Recommended Gas Limit
25,200
Estimated: 21,000 | Low complexity
π°Estimated Cost
$1
π‘οΈMax Cost (with buffer)
$2
GasMax Fee Per Gas
32 Gwei
β©οΈPotential Refund
$0
Gas Breakdown
Base Gas (21,000)21,000
Operation Gas0
Safety Buffer+4,200
Total Gas Limit25,200
Cost at Different Gas Prices
| Gas Price | Cost (ETH) | Cost (USD) |
|---|---|---|
| 15 Gwei | 0.000315 | $1 |
| 30 Gwei | 0.000630 | $1 |
| 50 Gwei | 0.001050 | $2 |
| 100 Gwei | 0.002100 | $4 |
| 200 Gwei | 0.004200 | $8 |
Transaction Type Comparison
ETH Transfer
21,000($1)
ERC-20 Approve
45,000($3)
ERC-20 Transfer
65,000($4)
NFT Transfer (ERC-1155)
73,000($5)
NFT Transfer (ERC-721)
85,000($5)
OpenSea Listing
106,000($7)
Uniswap Swap
151,000($10)
Multisig Transaction
171,000($11)
Tip: Setting gas limit too low causes failed transactions (you lose gas fees). Setting it higher is safe - unused gas is refunded.