B.BlockAxis⌕ Search
Menu

Gas

A measure of execution resources; gas units and the price per unit are separate quantities.

A concrete example

21,000 gas at 10 gwei costs 0.00021 ETH for execution.

In context

Under EIP-1559, the effective price combines a burned base fee and a priority fee within the sender’s cap. A cap below the base fee can prevent inclusion. The gas limit is a consumption ceiling, not necessarily the amount ultimately charged. An out-of-gas failure can still be costly.

The related mechanism, visually

SEE THE CONNECTIONS
Separate gas used, limit and priceFour connected ideas
  1. 01Gas limit: 80,000
  2. 02Gas used: 50,000
  3. 03Effective price: 12 gwei
  4. 04Execution fee: 0.0006 ETH

Read these as connected concepts, not necessarily consecutive steps.

Read the explanation

Gas measures execution work; the gas limit caps how much work a transaction permits. The price determines what each unit costs. Under Ethereum’s fee mechanism, the base fee and priority fee contribute to the effective execution price, subject to the transaction’s caps. An unused gas allowance is not the same as gas consumed.

Explore the full explanation

Ethereum

Ethereum gas and EIP-1559

Gas measures computational resources; the effective gas price determines their cost.

Intermediate5 min reading + workshop ↗

← Back to the glossary

Sources and references

References for the mechanisms described. Numerical examples are hypothetical unless stated otherwise. Check the applicable version, network and jurisdiction.

References reviewed on 21 September 2026. All sources →