Gas Fee
- A gas fee is the payment required to perform a transaction or execute a smart contract on a blockchain, compensating validators or miners for the computing resources your action consumes.
- Every operation has a cost measured in units of gas, and your total fee is the gas used multiplied by the price you are willing to pay per unit, so fees rise with demand and fall when activity is light.
- Gas fees determine how affordable a network is to use, and high fees during congestion are a major reason Layer 2 scaling solutions exist.
A gas fee is the cost paid to a blockchain network to process a transaction or execute a smart contract, most commonly associated with Ethereum and similar networks. The fee compensates the validators (or, historically, miners) who include the transaction in a block, and it typically rises when network demand is high and falls when the network is quiet.
Why it matters
Gas fees can fluctuate significantly and, at times, make small transactions impractical if the fee costs more than the transfer itself. Understanding gas is important for anyone interacting directly with smart contracts, such as swapping tokens on a decentralized exchange, since a transaction can fail and still consume some gas if it runs out mid-execution.
Example
Fees on Ethereum are typically far higher during periods of network congestion than during quiet periods; see live network activity on our Ethereum page.
This is educational information, not financial advice. Coingsty does not recommend buying or selling any asset.
Why do gas fees go up and down?
What are gas fees actually paying for?
How can I avoid overpaying on gas?
Other glossary terms connected to this one.
Go deeper than the definition — explainers, live data and free calculators.