mainnet 11:54:29 UTC
/index/ /tools/ /03 gas-calculator
live

Gas
calculator.

Standard
EIP-1559
basefee + tip
Networks
11
L1 + L2s
Refresh
12 s
auto · paused off-tab
Auth
None
no wallet, no API key
/03LIVE GAS · ETHEREUM
live
Base fee
gwei
pre-1559 / unavailable
Priority
gwei
unavailable
Total fee
gwei
eth_gasPrice
Block Updated
/cost — estimate transaction
Gas units
In ETH
ETH
In USD
ETH price
/reference — typical gas costs
operationunitsnote
ETH transfer21,000fixed for plain sends
ERC-20 transfer~ 65,000varies; first send to a fresh address costs more
Approve~ 46,000re-approving costs less than first approval
Uniswap V3 swap~ 150,000simple single-hop trade
NFT mint~ 180,000depends heavily on the contract
Bridge / complex~ 280,000includes external calls and writes
/notes
01
Base fee + priority.
EIP-1559 split the gas price into a protocol-set base fee (burned) and an optional priority fee (paid to validators). The total fee is base + priority, multiplied by the gas units the transaction consumes.
02
L2 quirks.
Optimistic and ZK rollups also pay an L1 data fee to post batches to Ethereum. That cost varies with L1 gas and isn't shown here — this calculator covers L2 execution gas only.
03
No wallet, no key.
All numbers come from eth_getBlockByNumber, eth_maxPriorityFeePerGas, and eth_gasPrice on each chain's public RPC. USD prices come from CryptoCompare's open endpoint. No accounts, no signups, no API key.
/faq
01

How is gas cost calculated on Ethereum?

Total fee = gas units × (base fee + priority fee). EIP-1559 set the base fee per block; the priority fee is an optional tip to validators. Multiply by the number of gas units the transaction consumes (e.g. 21,000 for a plain ETH transfer) to get the cost in wei.

02

Do L2 fees include the L1 data cost?

No. This calculator shows L2 execution gas only. Optimistic and ZK rollups also charge an L1 data fee to post batches to Ethereum, which can dominate the total cost when L1 gas is high. Read the dedicated chain explorer for the full breakdown of any specific transaction.

03

Why does BNB Chain not show a base fee?

BNB Chain has not adopted EIP-1559. There is a single gasPrice rather than a basefee + tip split. We surface the unified gas price returned by eth_gasPrice instead.

04

How fresh is the price?

Gas prices auto-refresh every ~12 seconds. USD prices refresh every 90 seconds. Switching chains triggers an immediate fetch.