Skip to main content
Calcimator

Gas Estimation Calculator

Estimate Ethereum transaction gas costs in ETH and USD from gas used, base fee, priority fee, and current ETH price.

Inputs

Results

Cost per Tx (ETH)

0

Cost per Tx ($)

$2.02

Total Gas Price (Gwei)32
Daily Cost (ETH)0
Daily Cost ($)$2.02
Annual Cost ($)$735.84
How to Use This Calculator
  1. Enter Gas Used for your transaction type — simple ETH transfer = 21,000; ERC-20 transfer ≈ 65,000; Uniswap swap ≈ 150,000.
  2. Set the Base Fee in Gwei from etherscan.io/gastracker and the Priority Fee (tip) in Gwei (typically 1–3 Gwei for normal speed).
  3. Enter current ETH Price ($) to convert gas costs into USD.
  4. Set Transactions per Day to estimate daily and annual gas spend across your protocol.
  5. Review Cost per Tx (ETH and USD), Daily Cost, and Annual Cost to optimize transaction batching or evaluate Layer 2 migration.

How the result changes with Gas Used (units)

Gas Used (units)Cost per Tx (ETH)Cost per Tx ($)
3,000,0000.1$288.00
10,500,0000.34$1,008.00
19,500,0000.62$1,872.00
27,000,0000.86$2,592.00

What each input means

Gas Used (units)
Gas consumed by the transaction. Simple ETH transfer = 21,000; ERC-20 transfer ~ 65,000; Uniswap swap ~ 150,000.
Base Fee (Gwei)
Current network base fee in Gwei. Check etherscan.io/gastracker for live values.
Priority Fee (Gwei)
Tip paid to validators for faster inclusion. Typically 1-3 Gwei for normal speed.
ETH Price ($)
Current market price of ETH in USD.
Transactions per Day
Number of daily transactions to estimate batch and annual costs.

What each result means

Total Gas Price (Gwei)
Base fee + priority fee per gas unit.
Cost per Tx (ETH)
Gas cost for a single transaction in ETH.
Cost per Tx ($)
Gas cost for a single transaction in USD.
Daily Cost (ETH)
Total daily gas cost across all transactions.
Daily Cost ($)
Total daily gas cost in USD.
Annual Cost ($)
Projected yearly gas spend at current rates.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Gas Used (units) = 21000, Base Fee (Gwei) = 30, Priority Fee (Gwei) = 2, ETH Price ($) = 3000 = 5 input(s) provided
  2. Calculate Cost per Tx
    Cost per Tx = (gasUsed * totalGasPriceGwei) / 1e9
    0.000672 = 0.000672
  3. Calculate Cost per Tx
    Cost per Tx = gasCostEth * ethPrice
    2.02 = $2.02
  4. Calculate Total Gas Price
    Total Gas Price = baseFeeGwei + priorityFeeGwei
    32 = 32
  5. Calculate Daily Cost
    Daily Cost = gasCostEth * txCount
    0.000672 = 0.000672

Engine last updated . Checked against 2 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Technology & Computing.