What Are Gas Fees?
Gas fees are the payments you make to have a transaction processed on a blockchain. Every time you send coins, swap tokens, or interact with an app on a network like Ethereum, you pay a fee to the network for including your request. The term "gas" is an analogy: just as a car needs fuel to run, an action on the blockchain needs gas to be carried out.
Why fees exist at all
A blockchain has limited space in each block, and thousands of people may want their transactions included at the same time. Fees serve two purposes. First, they pay the validators or miners who do the work of processing and securing transactions. Second, they act as an auction: when demand for block space is high, people who pay more get processed sooner, and the fee naturally rises. For how blocks are built, see what is a blockchain.
What determines the fee
A gas fee is roughly the amount of computation your transaction needs, multiplied by the current price per unit of that computation. Two things drive it:
- Complexity of the action. A simple coin transfer uses little gas. Interacting with a complex smart contract, such as a token swap, uses much more.
- Network demand. The price per unit floats with congestion. When many people transact at once, the price climbs; when the network is quiet, it falls.
Why the same action can cost wildly different amounts
This surprises many newcomers. Sending the exact same transaction might cost a few cents during a quiet period and tens of dollars during a rush, such as a popular token launch or a market panic. Nothing about your transaction changed; the network simply got more crowded and the fee auction heated up. This is why experienced users check current fee levels before acting rather than assuming a fixed cost.
Gas on different networks
Fees vary enormously between blockchains. Ethereum's main network is known for fees that can spike high during congestion. Other networks and so-called layer 2 systems are designed to process transactions far more cheaply by handling them off the main chain and settling in batches. This is one of the main reasons layer 2 networks exist, and why the same swap can cost a dollar on one network and a fraction of a cent on another.
Practical things to understand
- Failed transactions can still cost gas. If a transaction runs out of gas or is rejected by a contract, the network may still have done work, so the fee is not always refunded.
- You need the native coin to transact. To move a token on Ethereum you must hold some ETH for gas, even if the token itself is what you are sending. Running out of the native coin can leave assets temporarily stuck.
- Fee estimates are estimates. Wallets suggest a fee based on current conditions, but a sudden surge in demand can change what actually gets charged.
Fees and scams
Because gas is confusing to newcomers, it is a common cover story for fraud. Be wary of any site or message claiming you must send extra coins to "unlock", "activate", or "release" funds beyond a normal network fee. Legitimate gas is paid automatically by your wallet to the network, never sent to a person. See common crypto scams.
The takeaway: gas fees are the price of using block space, set by an auction that rises and falls with demand. Understanding that they are variable, paid in the network's own coin, and sometimes charged even on failed transactions will save you from unpleasant surprises.
A free daily email — the biggest movers, in plain English. No spam.