Glossary
Gas limit (Ethereum)
The most gas an Ethereum transaction may use, set by the sender, and the most gas a whole block may hold, set by the network.
On this page
The gas limit is a cap on computing work on Ethereum. Every action costs a set number of gas units, and the gas fee is those units times a price per unit. The term has two meanings that are easy to mix up.
Transaction gas limit
The sender sets the most gas a transaction may use. A plain ether transfer uses exactly 21,000 gas. A token swap or other smart contract call uses more, and wallets estimate how much.
- If the transaction uses less than its limit, only the gas used is charged.
- If it hits the limit before finishing, it fails with "out of gas". Its changes are undone, but the gas spent up to that point is still charged.
The limit is not the price. Raising it does not speed a transaction up; the base fee and tip decide that.
Block gas limit
The network also caps the total gas in one block. As of 2026 an Ethereum block may hold up to 60 million gas, with a target of 30 million. When blocks run fuller than the target, the base fee rises by up to 12.5% per block; when emptier, it falls. Validators can vote the limit up or down in small steps, which is how Ethereum raises its capacity over time.
A higher block limit means more transactions and lower fees, but larger blocks are harder for ordinary computers to process and store, which pushes against decentralization. That trade-off is one reason much activity has moved to layer 2 networks. Fees and the base fee rule are covered in depth in Crypto transaction fees and gas: how they are set.
