Ethereum Gas Fee Calculator — ETH Transaction Cost Tool
Calculate Ethereum gas fees in USD instantly. Enter the base fee, priority fee, and transaction type to see the exact cost of any ETH, ERC-20, or DeFi transaction.
Loading live prices…
Fee per Transaction
$1.62
Fee in ETH
0.000462 ETH
Fee in Gwei
462,000 Gwei
Gas Limit Used
21,000
Total Gas Price
22 Gwei
20 base + 2 tip
Base Fee Cost
$1.47
(burned by network)
Priority Fee Cost
$0.15
(goes to validator)
| Transaction | Gas Limit | Cost (USD) |
|---|---|---|
| ETH Transfer · selected | 21,000 | $1.62 |
| ERC-20 Transfer | 65,000 | $5.01 |
| Uniswap Swap | 150,000 | $11.55 |
| NFT Mint | 200,000 | $15.40 |
| Contract Deploy | 500,000 | $38.50 |
* Estimates only. Actual gas used may vary. Base fee is burned per EIP-1559.
Last reviewed · How we check our calculators
How to Use the Ethereum Gas Fee Calculator
Select your transaction type from the dropdown — ETH Transfer, ERC-20 Transfer, Uniswap Swap, NFT Mint, Contract Deploy, or Custom. Each type has a standard gas limit pre-filled based on typical on-chain usage. If you select Custom, you can enter any gas limit manually.
Next, enter the current Base Fee and Priority Fee (tip) in Gwei. You can find live values on Etherscan Gas Tracker or your wallet's gas settings. Then enter the current ETH price in USD and the number of transactions if you want to batch-estimate costs.
The calculator will show you the fee per transaction in USD, ETH, and Gwei, along with a breakdown of how much goes to the network (burned base fee) versus the validator (priority tip). If you enter multiple transactions, you will also see the total batch cost.
The Formula
Ethereum gas fees since EIP-1559 (August 2021) are calculated using a two-part fee structure:
- Total Gas Price (Gwei) = Base Fee + Priority Fee
- Fee in ETH = Gas Limit × Total Gas Price × 10−9
- Fee in USD = Fee in ETH × ETH Price
- Total for N Transactions = Fee in USD × N
The base fee is set algorithmically by the Ethereum protocol based on block utilization and is burned (removed from supply). The priority fee (also called the miner or validator tip) is paid directly to the block proposer as an incentive to include your transaction. You must pay both.
Gas limits represent the maximum computation units your transaction may consume. A simple ETH transfer always uses exactly 21,000 gas. More complex operations like DeFi swaps or smart contract deployments consume significantly more, but you are only charged for gas actually used — unused gas is refunded.
Practical Examples
Example 1 — Simple ETH Transfer (Normal Network)
- Transaction type: ETH Transfer (21,000 gas)
- Base fee: 20 Gwei | Priority fee: 2 Gwei
- ETH price: $3,500
- Fee in ETH: 21,000 × 22 × 10⁻⁹ = 0.000462 ETH
- Fee in USD: ~$1.62
A standard ETH transfer at moderate gas prices costs around $1–3. This is the cheapest possible Ethereum transaction. Avoid sending small amounts (e.g., $5) at high gas periods — the fee may exceed the transfer value.
Example 2 — Uniswap V3 Swap (Congested Network)
- Transaction type: Uniswap Swap (150,000 gas)
- Base fee: 80 Gwei | Priority fee: 5 Gwei
- ETH price: $3,500
- Fee in ETH: 150,000 × 85 × 10⁻⁹ = 0.01275 ETH
- Fee in USD: ~$44.63
During high congestion (NFT launches, market crashes), gas fees spike dramatically. A DeFi swap that costs $5 at 20 Gwei can easily reach $50+ at 100 Gwei. Always check the gas tracker before executing large swaps.
Example 3 — Batch of 50 ERC-20 Transfers (Payroll)
- Transaction type: ERC-20 Transfer (65,000 gas each)
- Base fee: 15 Gwei | Priority fee: 1 Gwei
- ETH price: $3,500 | 50 transactions
- Fee per tx: 65,000 × 16 × 10⁻⁹ × $3,500 ≈ $3.64
- Total: ~$182
For batch operations, consider using a gas-efficient smart contract or layer-2 solutions like Arbitrum or Optimism, which can reduce total fees by 10–100× at the cost of a one-time bridge deposit.
Frequently Asked Questions
Gwei is a denomination of ETH — specifically, 1 Gwei equals 0.000000001 ETH (10⁻⁹ ETH). Gas prices are quoted in Gwei because they are very small fractions of ETH. For example, a 20 Gwei base fee means you pay 20 × 10⁻⁹ ETH per unit of gas consumed. When gas prices are '20 Gwei', a simple ETH transfer costs 21,000 × 20 Gwei = 420,000 Gwei = 0.00042 ETH.
The gas limit is the maximum number of computational steps (units) your transaction is allowed to execute. It is set by you when submitting the transaction — too low and it fails (out of gas), too high and the unused portion is refunded. Gas price (now split into base fee + priority fee after EIP-1559) is the cost per unit of gas in Gwei. Your maximum possible fee is gas limit × gas price, but you only pay gas used × gas price.
EIP-1559, activated in August 2021 as part of the London hard fork, replaced the old single-price auction system with a two-component fee: a protocol-set base fee that is burned (removed from supply) and an optional priority fee (tip) paid to the validator. The base fee adjusts dynamically based on how full the previous block was — if blocks are >50% full, the base fee rises; if <50% full, it falls. This makes fees more predictable and reduces the ETH supply over time (deflationary pressure).
Several strategies help reduce gas costs: (1) Time your transactions — gas fees are lowest on weekends and during off-peak hours (late night UTC). (2) Set a lower max fee and max priority fee and wait for the base fee to drop. (3) Use Layer 2 networks like Arbitrum, Optimism, or Base, which process transactions off-chain and settle to Ethereum at 10–100× lower cost. (4) Batch operations into a single transaction using multicall contracts. (5) Use gas tokens or protocols like Flashbots to get private mempools with lower effective fees.
An 'out of gas' error means your transaction consumed all the gas allowed by the gas limit before completing. This typically happens when: (1) You set the gas limit too low (e.g., 21,000 for a complex smart contract call that needs 100,000+). (2) The smart contract encountered an unexpected code path requiring more computation than estimated. You still pay the gas fee for the failed transaction — the network compensates validators for the computation performed. Always use your wallet's estimated gas limit or add a 20–30% buffer for complex transactions.
Embed This Calculator on Your Website
Free for blogs, forums and tipster sites. Paste this HTML where the calculator should appear — it resizes automatically.
<div class="calcvault-embed" style="max-width:700px;margin:0 auto;">
<script src="https://www.calcvault.co/widget.js" data-calc="gas-fee-calculator" data-backlink="inline"></script>
<p style="text-align:center;margin:6px 0 0;font-size:12px;font-family:system-ui,sans-serif;"><a href="https://www.calcvault.co/calculators/gas-fee-calculator">Ethereum Gas Fee Calculator by CalcVault</a></p>
</div>