Skip to main content
Blockchain Basicsintermediate

Gas Limit

Definition

Gas Limit — The maximum amount of computational work a transaction or block can perform, preventing infinite loops and controlling blockchain resource usage.

From Thrive on YouTube

Watch this explained

Watch the series

Limit vs Market Orders on Crypto Futures

Part of Start Here: Crypto Futures Basics. Education only. Not financial advice.

What Is Gas Limit?

The gas limit is the maximum amount of gas (computational units) that can be consumed. It exists at two levels: the transaction gas limit (set by the sender, capping how much computation their transaction can use) and the block gas limit (set by the network, capping the total gas in a single block). If a transaction exceeds its gas limit, it reverts — the computation stops and the gas is consumed.

How Gas Limit Works

The block gas limit determines how many transactions fit in each block and therefore the chain's throughput. Ethereum's block gas limit is currently ~30 million gas. A simple ETH transfer uses ~21,000 gas, so a block could fit ~1,400 simple transfers. Complex DeFi transactions use 200,000-500,000+ gas, drastically reducing the number of transactions per block.

Why It Matters for Traders

For DeFi traders, setting the right transaction gas limit is important: too low and the transaction fails (you lose gas but the transaction reverts), too high and you're reserving more than needed (though only used gas is charged). Most wallets estimate gas limits automatically, but for complex transactions, adding a 20-30% buffer above the estimate prevents failed transactions during volatile gas price conditions.

You Came to Learn. Don't Stop Now.

The Academy picks up right where the glossary leaves off. Deeper. Sharper. Profitable.

Keep Learning

Related Terms

Further Reading

Trade Smarter with Thrive

Live market context, AI-powered analysis, and a trading journal that helps you improve.

Get Started