Back to glossary

Gas Limit

Moderate

The maximum number of gas units a sender is willing to consume executing an Ethereum transaction. Simple ETH transfers cost a flat 21,000 gas; contract calls can consume millions. If execution exceeds the gas limit, the transaction reverts but the gas is still consumed. Setting too low a gas limit causes reverts; too high wastes nothing extra (unused gas is refunded).