Gas Estimation Calculator
Estimate Ethereum transaction gas costs in ETH and USD from gas used, base fee, priority fee, and current ETH price.
Inputs
Results
Cost per Tx (ETH)
0
Cost per Tx ($)
$2.02
How to Use This Calculator
- Enter Gas Used for your transaction type — simple ETH transfer = 21,000; ERC-20 transfer ≈ 65,000; Uniswap swap ≈ 150,000.
- Set the Base Fee in Gwei from etherscan.io/gastracker and the Priority Fee (tip) in Gwei (typically 1–3 Gwei for normal speed).
- Enter current ETH Price ($) to convert gas costs into USD.
- Set Transactions per Day to estimate daily and annual gas spend across your protocol.
- Review Cost per Tx (ETH and USD), Daily Cost, and Annual Cost to optimize transaction batching or evaluate Layer 2 migration.
How the result changes with Gas Used (units)
| Gas Used (units) | Cost per Tx (ETH) | Cost per Tx ($) |
|---|---|---|
| 3,000,000 | 0.1 | $288.00 |
| 10,500,000 | 0.34 | $1,008.00 |
| 19,500,000 | 0.62 | $1,872.00 |
| 27,000,000 | 0.86 | $2,592.00 |
What each input means
- Gas Used (units)
- Gas consumed by the transaction. Simple ETH transfer = 21,000; ERC-20 transfer ~ 65,000; Uniswap swap ~ 150,000.
- Base Fee (Gwei)
- Current network base fee in Gwei. Check etherscan.io/gastracker for live values.
- Priority Fee (Gwei)
- Tip paid to validators for faster inclusion. Typically 1-3 Gwei for normal speed.
- ETH Price ($)
- Current market price of ETH in USD.
- Transactions per Day
- Number of daily transactions to estimate batch and annual costs.
What each result means
- Total Gas Price (Gwei)
- Base fee + priority fee per gas unit.
- Cost per Tx (ETH)
- Gas cost for a single transaction in ETH.
- Cost per Tx ($)
- Gas cost for a single transaction in USD.
- Daily Cost (ETH)
- Total daily gas cost across all transactions.
- Daily Cost ($)
- Total daily gas cost in USD.
- Annual Cost ($)
- Projected yearly gas spend at current rates.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersGas Used (units) = 21000, Base Fee (Gwei) = 30, Priority Fee (Gwei) = 2, ETH Price ($) = 3000 = 5 input(s) provided
- Calculate Cost per TxCost per Tx = (gasUsed * totalGasPriceGwei) / 1e90.000672 = 0.000672
- Calculate Cost per TxCost per Tx = gasCostEth * ethPrice2.02 = $2.02
- Calculate Total Gas PriceTotal Gas Price = baseFeeGwei + priorityFeeGwei32 = 32
- Calculate Daily CostDaily Cost = gasCostEth * txCount0.000672 = 0.000672
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Blockchain Throughput Calculator
Calculate transactions per second (TPS), daily capacity, and data throughput from block size, transaction size, and block time.
Blockchain DevLayer 2 Gas Savings Calculator
Compare Layer 1 vs Layer 2 transaction costs and calculate gas savings from rollup deployment.
DeFi & CryptocurrencyGas Fee Estimator
Estimate Ethereum transaction costs based on gas price, gas limit, and ETH price. Compare costs for transfers, swaps, mints, and deployments.
Blockchain DevToken Standard Comparison Calculator
Model tokenomics including supply allocation, FDV, initial market cap, vesting schedules, and sell pressure analysis.
More in Technology & Computing.