In this track: Gas and execution fees
intermediate · 3 MIN READ

Gas limit versus block gas limit

A transaction budget and a block’s resource constraint apply at different scopes.

LET’S PICTURE IT

One passenger’s luggage allowance differs from the aircraft’s total cargo capacity.

SEE IT FOR YOURSELF
Calculate and split a manual execution feeStep 1 / 4
Calculate and split a manual execution feeGas used21,000A resource quantityGas used and gas limit are different quantitiesBase10 GweiEffective tip2 GweiTotal rate12 Gwei / gasAssumed total cap: 20 Gwei; no live prices are fetchedWork × rate21,000 × 12252,000 GweiExecution fee0.000252 ETHExact unit conversionThis calculation excludes blob and layer 2 data feesBase component0.00021 ETHBurned by protocolPriority component0.000042 ETHTo fee recipientComponents sum to the supplied 0.000252 ETH example

This example supplies twenty-one thousand gas used. It is a simple teaching input, not a live estimate of a contract call.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

A transaction has its own allowance

The transaction gas limit bounds resources available to that execution under the protocol’s rules. The sender does not obtain unlimited computation by placing a large number in a field.

A block has aggregate constraints

Blocks have resource limits governing the transactions they contain. A candidate that cannot fit relevant constraints cannot simply demand inclusion by paying a higher tip.

The EIP-1559 target is another quantity

The gas target used in base-fee adjustment is distinct from the maximum block gas limit. Treating target and limit as the same number confuses how temporary demand affects subsequent fees.

Avoid hard-coded current network limits

Protocol rules and configured network parameters can evolve. This lesson explains the scopes without claiming one universal block limit for every chain or date. Our local calculator accepts a gas amount; it does not validate a full block.

TURN UNDERSTANDING INTO PRACTICEOpen the Gas calculator →
QUICK CHECK · NO PRESSURE

Are the transaction gas limit and block gas limit the same scope?

Your progress stays in this browser.
Keep exploring the original referenceEthereum Improvement Proposals ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.