Ethereum Gas Fee Calculator - Calculate ETH Gas Cost in USD Free | ToolsInstant
⛰ Ethereum Tool

Ethereum Gas Fee Calculator – Calculate ETH Gas Cost in USD Free

Free Ethereum gas fee calculator. Enter gas limit, Gwei price & ETH price to instantly calculate transaction fees for transfers, swaps, NFT mints & DeFi contracts.

⛰ Ethereum Gas Fee Calculator

Real-time gas cost for any Ethereum transaction type

▶ Transaction Type (sets Gas Limit)
ETH Transfer
21,000 gas
📳
ERC-20 Token
65,000 gas
🔄
Uniswap Swap
150,000 gas
🎨
NFT Transfer
100,000 gas
NFT Mint
200,000 gas
🏖
DeFi / Contract
300,000 gas
🔥 Gas Limit (Units) 21,000
21k1M
21k ETH 65k ERC-20 150k Swap 200k NFT 500k Deploy
Gas Price (Gwei) 20 Gwei
1 Gwei500 Gwei
5 10 20 50 100 200
ETH Price (USD) $3,500
$100$20k
$1k $2k $3.5k $5k $10k
⇋ ETH Transfer: Standard, straightforward transaction. Fixed 21,000 gas units required by the Ethereum protocol.
ESTIMATED GAS FEE
— ETH • — Gwei total
🔥
Gas Used
Gas Price
ETH Fee
💵
USD Fee
💥
Total Gwei
📈
Fee % of ETH
⏩ Fee at All Speeds (same gas limit)
📋 Batch Tx Cost Estimator Total: —
Label
Gas Limit
Gwei
Total Estimated Fees:

📖 How to Use the Ethereum Gas Fee Calculator

Calculating your Ethereum transaction cost takes seconds. Here is what each input means and how to get the most accurate estimate before you submit a transaction.

1
Choose Transaction Type
Select the type of transaction you want to perform. Each type has a preset gas limit: ETH Transfer (21,000), ERC-20 Token (65,000), Uniswap Swap (150,000), NFT Mint (200,000), or DeFi Contract (300,000).
2
Set Gas Limit
The gas limit is the maximum units of computation your transaction is allowed to use. The transaction type presets fill this automatically, or you can enter a custom value from your wallet's gas estimator for complex contracts.
3
Select Gas Price (Gwei)
Gas price is what you pay per unit of gas, measured in Gwei (1 Gwei = 0.000000001 ETH). Use the speed buttons — Slow, Standard, Fast, Rapid — or enter a custom Gwei to match current network conditions.
4
Enter ETH Price
Enter the current price of Ethereum in your local currency to convert the gas fee from ETH into a real-money cost. Use the quick preset buttons for common price ranges or type the live price from any exchange.
5
Read Your Gas Fee Instantly
The calculator instantly shows total gas fee in both USD and ETH, gas used, gas price in Gwei, and the fee as a percentage of ETH price. The speed comparison section shows costs at all four speed tiers simultaneously.
6
Estimate Batch Transactions
Use the Batch Tx Cost Estimator to add multiple transactions — for example, several NFT mints, token approvals, and swaps — and see the total gas cost for your entire session before you start.
💡 Gas Saving Tips
  • Gas prices are lowest during weekday early mornings (UTC) — typically 00:00 to 08:00 UTC when US and Asian trading activity is minimal.
  • Never set gas limit below the required minimum — your transaction will fail and you will still lose the gas. Always add a small buffer (10%+) above the estimate.
  • Layer 2 networks (Arbitrum, Optimism, Base, Polygon) offer the same Ethereum ecosystem at 10x to 100x lower gas fees.
  • For ERC-20 tokens, approving infinite allowance once instead of exact amounts saves one on-chain approval transaction for future interactions.
  • Batch tools like Multicall and protocols that support batched operations can combine multiple actions into a single transaction, saving significant gas.

⛰ Complete Ethereum Gas Guide

Understanding how Ethereum gas works helps you optimise costs and avoid failed transactions. Here is everything you need to know.

🔥
What Is Gas?
Gas measures the computational work required to execute a transaction on Ethereum. Every operation in the Ethereum Virtual Machine (EVM) costs a fixed amount of gas. A simple ETH transfer costs exactly 21,000 gas units.
What Is Gwei?
Gwei is a denomination of Ether used to express gas prices. 1 Gwei = 0.000000001 ETH (10⁻⁹ ETH). Gas fees are quoted in Gwei because the numbers are more readable — "20 Gwei" versus "0.00000002 ETH" per gas unit.
📈
The Gas Fee Formula
Gas Fee (ETH) = Gas Limit × Gas Price (Gwei) ÷ 1,000,000,000
Then multiply by ETH price to get USD value. Example: 21,000 × 20 Gwei / 1B = 0.00042 ETH. At $3,500/ETH = $1.47.
🚫
Gas Limit vs Gas Used
Gas limit is the maximum you allow; gas used is what the transaction actually consumes. If actual gas used is lower than the limit, the unused gas is refunded. If the transaction runs out of gas mid-execution, it fails but fees are still charged.
🌐
EIP-1559 Base Fee
Since August 2021, Ethereum uses EIP-1559 where each block has a base fee that is burned (not paid to miners). You also set a priority fee (tip) to miners. Gas price = Base Fee + Priority Tip. The base fee adjusts automatically based on network congestion.
🚀
Layer 2 Solutions
Arbitrum, Optimism, Base, zkSync, and Polygon offer Ethereum-compatible networks with drastically lower gas fees — often $0.01 to $0.10 per transaction. They periodically settle transactions to Ethereum mainnet in batches.

📊 Gas Costs by Transaction Type

Transaction TypeTypical GasAt 20 Gwei, $3.5k ETHAt 50 Gwei, $3.5k ETHNotes
⇋ ETH Transfer21,000$1.47$3.68Fixed cost, always exactly 21,000
📳 ERC-20 Transfer45,000–65,000$3.15–$4.55$7.88–$11.38Varies by token contract complexity
📳 ERC-20 Approval46,000$3.22$8.05Required once before first trade
🔄 Uniswap V3 Swap120,000–180,000$8.40–$12.60$21–$31.50More hops = more gas
🎨 NFT Transfer (ERC-721)85,000–120,000$5.95–$8.40$14.88–$21Depends on metadata storage
✨ NFT Mint150,000–300,000$10.50–$21$26.25–$52.50Highly variable by contract
🏖 Contract Deploy300,000–1,500,000$21–$105$52.50–$262.50Depends on contract bytecode size

*Gas units are estimates. Actual gas depends on contract complexity and on-chain state. Always check your wallet's gas estimator for the exact amount.

💡 How to Save on Ethereum Gas Fees

Gas fees are a major cost for active Ethereum users. These strategies are used by DeFi power users worldwide to dramatically reduce the amount they pay in fees.

1
Time Your Transactions
Gas prices follow a weekly cycle. They are lowest on weekday early mornings UTC (especially Tuesday and Wednesday 00:00–08:00) and highest during US and European trading hours. Even waiting a few hours can cut costs by 50% or more.
2
Use Layer 2 Networks
Arbitrum, Optimism, Base, and zkSync Era offer the same Ethereum DeFi ecosystem — Uniswap, Aave, Compound — for 10x to 100x less gas. A swap that costs $15 on mainnet costs $0.10 on Arbitrum with identical security.
3
Set a Max Fee Wisely
When submitting a transaction, set your max fee just above the current base fee plus your priority tip. Do not overpay — you get unused gas refunded, but only if you actually set a sensible limit. Use EIP-1559 transactions for automatic base fee management.
4
Batch Your Transactions
Some protocols support multicall, allowing you to batch multiple operations into a single transaction. Gnosis Safe, DeFi Saver, and other smart wallets support this natively. One batched tx costs far less than three separate transactions.
5
Consolidate Token Approvals
Approving token contracts with infinite allowance once avoids repeated approval transactions. Be cautious though — revoke approvals for contracts you no longer use via Revoke.cash or Etherscan Token Approval Checker to stay secure.
6
Monitor Gas Trackers
Use Etherscan Gas Tracker, ETH Gas Station, or GasNow to monitor real-time gas prices before transacting. Some wallets like MetaMask show a live gas estimate before you confirm. Setting gas alerts on these platforms helps you transact at optimal times.

❓ Frequently Asked Questions

Common questions about Ethereum gas fees, how they work, and how to minimise them.

What is an Ethereum gas fee?
An Ethereum gas fee is the cost you pay to have your transaction processed and included in a block by Ethereum validators. It compensates the network for the computational resources consumed. The fee = Gas Limit × Gas Price (in Gwei), converted to ETH and then USD. Without paying sufficient gas, your transaction will not be included in a block.
Why do gas fees vary so much?
Gas fees are determined by supply and demand. When many users want transactions processed simultaneously (during NFT launches, DeFi liquidation events, or token launches), they bid higher gas prices to get included in the next block. When network activity is low, gas prices drop to near-minimum levels. The base fee adjusts automatically every block under EIP-1559.
What is the difference between gas limit and gas price?
Gas limit is the maximum units of computation you authorise for your transaction — think of it as a budget cap. Gas price is what you pay per unit, in Gwei. The actual fee = Gas Used × Gas Price. If a transaction uses less than the gas limit, the remainder is refunded. If it runs out mid-execution, the transaction fails but the gas is still consumed.
What is Gwei and how does it relate to ETH?
Gwei is a sub-unit of Ether. 1 Gwei = 0.000000001 ETH (1 billionth of 1 ETH). Gas prices are quoted in Gwei because the numbers are human-readable. A gas price of 20 Gwei means you pay 20 × 10⁻⁹ ETH per unit of gas. A standard ETH transfer at 20 Gwei costs 21,000 × 20 Gwei = 420,000 Gwei = 0.00042 ETH.
Why does an ETH transfer always cost exactly 21,000 gas?
The Ethereum protocol specifies exactly 21,000 gas units for a basic ETH value transfer with no data payload. This is a protocol-level constant that cannot be changed by the transaction sender. Smart contract interactions cost more because they execute arbitrary code in the Ethereum Virtual Machine, which consumes variable amounts of gas depending on complexity.
What happens if I set my gas limit too low?
If you set the gas limit below what the transaction requires, it will fail with an "out of gas" error. The transaction is reverted and not included in the blockchain, but the gas you spent up to the point of failure is still consumed and lost. Always set a gas limit slightly above the estimated amount — most wallets add a 10% to 20% buffer automatically.
When are Ethereum gas fees lowest?
Gas fees are typically lowest during weekday early mornings in UTC time, roughly 00:00 to 08:00 UTC, particularly Tuesday through Thursday when US, European, and Asian markets are all relatively quiet. Weekends can also have lower fees. During major NFT launches, protocol upgrades, or market crashes, fees can spike dramatically regardless of time of day.
What is EIP-1559 and how does it affect gas fees?
EIP-1559, introduced in August 2021 (the London hard fork), changed Ethereum's fee mechanism. Previously you bid a single gas price; now each block has a protocol-determined base fee that is burned (removed from supply). You add a priority fee (tip) to incentivise validators. The base fee adjusts automatically based on block utilisation, making fees more predictable and burning ETH with every transaction.
Are gas fees cheaper on Layer 2 networks?
Yes, dramatically cheaper. Layer 2 networks like Arbitrum, Optimism, Base, and zkSync bundle many user transactions off-chain and submit them to Ethereum mainnet as a single batch. This amortises the mainnet gas cost across hundreds of transactions, reducing individual fees to $0.01 to $0.10 per transaction while inheriting Ethereum's security. The trade-off is a slight delay in withdrawing assets back to mainnet.
Do failed transactions still cost gas?
Yes. If a transaction fails (insufficient gas, contract revert, slippage exceeded), the gas consumed up to the point of failure is still paid to validators. The Ethereum network charges for computation regardless of outcome. This is why setting an adequate gas limit and checking contract conditions (slippage tolerance, approvals) before submitting is important.
How is this gas fee calculator different from real-time gas trackers?
This calculator is a manual estimation tool where you enter your own gas price and ETH price — ideal for planning transactions, comparing costs at different gas speeds, and estimating fees for specific contract types. Real-time gas trackers like Etherscan Gas Tracker pull live network data directly from the Ethereum mempool. For the most accurate current price before submitting a transaction, check a live tracker; use this calculator for fee planning and education.
Can I calculate gas fees for other EVM chains?
Yes. The formula is identical for all Ethereum-compatible (EVM) chains including Binance Smart Chain, Polygon, Avalanche, Arbitrum, Optimism, and Fantom. Simply enter the native token price of that chain (BNB, MATIC, AVAX, etc.) as the "ETH Price" field, and use the gas price typical for that network. Polygon averages around 30–100 Gwei, BSC around 3–5 Gwei, and Avalanche around 25–35 nAVAX.
Results copied to clipboard!