Ethereum Gas Fee Calculator
Fetching live ETH price…
Every Ethereum Transaction Has a Price Tag Set by the Network, Not the Wallet
Ethereum charges for computation, not just for moving value. Gas measures how much computational work a transaction demands, gas price (in gwei) is what the network is currently charging per unit of that work, and the two multiply together to set the fee — before it's even converted to ETH or dollars. Because gas price floats with network demand, the same transaction can cost cents during quiet periods and dollars during congestion. This calculator converts gas limit and gas price directly into an ETH and dollar fee.
The Formula
Fee (ETH) = Fee (Gwei) ÷ 1,000,000,000
Fee (USD) = Fee (ETH) × ETH Price
One gwei is one-billionth of an ETH, which is why the gwei figure needs dividing by a billion to land back in ETH terms before converting to dollars.
Typical Gas Usage by Transaction Type
Gas limit varies by what the transaction actually does. At an illustrative gas price of 30 gwei and an illustrative ETH price of $3,000, typical operations cost roughly:
| Transaction Type | Typical Gas | Fee (ETH) | Fee (USD) |
|---|---|---|---|
| Simple ETH transfer | 21,000 | 0.000630 | $1.89 |
| ERC-20 token transfer | ~65,000 | 0.001950 | $5.85 |
| NFT mint (typical ERC-721) | ~85,000 | 0.002550 | $7.65 |
| Token swap on a DEX | ~150,000 | 0.004500 | $13.50 |
A plain ETH transfer always uses exactly 21,000 gas — that figure is fixed by the protocol. Contract-interaction figures (token transfers, mints, swaps) vary by contract implementation; the values above are representative, not universal, and gas price and ETH price change constantly, so treat the dollar figures as illustrative only.
Where This Calculation Matters
- Timing transactions — comparing the fee at the current gwei price against off-peak levels before submitting a non-urgent transaction.
- Budgeting contract interactions — estimating cost before minting, swapping, or bridging, especially for gas-heavy operations.
- Setting gas price manually — understanding exactly how much a chosen gwei value adds to the final fee before overriding wallet defaults.
How to Use This Calculator
- Enter the gas limit for the transaction.
- Enter the current gas price in gwei.
- Enter the current ETH price in dollars.
- Select Calculate to see the fee in both ETH and dollars.
Related Calculations
For fees specific to minting or selling NFTs, see the NFT Gas Fee Calculator. To evaluate a DeFi liquidity position rather than a single transaction, use the Impermanent Loss Calculator.