Ethereum Gas Fee Calculator

Quick answer

An Ethereum gas fee calculator converts gas into a real transaction cost. Pick a transaction type or enter gas units, then add the base fee and priority tip in gwei and the ETH price. It shows the fee in gwei, ETH and dollars, using the EIP-1559 formula: gas used times base fee plus tip. Swaps and mints cost more gas than simple transfers.

Updated 2026-09-09By Shakeel MuzaffarReviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Crypto and Web3
Only used when Custom gas units is selected.
Current network base fee, shown by gas trackers.
Extra paid to validators for faster inclusion.
$
Todays price of one ETH.
Transaction fee
--
Fee in ETH--
Fee in gwei--
Burned (base fee)--
Cost of 10 transactions--

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)

How to Use the Gas Fee Calculator

  1. Choose a transaction type, or select Custom and enter the gas units from your wallet.
  2. Enter the current base fee in gwei from a gas tracker.
  3. Enter the priority fee you plan to tip.
  4. Enter the ETH price to see the cost in dollars.
ResultWhat it tells you
Transaction feeThe total cost in dollars at the ETH price entered.
Fee in ETH and gweiThe same fee in the units your wallet uses.
Burned (base fee)The part of the fee destroyed by the network rather than paid to validators.
Cost of 10 transactionsA quick guide for repeated actions.

What Is an Ethereum Gas Fee?

Every action on Ethereum, from sending ETH to swapping tokens or minting an NFT, uses computing work measured in gas. Gas is a unit of effort, not a currency. You pay for it in ETH, priced in gwei, where one gwei is one billionth of an ETH.

Since the London upgrade introduced EIP-1559, the price per unit of gas has two parts. The base fee is set by the network according to how full recent blocks were, and it is burned. The priority fee, or tip, goes to the validator and encourages them to include your transaction quickly.

Simple transfers always use exactly 21,000 gas. Interacting with smart contracts uses more, because the contract performs more computation. That is why a swap can cost many times a plain transfer at the same gas price.

How the Gas Fee Calculator Works

It multiplies the gas used by the price per unit of gas, then converts gwei to ETH and dollars.

Formula: Fee (ETH) = gas units x (base fee + priority fee) / 1,000,000,000

With gas used G, base fee b and tip t in gwei, the fee is F = G x (b + t) / 10^9 ETH, and the dollar cost is that amount times the ETH price.

  1. Take the gas units for the transaction type.
  2. Multiply by the base fee plus tip to get the fee in gwei.
  3. Divide by one billion for ETH, then multiply by the price.

Wallets also set a max fee, a ceiling you are willing to pay. You are charged the actual base fee plus tip, not the max, and any difference is refunded.

Gas Fee Example

These figures are illustrative. With ETH at 3,000, a base fee of 12 gwei and a 1 gwei tip, a simple transfer uses 21,000 gas. That is 273,000 gwei, or 0.000273 ETH, about 0.82.

A DEX swap using about 150,000 gas at 20 gwei plus a 2 gwei tip costs 0.0033 ETH, about 9.90. Of that, 0.003 ETH is base fee that gets burned.

During a busy NFT mint, gas might reach 40 gwei plus a 3 gwei tip. A 120,000 gas mint then costs 0.00516 ETH, about 15.48, which shows how quickly congestion raises costs.

Gas Cost by Transaction Type: a Comparison

TransactionTypical gas unitsCost at 20 gwei and 3,000 ETH
ETH transfer21,000About 1.26
Token approvalAbout 46,000About 2.76
ERC-20 transferAbout 65,000About 3.90
NFT mintAbout 120,000About 7.20
DEX swapAbout 150,000About 9.00

Gas units vary by contract; complex swaps across several pools can use far more. Your wallet shows the estimate for your exact transaction.

Factors That Affect Gas Fees

Network Demand

The base fee rises when blocks are more than half full and falls when they are emptier.

Transaction Complexity

More contract computation means more gas units.

Priority Tip

A higher tip speeds inclusion but adds to the cost.

ETH Price

The same gas fee in ETH costs more in dollars when ETH rises.

Time of Day

Fees are often lower at weekends and during quieter hours.

When to Use a Gas Fee Calculator

Before a Transaction

Check whether a small transfer is worth its fee.

Planning Many Actions

Estimate the cost of repeated claims, trades or mints.

Comparing with Layer 2

See how much you would save by moving activity to a rollup.

Budgeting a Launch

Estimate deployment and interaction costs for a project.

Common Gas Fee Mistakes

1. Confusing Gas Units with Gas Price

Units measure work; gwei per unit is the price.

2. Setting the Gas Limit Too Low

A transaction that runs out of gas fails but still charges for the work done.

3. Overpaying the Tip

In quiet periods a small tip is usually enough.

4. Ignoring Approval Transactions

Many token actions need a separate approval first, adding a second fee.

5. Transacting at Peak Times

Waiting for lower demand can cut fees sharply.

Accuracy and Limitations

What it calculates accurately

  • Fee in gwei, ETH and dollars for given gas and prices
  • The burned base fee portion
  • Cost of repeated transactions

What it does not account for

  • Exact gas used by a specific contract
  • Base fee changes before your transaction is included
  • Layer 2 data fees
  • Failed transactions

How We Calculate Gas Fees

Method
Fee = gas units x (base fee + priority fee) gwei; ETH = gwei / 10^9; dollars = ETH x price; burned = gas x base fee.
Inputs used
Transaction type or custom gas, base fee, tip and ETH price.
Assumptions
EIP-1559 pricing on Ethereum mainnet; typical gas units for preset types.
Rounding
Money to two decimals; ETH to six significant figures.
Edge cases
Custom gas must be above zero; a blank tip counts as zero.
Last reviewed
2026-09-16.

Frequently Asked Questions About Ethereum Gas Fees

How are Ethereum gas fees calculated?

Multiply the gas units used by the base fee plus priority fee in gwei, then divide by one billion to get ETH.

What is gwei?

Gwei is a small unit of ETH. One gwei equals 0.000000001 ETH, and gas prices are quoted in gwei.

How much gas does an ETH transfer use?

A standard ETH transfer uses exactly 21,000 gas units.

What is the base fee?

It is the minimum price per gas set by the network for each block. It is burned rather than paid to validators.

What is a priority fee?

A tip paid to the validator to include your transaction sooner. It is added to the base fee.

Why are swaps more expensive than transfers?

Swaps run smart contract code that uses much more gas, often 100,000 units or more.

When are gas fees lowest?

Usually during quieter periods such as weekends and late night in US and European time zones.

Do layer 2 networks have lower fees?

Yes. Rollups batch transactions and usually cost a small fraction of mainnet fees.

Is anything I enter stored?

No. The calculation runs in your browser, and nothing you enter is sent anywhere unless you Save a result, which stays on this device only.

Sources

Related Calculators

Looking for more crypto and AI tools?

Explore all AI and crypto calculators

This calculator is for general education. Gas prices change every block and ETH prices move constantly; the example figures are illustrative. Your wallet shows the exact fee before you confirm a transaction. Spotted an error? Let us know.

Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.