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
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.
Frequently asked
What is gwei?+
How do I calculate an Ethereum gas fee?+
How many gas units does a transaction use?+
What changed with EIP-1559?+
Why do gas fees vary so much?+
Does this fetch live gas or ETH prices?+
Related calculators
More tools you might like
Hand-picked tools that pair well with this one — same audience, same intent.
Convert between satoshis and bitcoin (1 BTC = 100,000,000 sats) and optionally value either in US dollars at a given BTC price.
Project the future value of a present sum at a nominal growth rate, then adjust for inflation to show its real, inflation-adjusted value.
Calculate what X% of a value is, find what percentage one number is of another, or compute the percentage change between two numbers.
Six-mode percentage tool — X% of Y, X is what % of Y, % change, % difference (symmetric), add %, and subtract %.
Annual fuel cost (gas car) vs annual electricity cost (EV) for the same mileage.
Estimate password entropy in bits and the time an offline brute-force attacker would need at common cracking rates. Pure client-side — your password is never sent anywhere.