What Are Gas Fees? Why Transactions Cost Money
What are gas fees? A plain-English guide to why blockchain transactions cost money, how fees work on Ethereum, Bitcoin and Solana, and how to pay less.
Gas fees are the payments you make to a blockchain network to process your transaction, compensating the validators or miners who include it in a block and preventing the network from being flooded with spam. On Ethereum the word "gas" refers specifically to the unit that measures computing work, but people now use "gas fees" for transaction fees on most blockchains.
Fees surprise many beginners: sending a small amount can sometimes cost more than expected, and the cost can change from one hour to the next. Understanding why helps you avoid overpaying, avoid failed transactions and choose the right network for each task.
A Simple Analogy: Postage and Rush Delivery
Think of a blockchain as a delivery service with a fixed number of trucks leaving every few seconds or minutes. Each truck has limited space.
- The size of your package is how much space or computing work your transaction needs.
- The postage rate goes up when many people want to ship at the same time.
- Paying for rush delivery — a higher tip — moves you ahead in the queue.
Just like postage, the fee depends on how much space you need and how busy the system is — not on how valuable the contents are. Sending a tiny amount and a huge amount can cost about the same. We cover this in more detail in Block Time and Confirmations Explained.
How Gas Fees Work, Step by Step
- 1You create a transaction in your wallet — a transfer, a swap, a mint.
- 2The wallet estimates the cost based on how much work it needs and current demand.
- 3The transaction waits in a pool of pending transactions, often called the mempool. Our explainer on what the mempool is covers this waiting room.
- 4Validators or miners pick transactions, usually prioritizing those paying more per unit of space.
- 5Your transaction is included in a block and the fee is deducted from your wallet.
Gas Fees on Well-Known Networks
| Network | How fees are measured | Paid in | Notable feature |
|---|---|---|---|
| Ethereum | Gas units × gas price (in gwei) | ETH | Base fee burned, plus a priority tip |
| Bitcoin | Transaction size in virtual bytes × fee rate (sat/vB) | BTC | Fee depends on data size, not amount |
| Solana | Fixed base fee per signature, plus optional priority fee | SOL | Usually very low per transaction |
| Ethereum layer 2s | Execution cost plus a share of the cost of posting data to Ethereum | Usually ETH | Typically much cheaper than Ethereum itself |
Ethereum in more detail
On Ethereum, every operation has a gas cost. A plain ETH transfer uses 21,000 gas; a token swap uses much more because it runs more code. Prices are quoted in gwei — one billionth of an ETH. Related reading: Satoshis, Gwei and Lamports.
Since the London upgrade in August 2021 (EIP-1559), the fee has two parts: a base fee set by the protocol according to demand, which is burned, and a priority fee (tip) paid to the validator. You also set a gas limit, the maximum gas you allow the transaction to use. Our article on what gas is in Ethereum goes deeper.
Bitcoin in more detail
On Bitcoin, fees are based on how many bytes the transaction takes up. A transaction that combines many small inputs is larger, and so costs more, than one spending a single input — even if both send the same amount.
Solana in more detail
On Solana, each signature has a small fixed base fee, and users can add a priority fee during busy periods. Fees are typically low per transaction, but busy periods still affect whether transactions land quickly.
Why Gas Fees Matter for Investors
- Small transactions can be uneconomic. For example, imagine paying a hypothetical $5 fee to move $20 of tokens — a quarter of the value gone.
- Strategies have hidden costs. Frequent rebalancing, claiming rewards or moving between apps adds up.
- Network choice matters. The same token often exists on several networks with very different fees; just make sure the receiving side supports the network you choose.
- You need native tokens. Keep a small balance of each network's native coin in any wallet that holds tokens there.
Common Misconceptions
- "Bigger transfers cost more." Usually not; fees depend on complexity and size in bytes, not value.
- "Failed transactions are free." On Ethereum-style networks, failed transactions still consume gas.
- "My wallet decides the fee." Wallets only estimate and suggest a fee; network demand determines what it takes to be included.
- "Setting a very low fee saves money." It can leave your transaction stuck for a long time or cause it to be dropped.
- "Gas fees go to the app." Network gas fees go to validators or miners (and, on Ethereum, the base fee is burned). Apps may charge separate service fees on top.
How to Pay Less
- 1Check the estimated fee before confirming; our guide on how to check gas fees before you transact shows where to look.
- 2Transact during quieter periods if the transaction is not urgent.
- 3Use a layer-2 network for smaller amounts — see how to use layer-2 networks to pay lower fees.
- 4Avoid unnecessary approvals and combine actions when an app offers it.
Bottom line
Gas fees are what you pay the network to process and secure your transaction, and they rise when block space is in demand. They depend on how much work your transaction needs and how busy the network is, not on how much you send. Keep a little of each network's native token for fees, check the estimate before you confirm, and choose cheaper networks for small transfers.
Câu hỏi thường gặp
Why do I have to pay gas fees?
Gas fees pay the validators or miners who process and secure your transaction, and they ration limited block space. Without fees, anyone could flood the network with spam for free. When many people want to transact at once, fees rise because users compete for the same limited space.
Do I pay gas fees if my transaction fails?
On Ethereum and similar networks, usually yes. Validators still did the computation up to the point of failure, so the gas used is charged even though the transaction did not achieve what you wanted. That is why it is worth checking settings and balances before confirming.
Why do I need ETH to send a token like USDC on Ethereum?
Fees on Ethereum are paid in ETH, the network's native token, regardless of which token you are moving. If your wallet holds USDC but no ETH, you cannot send the USDC. The same principle applies on other networks: SOL on Solana, BNB on BNB Chain, and so on.
How can I pay lower gas fees?
Transact when the network is less busy, use a layer-2 network or a cheaper chain for smaller transfers, avoid unnecessary approvals, and batch actions where possible. Check the estimated fee before confirming, and be wary of setting fees so low that the transaction gets stuck.
