Skip to content
Glossary

Gas Fee

A gas fee is the payment required to perform a transaction or execute a smart contract on a blockchain. It compensates validators or miners for the computing resources your action consumes and helps prevent the network from being spammed.

How it works

Every operation has a cost measured in units of “gas.” Your total fee is the amount of gas used multiplied by the price you are willing to pay per unit. When the network is busy, users bid higher prices to have their transactions included sooner, so fees rise with demand and fall when activity is light.

Why it matters

Gas fees determine how affordable a network is to use, and high fees during congestion are a major reason Layer 2 scaling solutions exist. Understanding gas also helps you avoid overpaying or having a transaction stall because the fee was set too low.

Example

On Ethereum, gas is denominated in gwei, a tiny fraction of one ether, and wallets estimate the fee before you confirm.

Gas Fee: Frequently Asked Questions

What is a gas fee and why do I have to pay it?
A gas fee is the payment required to perform a transaction or run a smart contract on a blockchain. It compensates the validators or miners for the computing resources your action consumes and helps prevent the network from being spammed. Every operation has a cost measured in units of gas, and the fee covers that work.
Why do gas fees change so much?
Your total fee is the gas used multiplied by the price you are willing to pay per unit. When the network is busy, users bid higher prices to have their transactions included sooner, so fees rise with demand and fall when activity is light. High fees during congestion are a major reason Layer 2 scaling solutions exist.
What happens if I set my gas fee too low?
If you set the price per unit of gas too low when the network is busy, your transaction may stall, because others paying more get included first. Understanding gas helps you avoid both overpaying and having a transaction stuck. On Ethereum, gas is denominated in gwei, and wallets estimate the fee before you confirm.