Live
Data: CoinGecko
Language: EN

Crypto Glossary

Gas

What is Gas?

Gas is the unit that measures the computing work needed to run a transaction on Ethereum and similar blockchains. Users pay gas fees, priced in gwei, to compensate validators and prevent network spam.

Every operation in the Ethereum Virtual Machine has a gas cost: a simple ETH transfer uses 21,000 gas, while a complex DeFi trade can use many times more. The fee you pay equals the gas used multiplied by the gas price.

Since the EIP-1559 upgrade in 2021, each block has a base fee that rises and falls with demand and is burned, plus an optional priority fee (tip) that goes to the validator. When the network is busy, fees spike.

Layer-2 networks process transactions off the main chain and post compressed data back to it, cutting gas costs dramatically. A transaction that fails still consumes the gas spent up to the point of failure.

Updated

Related news

← All glossary terms