MAINNET
ETH/USD—
Base Fee— gwei
Total Fee = gas_used × (base_fee + priority_fee)
Base Fee
Set by the protocol. Adjusts ±12.5% per block based on demand. Automatically BURNED — permanently reduces ETH supply.
Priority Fee (Tip)
You set this. Incentive for validators to include your tx first. Competes with other pending transactions in the mempool.
Max Fee
Your ceiling. Must be ≥ base_fee + priority_fee or tx fails. Any surplus above (base_fee + tip) is refunded after execution.
⬡
Unlock Full Calculator
Connect your wallet or sign in with email to access the live gas calculator, operation cost table, and optimization tools.
No transaction is made. Sign-only authentication. Free forever.
⬡ — wallet
Calculator Inputs
gas
gwei
gwei
USD
Transaction Cost
Base Fee
—
Burned ♦
Priority Fee
—
Validator tip
Max Fee
—
Your ceiling
Estimated Total Cost
0.000000 ETH
$0.00 USD
0 gwei total
⚡ Gas Speed Estimate
SlowStandardFast
🐢 Slow
—
~5 min
⚡ Standard
—
~1 min
🚀 Fast
—
~15 sec

Common Gas Costs

Click row to use in calculator
OperationGas CostUSD EstimateNotes
⚡ Gas Optimization Tips
▶Use uint256 not smaller ints — packing is compiler-optimized
▶Pack storage variables into same slot (fits 32 bytes)
▶Use calldata not memory for read-only function args
▶Avoid loops on unbounded arrays — use mappings
▶Emit events instead of writing to storage
▶Cache storage reads in memory variables
▶Submit txs during off-peak hours (weekends, early UTC morning)
▶Use immutable and constant where possible
📘 EVM Storage Costs
●SSTORE (new slot) — 20,000 gas. Writing new data is the most expensive EVM op.
●SSTORE (update) — 2,900 gas. Warm slot already in access list.
●SLOAD (cold) — 2,100 gas. First access; warm read is 100 gas.
●MSTORE / MLOAD — 3 gas. Memory is cheap but not persistent.
●CALL — 700 gas base. External calls are expensive — minimize them.
●Zero → NonZero costs 20,000; NonZero → Zero refunds 4,800 gas.