About the Ethereum Gas Fee Calculator
This Ethereum gas fee calculator converts gas into money. Pick a transaction type or enter the gas limit yourself, then add the current base fee and the priority fee (tip) in gwei and the ETH price. It returns the fee in ETH and dollars, the effective gas price, and the maximum your wallet may reserve under EIP-1559.
It is handy for estimating what a transfer, token swap or NFT mint will cost before you sign it, comparing costs at different times of day, or budgeting for many transactions such as airdrops and payroll. The same math works on any EVM chain that uses gas and gwei — Arbitrum, Base, Optimism, Polygon and BNB Chain — if you enter that network’s gas price and native token price (layer-2 networks also add a small data fee not modelled here).
Gas used for anything other than a plain ETH transfer (always 21,000) varies by contract. The presets are typical figures; your wallet’s estimate for the specific transaction is more accurate, and you only pay for gas actually used.
With the default inputs, the fee per transaction (usd) is $0.3780. Change any value above to recalculate instantly.
How to use the ethereum gas fee calculator
- 1Choose the transaction type, or pick Custom and enter the gas limit from your wallet.
- 2Enter the current base fee and priority fee in gwei.
- 3Enter the ETH price (or the native token price on another EVM chain).
- 4Add the number of transactions if you are budgeting for several.
- 5Read the fee in dollars and ETH and compare transaction types in the chart.
Formula and method
Since the London upgrade (EIP-1559), every Ethereum transaction pays a base fee per unit of gas, which is burned, plus an optional priority fee (tip) that goes to the validator. Both are quoted in gwei, and one gwei is one billionth of an ether, so dividing the gwei total by 10⁹ gives the fee in ETH.
Wallets usually set a max fee per gas of about twice the current base fee plus the tip, so the transaction still goes through if blocks get busier. You are charged only the actual base fee plus tip on the gas actually used, and the rest is never spent.
- Gas used
- Units of computation the transaction consumes (21,000 for a plain transfer)
- Base fee
- Protocol-set price per gas in gwei, burned
- Priority fee
- Tip per gas in gwei paid to the validator
Worked examples
Simple ETH transfer at 6 gwei
A transfer always uses 21,000 gas. At a 5 gwei base fee plus a 1 gwei tip that is 126,000 gwei, or 0.000126 ETH. At $3,000 per ETH the fee is about $0.38; the wallet may reserve up to 21,000 × 11 gwei ≈ $0.69.
DEX swap during a busy period
A 150,000-gas swap at 42 gwei costs 6,300,000 gwei = 0.0063 ETH. At $3,500 per ETH that is $22.05 — the same swap at 6 gwei would cost about $3.15.
Airdrop to 500 wallets with custom gas
Each token transfer uses about 52,000 gas at 8.5 gwei, or 0.000442 ETH ($1.24 at $2,800). Sending to 500 wallets one by one costs about $618.80.
Frequently asked questions
How is an Ethereum gas fee calculated?+
Multiply the gas used by the gas price in gwei (base fee plus priority tip), then divide by one billion to get ETH. For a 21,000-gas transfer at 10 gwei: 21,000 × 10 = 210,000 gwei = 0.00021 ETH.
What is gwei?+
Gwei is a denomination of ether equal to one billionth of an ETH (10⁻⁹ ETH), or one billion wei. Gas prices are quoted in gwei because fees per unit of gas are tiny fractions of an ether.
Why does a failed transaction still cost gas?+
Validators do the computation whether or not your transaction succeeds, so the gas consumed up to the failure point is still charged. Only unused gas below your gas limit is refunded.
When are Ethereum gas fees lowest?+
Fees rise and fall with demand for block space. They are often lower on weekends and during hours when both US and European markets are quiet, but it varies — check a live gas tracker before sending large or non-urgent transactions.
What is the difference between base fee and priority fee?+
The base fee is set by the protocol based on how full recent blocks were, and it is burned. The priority fee is a tip you choose to encourage validators to include your transaction sooner; when the network is quiet a tip of well under 1 gwei is often enough, and wallets suggest a higher one when blocks are congested.