Gas Fee Calculator

Pick a transaction type or enter the gas used, and the gas price, to see what the transaction costs.

What gas is

Gas measures the computing work a transaction needs on Ethereum. A plain ETH transfer uses 21,000 units of gas. Sending a token or swapping one token for another takes more, because a smart contract must run. The fee you pay is the gas used multiplied by the price you pay for each unit of gas, which is quoted in gwei, where one gwei is a billionth of an ETH.

Base fee and priority fee

Since a 2021 upgrade, the gas price has two parts. The base fee is set by the network and changes with demand, and it is burned. The priority fee, or tip, goes to the validator and helps your transaction get included faster. Your cost per gas is the base fee plus the tip. Enter both, and the calculator shows the total in ETH and in dollars.

Estimating a fee

The gas used by a transaction depends on what it does, so the types in the list are typical values and not exact. Your wallet shows the real estimate before you confirm. The table shows what your transaction would cost at several gas prices, which is helpful for deciding whether to wait for a quieter time. Other networks, such as layer 2 networks, charge far less, and use different rules.

Crypto prices are very volatile and you can lose money. This calculator does simple arithmetic and is not financial advice. Real gas use varies by contract and network.

Common questions

How is the gas fee calculated?

Gas fee = gas used × gas price. The gas price is the base fee plus the priority fee, in gwei, and one gwei is 0.000000001 ETH.

How much gas does an ETH transfer use?

A simple ETH transfer uses exactly 21,000 gas. Contract calls use more.

What is a gwei?

A gwei is one billionth of an ETH. Gas prices are quoted in gwei to avoid long decimals.

Why do fees change so much?

The base fee rises when the network is busy and falls when it is quiet, so the same transaction can cost many times more at a busy time.

Can I lower the fee?

You can wait for a quieter time, lower the priority fee if you are not in a hurry, or use a layer 2 network where fees are much lower.

More Crypto & Forex Calculators

Pick another tool to jump straight to it.