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.
Result
- Fee in gwei630,000 gwei
- Fee in ETH0.00063 ETH
- Fee in USD$1.89
- Gas price30 gwei
- Gas units21,000
Step-by-step
- Fee in gwei = gas price ร gas units = 30 ร 21,000 = 630,000 gwei.
- Convert to ETH: 630,000 gwei ร 10โปโน = 0.00063 ETH.
- 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 priceThe 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
- Inputs:
- gwei=30, gasUnits=21000, ethPrice=3000
- Output:
- 0.00063 ETH = $1.89
- Inputs:
- gwei=50, gasUnits=65000, ethPrice=3000
- Output:
- 0.00325 ETH = $9.75
- 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.