Ethereum Gas Fee Calculator
Gas used times the gwei price gives the cost in ETH, then the ETH/USD rate you type converts it: 21000 gas at 30 gwei comes to 0.00063 ETH.
Total cost
—
Ethereum gas fee
On Ethereum, every transaction carries a gas fee that pays validators back for the computation. The math is fee = gas_used × gas_price, and the price is quoted in gwei (1 gwei = 10⁻⁹ ETH). How much gas a transaction burns depends on what it does. A plain ETH transfer runs about 21,000 gas, an ERC-20 token transfer around 50,000, a swap on Uniswap roughly 150,000, and minting an NFT close to 300,000. Take an example: 21,000 gas at 30 gwei works out to 0.00063 ETH, or about US$2.20 when ETH sits at US$3,500. Since EIP-1559 (August 2021) the price splits in two — a base fee that gets burned and a priority tip that goes to the validator. The tip is what bumps you up for inclusion in the next block.
Applications
Check the cost before you fire off a transaction in MetaMask, Rabby, or a hardware wallet. Weigh Mainnet against Layer 2 rollups like Arbitrum, Optimism and Base, where you'll pay 10 to 100 times less. Plan DeFi moves on Aave or Curve, time NFT mints around congestion peaks, run arbitrage. For history, Etherscan tracks past gas; ETH Gas Station and Blocknative forecast what the next few blocks will cost.
FAQ
Why does the price vary so much? It tracks demand for block space. During a hot NFT mint or a DeFi rush, gwei can leap from 20 to north of 200.
What is "gas limit"? It's the ceiling of gas you allow. If execution needs less, you're only charged for what it actually used. Set it too low and the transaction fails — and you still pay the fee.
Is L2 always cheaper? For everyday use, yes. Once the amounts get large, factor in the bridge cost and how long L1 takes to finalize.
How to lower the cost? Send when traffic is quiet, like early morning UTC. Move to an L2. Group transfers through multi-send contracts. And stay away from mints while the hype is loud.
Related Tools
Subcooling Degree
Compute the subcooling of a refrigeration system, ΔT = T_condensation(saturation) − T_liquid, how much colder the liquid refrigerant is than its saturation temperature at the condenser pressure. Proper subcooling (typically 4–8 °C) ensures pure liquid (no vapor bubbles) at the expansion-valve inlet, avoiding flash gas that reduces capacity. It increases the refrigerating effect. Enter the saturated condensation temperature and the liquid temperature.
Kitchen Gas Emission Comparison
Compares CO2 emissions between natural gas, LPG and electric for same usage.
Molar Mass from Gas Density
Enter density in g/L, temperature in K and pressure in atm: M = ρ·R·T/P with R = 0.08206. A gas at 1.96 g/L, 273 K and 1 atm gives 43.9 g/mol.
Video File Size from Bitrate Estimator
Bitrate in Mbps times duration in seconds divided by 8 gives the size in MB: 30 minutes of 1080p H.264 at 8 Mbps lands near 1800 MB, or 1.8 GB.
Landfill Methane Flow (Scholl Canyon)
Computes the methane flow generated by one batch of landfilled waste using the Scholl Canyon first-order decay model, Q = k × L₀ × M × e^(−k×t), where M is the mass of that batch, L₀ is the total methane potential per tonne, k is the annual decay constant and t is the age of the batch. The model assumes generation peaks right after placement and falls exponentially from then on, with k between 0.04 and 0.09 per year in wet climates and L₀ typically 50 to 170 m³ of methane per tonne of wet waste, 170 being the LandGEM default. Since the model is linear in mass, a real landfill is summed batch by batch, each with its own age. Enter the decay constant, the methane potential, the waste mass and the age of the batch.
Ideal Gas Volume PV nRT
Computes volume V of an ideal gas from n, T (K) and P (atm) via PV = nRT.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.