%3C/text%3E%3C/svg%3E">
💻
💻 Tech & IT

Ethereum Gas Fee Calculator (EIP-1559)

Results update as you type.

Your numbers

Understanding the Ethereum gas fee calculator — concept and principle

Every Ethereum transaction pays for the computation it uses, measured in gas. Since the EIP-1559 upgrade (London hard fork, August 2021), the price per unit of gas has two parts: a base fee set by the protocol and burned, and a priority fee (tip) paid to the validator. This calculator converts gas used and both fee parts into the cost in ETH and in your own currency, and shows how much ETH is burned.

Ethereum EIP-1559 fee split21,000 gas × 21.5 gwei = 451,500 gwei = 0.0004515 ETH; 420,000 gwei of base fee is burned and 31,500 gwei of tip goes to the validator.Fee = gas used × price per gas21,000 gas (a simple transfer)× (base 20 + tip 1.5) gwei= 451,500 gwei= 0.0004515 ETH ≈ 1.35 at 3,000base fee 420,000 gwei · 93%tip 31,500 gwei · 7%Burned0.00042 ETHdestroyedTo validator0.0000315 ETHpriority tip
Of the 0.0004515 ETH fee, 93% is the base fee that gets burned; only the 1.5 gwei tip reaches the validator.

How it is calculated

A plain ETH transfer uses exactly 21,000 gas. Token transfers, swaps and contract deployments use more, depending on the code they run.

The principle

Gas separates the amount of work (gas used) from its price (gwei per gas). The base fee is the same for every transaction in a block and adjusts automatically: if the previous block used more than the target (half the gas limit), the base fee rises by up to 12.5%; if it used less, it falls by up to 12.5%. This makes fees more predictable than the old first-price auction. Users add a tip to get included faster, and they set a max fee per gas; the tip actually paid is the smaller of the stated priority fee and (max fee − base fee), and any unused allowance is not charged. Burning the base fee stops validators from profiting by stuffing blocks with their own transactions.

Worked example

  1. Inputs: gas used 21,000, base fee 20 gwei, priority fee 1.5 gwei, ETH price 3,000.
  2. Price per gas = 20 + 1.5 = 21.5 gwei.
  3. Fee = 21,000 × 21.5 = 451,500 gwei = 0.0004515 ETH.
  4. In your currency: 0.0004515 × 3,000 = 1.3545.
  5. Burned = 21,000 × 20 = 420,000 gwei = 0.00042 ETH; the remaining 0.0000315 ETH goes to the validator.
How Fee (ETH) changes with Gas usedHow Fee changes with Gas used00.00020.00040.00060.00080.0015,25010,50015,75021,00026,25031,50042,000Example: 0.0004515Gas used
Each point is the calculator re-run with only “Gas used” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Gas usedFee (ETH)
5,2500.000112875
10,5000.00022575
15,7500.000338625
21,0000.0004515
26,2500.000564375
31,5000.00067725
42,0000.000903

How to read the result

Base fees change block by block, so the result is a snapshot. Most of the fee is usually the base fee, so raising the tip a lot barely speeds up a transaction when blocks are not full. If a transaction fails, the gas it consumed is still charged.

Common mistakes

Keep in mind: Fees and ETH prices change constantly. This is an estimate for understanding costs and not financial or investment advice.

Frequently asked questions

Why did I pay less than my max fee?

You pay base fee plus tip only; the difference to the max fee is never charged.

Where does the burned ETH go?

It is removed from circulation, which reduces total ETH supply.

What exactly is a gwei?

One billionth of an ETH. The smallest unit is the wei (10⁻¹⁸ ETH), and 1 gwei = 10⁹ wei.

Sources: Ethereum Improvement Proposal EIP-1559: Fee market change for ETH 1.0 chain · G. Wood, Ethereum: A Secure Decentralised Generalised Transaction Ledger (Yellow Paper)

Checked 8 Nov 2026. Standard formulas and RFC/IEEE definitions, computed locally in your browser — nothing you type is sent anywhere.

💻 All tech & IT tools →🌍 Calculators by country →