Crypto Gas Fee Calculator (Gwei to USD)

Estimate an Ethereum transaction fee from the gas price in gwei, the gas units used, and the ETH price in dollars.

Inputs

Price per unit of gas in gwei (1 gwei = 1e-9 ETH).

Gas the transaction consumes. Simple ETH transfer = 21,000; token/contract calls use more.

Current price of 1 ETH in dollars.

Result

Estimated transaction fee
$1.89
0.00063 ETH ยท 630,000 gwei
  • Fee in gwei630,000 gwei
  • Fee in ETH0.00063 ETH
  • Fee in USD$1.89
  • Gas price30 gwei
  • Gas units21,000
Not financial advice โ€” Estimates a legacy-style fee (gas price ร— gas used). Post-EIP-1559, the effective price is base fee + priority tip; use the total gwei you expect to pay. Gas prices and ETH price change constantly.

Step-by-step

  1. Fee in gwei = gas price ร— gas units = 30 ร— 21,000 = 630,000 gwei.
  2. Convert to ETH: 630,000 gwei ร— 10โปโน = 0.00063 ETH.
  3. USD = 0.00063 ETH ร— $3,000.00 = $1.89.

How to use this calculator

  • Enter the gas price in gwei (from your wallet or a gas tracker).
  • Enter the gas units โ€” 21,000 for a plain ETH send, more for contracts.
  • Enter the current ETH price in dollars.
  • Read the estimated fee in gwei, ETH, and USD.

About this calculator

Every Ethereum transaction costs a fee paid in ETH, calculated from two things: the gas price (how much you pay per unit of computation, quoted in gwei) and the gas units the transaction consumes (how much computation it needs). A gwei is one-billionth of an ETH. Multiply the gas price by the gas units to get the fee in gwei, divide by a billion to get ETH, and multiply by the ETH price to get dollars. A simple ETH transfer uses a fixed 21,000 gas; sending tokens or interacting with smart contracts (swaps, mints) uses much more. This calculator turns those numbers into an estimated fee in gwei, ETH, and USD. Since the EIP-1559 upgrade, the price you pay is a base fee plus a priority tip, so enter the total gwei you expect; both the gas price and ETH price move constantly.

How it works โ€” the formula

Fee (gwei) = Gas price (gwei) ร— Gas units Fee (ETH) = Fee (gwei) ร— 10โปโน Fee (USD) = Fee (ETH) ร— ETH price

The fee is the per-unit gas price times the units consumed, converted from gwei to ETH and then to dollars at the market price.

Worked examples

Example 1
30 gwei, 21,000 gas, $3,000 ETH
Inputs:
gwei=30, gasUnits=21000, ethPrice=3000
Output:
0.00063 ETH = $1.89
Example 2
50 gwei, 65,000 gas (token), $3,000
Inputs:
gwei=50, gasUnits=65000, ethPrice=3000
Output:
0.00325 ETH = $9.75
Example 3
20 gwei, 150,000 gas (swap), $2,500
Inputs:
gwei=20, gasUnits=150000, ethPrice=2500
Output:
0.003 ETH = $7.50

Limitations

  • Legacy fee model (gas price ร— gas); enter total gwei for EIP-1559.
  • Live gas and ETH prices are not fetched โ€” you supply them.
  • Actual gas used can vary slightly from estimates.

Estimate only; confirm current gas and ETH prices before transacting.

Frequently asked

Gwei (gigawei) is a denomination of ETH used to price gas: 1 gwei = 0.000000001 ETH (10โปโน). Gas prices are quoted in gwei because the per-unit cost is a tiny fraction of an ether.

Related calculators

More tools you might like