Ethereum Gas Fee Converter — Gwei ↔ ETH ↔ USD
Convert Ethereum gas prices (gwei) to USD cost for common transaction types (transfer, swap, mint NFT, deploy contract). L1 vs L2 comparison. Free.
Ethereum Gas Fee Converter
Converts Ethereum gas prices (gwei) into USD cost for 12 common transaction types — ETH transfer, USDC transfer, Uniswap swap, NFT mint, Aave deposit, ENS register, and more. L1 vs L2 cost side-by-side. Pull current gas from etherscan.io/gastracker.
| Transaction | Gas units | ETH cost | USD (L1) | USD (L2 est.) |
|---|
How to Use the Gas Fee Converter
Pull current gas + ETH price
etherscan.io/gastracker for live gas (split into "low/avg/high"). Use the avg/standard for typical transaction. CoinGecko or CoinMarketCap for ETH price.
Pick the transaction type that matches yours
The table covers 12 common transaction shapes. Your specific transaction's gas may differ slightly — Etherscan's "estimated gas" before submission shows the exact number. For batch + complex transactions (multi-hop swaps, multi-sig), use the higher estimates.
Compare L1 vs L2 cost
The L2 column applies a fixed 2% of the L1 figure — a ratio from the years when a mainnet swap cost dollars. Treat it as a rough guide only: L2 fees have their own floor (execution plus data posting), and with mainnet averaging 0.045 gwei on 13 Sep 2026 (Etherscan gas tracker) the two have converged. Ambrosia and Mizrach (arXiv:2606.22206, 2026) put the mainnet median fee under USD 0.02 and the L2 median near USD 0.0015 by March 2026. For anything under a few dollars, compare live quotes on both.
Time your transactions
Gas follows US and European business hours and spikes on large mints, protocol launches and sharp market moves; Etherscan's gas tracker charts the hourly pattern. At the sub-gwei averages of 2026 the saving from timing a transfer is a fraction of a cent — timing matters when gas is elevated, not on a quiet day.
Ethereum Gas — How Transaction Fees Actually Work
The Three Components
Every Ethereum transaction is priced by three numbers: gas units (how much computation the transaction does — a simple ETH transfer takes 21,000; a complex DeFi position can take 500,000+), gas price (the per-unit fee, measured in gwei — 1 gwei = 109 wei = 10-9 ETH, Yellow Paper Appendix B), and ETH price in USD (multiplied at the end to convert ETH cost into dollars). Total fee in ETH = gas units × gas price. Total fee in USD = that × ETH price. At the defaults of 2 gwei and USD 1,900 ETH: an ETH transfer costs about USD 0.08; a 180,000-gas swap about USD 0.68; a 100,000–250,000-gas NFT mint roughly USD 0.38–0.95.
Since EIP-1559 (London upgrade, block 12,965,000 on 5 August 2021), the gas price is split into two components: base fee (set by protocol and burned) and priority fee / tip (paid to the validator to encourage inclusion). When blocks run above the 50% gas target the base fee rises by up to 12.5% per block; below it, it falls (EIP-1559). The tip is user-set, and on a quiet 2026 network is a fraction of a gwei. Total gas price = base fee + tip. Your wallet (MetaMask, etc.) usually shows base + tip combined for simplicity.
Common Transaction Gas Costs
Only one figure in the table is a protocol constant: an ETH transfer costs 21,000 gas — Gtransaction = 21000 in the Yellow Paper's fee schedule (Appendix G). Every other row is an approximation for that kind of contract call: an ERC-20 transfer around 65,000, an approval around 46,000, a Uniswap V3 swap in the 150,000–200,000 range, Aave deposits and borrows in the low hundreds of thousands, NFT mints from about 80,000 (simple) to 250,000 and beyond (generative art), and contract deployment from a few hundred thousand upward. Actual gas depends on the contract's storage writes and state — your wallet's estimate before you sign is the authoritative number.
At a gas price of 2 gwei and ETH at USD 1,900, the table works out to: ETH transfer about USD 0.08; a 65,000-gas USDC transfer USD 0.25; a 180,000-gas swap USD 0.68; NFT mints USD 0.38–0.95; a 220,000-gas Aave deposit USD 0.84. Spikes still happen — the same swap at 25 gwei is USD 8.55 — and the Yuga Labs Otherside mint of 1 May 2022 pushed gas past 8,000 gwei on Etherscan.
"Ethereum gas is cyclical, and it has been falling for two years: mainnet averaged 0.045 gwei on 13 September 2026 (Etherscan gas tracker), against daily averages near 0.5 gwei through mid-2026 and 1–3 gwei in the year after the March 2024 Dencun upgrade. Watch the tracker for a week before a large batch of transactions."
L2 Rollups — The Default for Most Transactions
Layer 2 rollups (Arbitrum, Optimism, Base, zkSync Era, Scroll) batch many transactions and post compressed data to L1, so each user pays a sliver of one mainnet transaction. Ambrosia and Mizrach (arXiv:2606.22206, 2026) track median fees from January 2024 to March 2026: mainnet fell from over USD 2 to under USD 0.02, and the L2 median from about USD 0.05 to USD 0.0015 after EIP-4844 (Dencun, 13 March 2024) cut the rollups' data-posting cost. The same protocols (Aave, Uniswap, Curve) deploy on several L2s. Bridging in or out is itself a mainnet transaction, priced at whatever L1 gas is that day — paid once each way.
Gwei, the 21,000-gas transfer and the EIP-1559 base fee
USD cost = gas units × gwei × ETH price ÷ 1e9. Total fee in ETH = gas units × gwei × 1e-9.
1 ETH = 109 gwei = 1018 wei (Yellow Paper, Appendix B). Gwei is the standard unit for gas prices.
ETH transfer: 21,000 gas — Gtransaction in the Yellow Paper fee schedule, Appendix G. Contract calls vary: a swap typically runs well over 100,000.
EIP-1559 (London upgrade, 5 Aug 2021) split the gas price into a base fee (burned) and a priority tip (to the validator); the base fee moves by at most 12.5% per block.
Mainnet averaged 0.045 gwei on 13 Sep 2026 (Etherscan gas tracker) — down from 1–3 gwei in the year after the March 2024 Dencun upgrade. Whole gwei now means a busy network; tens of gwei is an event.
L2 rollups (Arbitrum, Optimism, Base) post compressed data to mainnet; their median fee fell to about USD 0.0015 by March 2026, against under USD 0.02 on mainnet (Ambrosia & Mizrach, arXiv:2606.22206).
Gas spikes occur on: NFT drops, popular DeFi launches, market crashes, liquidation cascades.
Gas follows the clock: it tracks US and European business hours and spikes on mints and market moves — Etherscan's gas tracker charts the hourly pattern.
The "failed transaction" trap: gas is consumed even when transactions fail. Slippage too tight = pay gas, get nothing.
The textbook gas war: the Yuga Labs Otherside mint of 1 May 2022 drove gas past 8,000 gwei on Etherscan, with single mints costing thousands of dollars in fees.
Frequently Asked Questions
- Gas is Ethereum's metering unit for transaction complexity. Each computation step consumes a defined number of gas units. The total fee for a transaction = (gas units consumed) × (gas price in gwei) × (ETH price in USD) ÷ 10^9. Simple operations (transfer ETH) use little gas (21,000); complex DeFi positions use much more (200,000-500,000). Gas price is set by you (the user) — higher gas price = faster inclusion, especially during congestion.
- Demand-driven. Each block has a fixed gas target, and under EIP-1559 the base fee rises by up to 12.5% per block while blocks run above it. Common triggers: NFT mints with limited supply, popular protocol launches, sharp market moves (everyone trying to exit at once), and coordinated DAO events. Use Etherscan's gas tracker to identify quiet windows.
- etherscan.io/gastracker is the standard. Shows "Low / Avg / High" gas prices, estimated confirmation times, and historical hourly chart. Other sources: Blocknative gas estimator. Most wallets (MetaMask, Rabby) suggest gas automatically. The trick is recognizing when "high" is reasonable vs absurd — against a 2026 average well under 1 gwei (0.045 gwei on 13 Sep 2026, Etherscan), anything in whole gwei is a busy network and tens of gwei is an event worth waiting out.
- L2 (Arbitrum, Optimism, Base, zkSync) offers the same protocols (Uniswap, Aave, Curve) with a median fee around USD 0.0015 by March 2026, against under USD 0.02 on mainnet (Ambrosia & Mizrach, arXiv:2606.22206). L1 still makes sense for (a) very large transactions where settling directly on mainnet matters more than the fee; (b) protocols without an L2 deployment; (c) bridging in and out, which is an L1 transaction by construction. At 2026 gas levels the fee gap is cents, so convenience and where your assets already sit usually decide it.
- Post-EIP-1559, total gas price = base fee + priority fee (tip). Base fee is algorithmically set + burned (removed from supply). Priority fee goes to the validator and incentivizes inclusion (EIP-1559). The tip is user-set: wallets default to a fraction of a gwei on a quiet network and raise it when blocks are full, because a higher tip moves you up the queue. Most wallets handle this automatically; manual override is available for power users.
- Gas is consumed for computation even when the final state revert. Common failure modes: insufficient slippage tolerance (price moved more than allowed before mining), insufficient approval (need to approve token spending first), invalid contract call (revert from the contract). The transaction shows on Etherscan with "Status: Fail" but gas was paid. Avoid by: setting slippage realistically (0.5-1% for normal pairs, 5-10% for volatile), using "simulate" feature in modern wallets (Rabby, Frame).
- Generally: US night (3am-9am UTC) and weekends. Ethereum activity skews heavily to US/EU business hours. Avoid: major NFT mint days (announced in advance), market-stress periods (when prices crash hard), DAO governance vote deadlines. Use Etherscan's historical gas chart to spot the pattern over a week before a large batch of transactions — and remember that at sub-gwei averages the saving is fractions of a cent.
- Yes. Most wallets support "speed up" (submit a new transaction with same nonce + higher gas price — overrides the pending one) and "cancel" (submit a 0-ETH transfer to yourself with same nonce + higher gas price). The replacement must carry a higher gas price than the pending one — wallets add a margin for you. Useful when network congestion suddenly spikes and your tx is stuck pending for hours. Use Etherscan's transaction page to find your nonce.
- Bundling multiple operations into one transaction shares the base 21K gas overhead. Multi-action wallets (Safe, Argent, smart-wallet protocols) can batch: approve + swap + deposit in one transaction, paying the 21,000-gas transaction overhead once instead of three times. Smart-contract wallets like ERC-4337 account abstraction make batching seamless. Common DeFi UIs (1inch, Matcha) also auto-batch when possible.
- EIP-4844 (Dencun upgrade, 13 March 2024) introduced "blobs" — a cheaper data-availability lane for L2 rollups to post compressed transaction data. Effect: the L2 median fee fell more than 95%, from about USD 0.05 to USD 0.0015 between January 2024 and March 2026 (Ambrosia & Mizrach, arXiv:2606.22206). Later data-availability upgrades are designed to push that lower still, with L1 increasingly used for high-value operations and L2 settlement.
Method & sources
How it computes
Fee in ETH = gas units × gas price in gwei × 10⁻⁹ (1 gwei = 10⁻⁹ ETH), and fee in USD = that × the ETH/USD price you enter; 21,000 gas for a plain ETH transfer is the protocol constant, the other transaction rows are approximate gas limits for that kind of contract call, and the L2 column applies a fixed 2% of the L1 figure as a rough guide.
What this tool implements
- Denominations per the Ethereum Yellow Paper, Appendix B: 1 Gwei = 10⁹ Wei, 1 Ether = 10¹⁸ Wei.
- G_transaction = 21000 gas for a value transfer, per the Yellow Paper fee schedule (Appendix G) and ethereum.org gas documentation.
- The gas price entered is the effective price per gas (base fee + priority fee) under EIP-1559; the tool does not split base fee from tip.
- Gas units for the 11 non-transfer rows are approximations for that contract type, not protocol constants; the wallet's pre-submission estimate is authoritative.
Sources
- Wood G. Ethereum: A Secure Decentralised Generalised Transaction Ledger (Yellow Paper), Shanghai version efc5f9a, 2025 — Appendix B (denominations) and Appendix G (fee schedule, G_transaction = 21000). https://ethereum.github.io/yellowpaper/paper.pdf
- EIP-1559: Fee market change for ETH 1.0 chain — base fee burned, priority fee to the block producer, base fee moves by at most 1/8 per block around a 50% gas target. https://eips.ethereum.org/EIPS/eip-1559
- ethereum.org developer documentation — Gas and fees: fee = units of gas used × (base fee + priority fee); 1 gwei = 10⁻⁹ ETH; an ETH transfer requires 21,000 gas. https://ethereum.org/en/developers/docs/gas/
- Ambrosia M, Mizrach B. Transaction Costs and Speed in the Ethereum Ecosystem: Scalability of the Mainnet and Layer 2s. arXiv:2606.22206, 2026 — mainnet median fee fell from over USD 2 to under USD 0.02 and the L2 median from USD 0.05 to USD 0.0015 (Jan 2024–Mar 2026).
What can make this go out of date
- Gas price (gwei) and ETH/USD price — entered by the user from a live tracker; both move block by block (Etherscan gas tracker read 0.045 gwei average and ETH USD 2,524.61 on 13 Sep 2026).
- Per-contract gas limits for swaps, mints, lending and deployment change whenever the contracts do; the table's non-transfer rows are approximations and carry no publication schedule.
Pick up where you left off
Stored only in this browser — never sent to our servers.