Search
Free crypto tools · Market data loads when needed.Data details ↗
THE CRYPTO.TT TOOLKIT

Ethereum gas fees explained: base fee, tip and gas limit

Understand gas used, gas limit, base fee, priority tip and maximum fee per gas before reading an Ethereum transaction-cost estimate.

An Ethereum execution fee is gas used multiplied by the effective price per gas. The gas limit caps available execution work; it is not automatically the amount charged.

On this page

Gas measures work; gwei prices that work.

Gas units measure execution work on Ethereum. The fee per unit is commonly shown in gwei, where one gwei is one billionth of an ETH. Multiplying gas used by the effective price per unit gives the execution fee.

Gas used is not the same as the gas limit.

The limit sets the maximum execution gas available to the transaction. Used gas records what was actually consumed. Enter expected gas used for a fee estimate; enter a limit only if you intend a ceiling scenario. Contract calls can require very different gas quantities from a basic transfer.

Base fee and priority fee

In the EIP-1559 model, the base fee and an effective priority fee determine the gas price, subject to the sender’s maximum fee cap. A tip cap of 2 gwei does not mean a transaction will pay 2 gwei in total.

The fee cap is not necessarily the final rate.

For the calculator’s execution model, effective price is the smaller of maximum fee and base fee plus maximum priority fee. If the maximum fee is 11 gwei while base fee is 10 and tip cap is 2, the effective priority fee is only 1 gwei. A maximum below the base fee is insufficient for inclusion at that base fee.

Keep the scope of the estimate clear.

A gas limit multiplied by a maximum fee is a different scenario from expected gas used multiplied by an effective fee. A failed transaction can still consume gas. Rollups, blob transactions and service fees can introduce additional cost components that this calculator does not include.

Primary references: Ethereum gas and fees and EIP-1559.

Use the calculator →
← All guidesCrypto glossary →

Need the wider context? Explore the Ethereum overview, reference price and related tools.

For a failed included transaction, read the failed-gas guide before retrying.

Worked example: calculate the fee, not just the cap

Assume a transaction uses 42,000 gas, the inclusion block’s base fee is 8 gwei, the priority-fee cap is 2 gwei, and the maximum fee is 15 gwei. These are invented inputs. The effective price is min(15, 8 + 2) = 10 gwei. The execution fee is 42,000 × 10 ÷ 1,000,000,000 = 0.00042 ETH.

If the gas limit were 60,000, multiplying that limit by the 15 gwei maximum gives a 0.0009 ETH execution-fee ceiling, not the charge in this example. Transferred ETH and other fee components are outside this calculation.

Try a lower cap

Keep the gas used and base fee unchanged, but reduce the maximum fee to 9 gwei. What happens to the tip and total?

Show the worked answer

The effective priority fee is min(2, 9 − 8) = 1 gwei. The effective price is 9 gwei and the execution fee is 0.000378 ETH. A maximum of 7 gwei would instead be below the assumed 8 gwei base fee; this is not a cheaper includable transaction under those conditions.

Load the 15 gwei example in the calculator, or try the 9 gwei cap and insufficient 7 gwei cap. Select Calculate after loading; the examples do not run automatically. The EIP-1559 specification defines the fee-cap relationship; Ethereum’s gas documentation explains gas used and execution fees. Checked for this example on 28 November 2026.