ETH gas fees calculator

Refresh of the ETH gas units calculator with dated official EIP-1559, ERC-20, and blob-gas worked examples. Arithmetic only, not a live gas quote.

Your assumptions

Your result

Enter your assumptions and calculate. Results appear here.

An arithmetic estimate, not a live gas quote. It omits network-specific additions, exchange withdrawal charges and differences between estimates and actual gas used.

Official sources were re-read on 4 December 2026, Asia/Shanghai. Cited official wording still matched, except where this page already records a limit.

What this page calculates

This CoinReadout tool converts Ethereum gas units and a gas price in gwei into an ETH fee. It is an arithmetic estimate from assumptions you enter or from dated official examples. It does not fetch a live gas quote, and it is not a second ETH gas calculator. The live destination for this refresh remains https://coinreadout.com/tools/ethereum-gas-units/.

The official Ethereum fee formula, taken from the ethereum.org gas documentation opened on 4 December 2026 (Asia/Shanghai), is:

units of gas used * (base fee + priority fee)

The official gas documentation, which that fetch recorded as last updated on 23 November 2026, says the base fee is set by the protocol and the priority fee is a tip set by the user. A transaction that pays only the base fee is described there as technically valid but unlikely to be included, because it offers no incentive to validators. The same page says a standard ETH transfer requires a gas limit of 21,000 units of gas, and that more complicated transactions involving smart contracts require more computational work and therefore a higher gas limit than a simple payment.

If you have a base fee and a priority fee, add them first and enter the total as the gas price in gwei. This page does not split those components automatically and does not fetch live gas.

Official ETH transfer worked examples

Two official documentation examples were readable on 4 December 2026. Both use the official 21,000-unit ETH transfer figure. Neither is a live gas quote.

Official gas documentation example: an ETH transfer requires 21,000 units of gas, the base fee is 10 gwei, and the tip is 2 gwei.

21,000 * (10 + 2) = 252,000 gwei (0.000252 ETH)

In that official example, 1.000252 ETH is deducted from the sender, the recipient is credited 1.0000 ETH, the validator receives the tip of 0.000042 ETH, and the base fee of 0.00021 ETH is burned.

Official transactions documentation example: a simple transfer requires 21000 units of gas. For a send of 1 ETH at a baseFeePerGas of 190 gwei and a maxPriorityFeePerGas of 10 gwei, the official fee is:

(190 + 10) * 21000 = 4,200,000 gwei, or 0.0042 ETH

In that official example, the sender is debited 1.0042 ETH (1 ETH for the recipient plus 0.0042 ETH in gas fees), the recipient is credited 1.0 ETH, the base fee of 0.00399 ETH is burned, and the validator keeps the tip of 0.000210 ETH.

The live calculator on this URL has also used an inspectable arithmetic default of 21,000 units at 20 gwei, which equals 0.00042 ETH, and an assumed 2,500 quote-currency units per ETH, which equals 1.05 in that quote currency. Those 20 gwei and 2,500 inputs are calculator assumptions you can change. They are not official live gas or official ETH price figures.

Official illustrative ERC-20 approve and swap gas units

Official Ethereum protocol docs do not publish a single fixed gas-used figure for every ERC-20 approve or every swap. The official ERC-20 documentation describes approve, transfer, and transferFrom as standard methods, but it does not assign those methods a constant gas unit in the way a simple ETH transfer is assigned 21,000 units.

A separate official ethereum.org article, "Building on Ethereum in 2026", opened on 4 December 2026, gives illustrative gas-used figures and dollar costs. That article says that, as of 5 May 2026, Etherscan's gas tracker shows standard gas around 0.15 gwei, with daily averages near 0.5 gwei through April. It then says: at 0.5 gwei, the recent April average, and ETH at roughly $2,350, illustrative costs look like this.

Operation (official article label)Official illustrative gas usedOfficial illustrative cost
ETH transfer21,000$0.025
ERC-20 transfer~65,000$0.076
ERC-20 approve~46,000$0.054
Swap~180,000$0.21
ERC-20 deploy~1,200,000$1.41

The official article states that those are examples, not guarantees, and that costs move with ETH price, gas price, and contract complexity. The tildes on the non-transfer rows are official-page wording. This refresh does not treat ~46,000 or ~180,000 as protocol constants.

The same stated inputs can be recomputed with ordinary arithmetic, so the official rounding is visible:

Those dollar figures belong to the official article's April average and roughly $2,350 assumption. They are not a 4 December 2026 live quote.

The official EIP-1559 formula can also be applied to those official approximate gas units using the official gas-documentation fee example of 10 gwei base fee plus 2 gwei priority fee:

Use a wallet estimate or a transaction receipt for the actual gas used on a specific contract. If the estimate differs from these official illustrative units, use the estimate with the same official formula.

L2 settlement and blob gas

Type 3 (blob) transactions, described in the official transactions documentation opened on 4 December 2026, were introduced in EIP-4844 as part of Ethereum's Dencun upgrade. That page says these transactions are designed to handle blob data more efficiently, particularly benefiting Layer 2 rollups, and that they include fields such as blobVersionedHashes, maxFeePerBlobGas, and blobGasPrice.

The official EIP-4844 text opened on the same date prices blob data with a separate blob-gas market. The official formulas in that text are:

The fetched EIP-4844 parameter table lists GAS_PER_BLOB as 2**17, which is 131,072 blob gas per blob, and MIN_BASE_FEE_PER_BLOB_GAS as 1 wei. The same table still lists TARGET_BLOB_GAS_PER_BLOCK as 393,216 and MAX_BLOB_GAS_PER_BLOCK as 786,432, which that EIP text says corresponded to a target of 3 blobs and a maximum of 6 blobs per block. The dated public-endpoint snapshot below recorded a blobGasUsed value larger than that original maximum, so later upgrades have changed the blob-gas limit. This page uses the official fee formula and the dated snapshot. It does not treat the original 6-blob cap as the current mainnet limit.

At the official minimum blob base fee of 1 wei, one blob would cost 131,072 wei (0.000000000000131072 ETH). Real blob base fees move with excess blob gas. The official EIP-4844 text also lists BLOB_BASE_FEE_UPDATE_FRACTION as 3,338,477, but applying that original fraction to the 4 December 2026 snapshot's excessBlobGas did not reproduce the node's eth_blobBaseFee. This page therefore does not compute a blob base fee from that outdated fraction. It uses the node's dated eth_blobBaseFee with the official GAS_PER_BLOB formula.

Blob gas is independent of ordinary execution gas. An L2 settlement transaction that posts blobs can owe both an EIP-1559 execution fee and a blob fee.

Dated public-endpoint snapshot (4 December 2026)

The following figures are a single public-endpoint snapshot, not a live tracker and not an official ethereum.org worked example. They were read from https://ethereum.publicnode.com (JSON-RPC, chain id 1) at 02:16:15 Asia/Shanghai on 4 December 2026. The latest block in that response was number 26,551,349, with a block timestamp of 02:16:11 Asia/Shanghai on the same date.

FieldSnapshot value
baseFeePerGas1,513,750,220 wei (1.513750220 gwei)
maxPriorityFeePerGas21 wei (0.000000021 gwei)
eth_gasPrice (equals base fee plus that priority fee)1,513,750,241 wei (1.513750241 gwei)
eth_blobBaseFee128,877,241 wei (0.128877241 gwei)
blobGasUsed1,703,936 (13 * 131,072)
excessBlobGas218,334,952

Applying the official EIP-1559 formula to the official 21,000-unit ETH transfer, and to the official article's approximate approve and swap units, at this snapshot's effective price of 1,513,750,241 wei per gas:

ScenarioGas units used in the calculationSnapshot fee
Official ETH transfer21,00031,788,755,061,000 wei = 0.000031788755061 ETH
Official approximate ERC-20 approve~46,00069,632,511,086,000 wei = 0.000069632511086 ETH
Official approximate swap~180,000272,475,043,380,000 wei = 0.000272475043380 ETH

Applying the official blob-fee formula at the snapshot eth_blobBaseFee of 128,877,241 wei:

BlobsBlob gas (131,072 each)Snapshot blob fee
1131,07216,892,197,732,352 wei = 0.000016892197732352 ETH
13 (this block's blobGasUsed)1,703,936219,598,570,520,576 wei = 0.000219598570520576 ETH

These snapshot fees will already be stale on a later day. Recheck a current official or public endpoint before relying on a number, and keep the official documentation examples above for a reproducible fee walkthrough that does not depend on this snapshot.

How to use the calculator

  1. Decide whether you are pricing ordinary execution gas, blob gas, or both. Do not enter a blob-gas unit count into an execution-gas field and treat the result as a full L2 settlement fee.
  2. For an ETH transfer, start with the official 21,000 units unless your wallet or receipt shows a different gas-used figure.
  3. For an ERC-20 approve or swap, prefer the gas-used figure from a wallet estimate or a receipt. The official ~46,000 and ~180,000 figures are illustrative examples from the official 2026 article, not guaranteed units.
  4. Add the base fee and the priority fee, then enter the sum as the gas price in gwei, or use one of the official documentation examples above.
  5. Read the ETH result as an arithmetic estimate for those assumptions. A quote-currency conversion, if shown, uses a price you enter. It is not a live ETH price.

What this page does not do

If official documentation or a later public-endpoint reading changes, use that later source. This refresh follows the official pages and the public-endpoint snapshot filed on 4 December 2026.

Find a guide or tool

Search stays in this browser. No query is sent to a search provider.