You open your wallet to send a small payment, and the screen shows a fee that is bigger than the payment itself. Ten minutes later the same transaction costs a fraction of that. Nothing is broken. You have just met crypto gas fees, one of the most confusing parts of using a blockchain for the first time.
This guide explains gas fees in plain English: what they are, who gets the money, why they jump around, how Ethereum, Layer 2 networks, Solana and Bitcoin charge differently, and practical ways to pay less. If you are still setting up your first wallet, start with our beginner’s guide to buying your first crypto coin and come back here.
What Are Gas Fees in Crypto?
A blockchain is a shared database that thousands of computers keep in sync. Every time you send coins, swap a token or mint an NFT, those computers must verify and record your action. That work uses computing power and network space, and someone has to be paid for it. The payment is the gas fee (also called a network fee or transaction fee).
The word “gas” comes from Ethereum, where it works like fuel for a car: the more complicated the trip, the more fuel you burn. Ethereum’s own documentation defines gas as the unit that measures the computational effort needed for an operation, and says the fee is paid whether the transaction succeeds or fails. Fees also protect the network. If sending a transaction were free, anyone could spam it with millions of useless requests.
Two things are worth remembering from the start:
- A gas fee is not charged by your wallet app or by any company. It goes to the network (validators, miners or the protocol itself).
- The fee depends on how much work your transaction needs and how busy the network is, not on how much money you send. Sending $10 and sending $10,000 of ETH cost the same gas.
How Ethereum Gas Fees Are Calculated
Ethereum is where most people first see gas, so it is the best example to learn from. The formula is short:
Fee = gas used × (base fee + priority fee)
Gas used
Every operation has a fixed gas cost. A plain ETH transfer between two wallets uses 21,000 units of gas. Interacting with a smart contract, such as swapping tokens on a decentralised exchange, uses much more because the contract runs a lot more code. Writing new data to the blockchain is among the most expensive actions.
Base fee
Since the London upgrade (EIP-1559), every block has a base fee set by the protocol. It is the minimum price per unit of gas, and it is burned, meaning it is removed from circulation instead of being paid to anyone. The base fee moves automatically: if the previous block was fuller than the target, the base fee rises, by at most 12.5% per block. If the block was emptier than the target, it falls.
Priority fee (the tip)
The priority fee is an optional tip that goes to the validator who includes your transaction. A bigger tip puts you ahead of other people in the queue. When the network is quiet, a tiny tip is enough.
Gwei and a worked example
Gas prices are quoted in gwei. One gwei is one-billionth of an ETH (0.000000001 ETH). Here is the worked example used in the official Ethereum docs: an ETH transfer needs 21,000 gas, the base fee is 10 gwei and you add a 2 gwei tip.
21,000 × (10 + 2) = 252,000 gwei, which is 0.000252 ETH. Of that, the base fee part (0.00021 ETH) is burned and the tip (0.000042 ETH) goes to the validator.
To turn that into money, multiply by the current ETH price in your wallet or on a price site. The same 21,000 gas costs very different amounts in dollars or rupees depending on how high the gas price and the ETH price are at that moment.
Gas limit and failed transactions
Your wallet also sets a gas limit, the maximum gas you allow a transaction to use. You only pay for what is actually used, so unused gas is returned. But if a smart contract call runs out of gas halfway, the changes are reverted and the gas already spent is not refunded. This is why a failed swap can still cost you money.
Why Do Gas Fees Spike?
Block space is limited. Each block can only hold so much computation, so transactions compete for room. When demand is low, the base fee drops and everything is cheap. When demand jumps, people bid higher tips to be included first, and the base fee climbs block after block.
Typical causes of a spike:
- Popular NFT mints and token launches, where thousands of people try to get in at the same second.
- Sharp market moves. When prices crash or rally, traders rush to swap, borrow, repay or move coins between exchanges and wallets. Our Crypto Fear & Greed Index tool is a quick way to see when the market mood is extreme, and extreme moods often bring crowded networks.
- Heavy smart-contract activity such as liquidations in lending apps or airdrop claims.
- Bots that compete automatically for profitable trades.
Because the base fee can rise by up to 12.5% every block, a rush of demand can push fees up quickly, then fall again once the crowd moves on. That is why the same action can cost very different amounts at different times of the day.
Gas Fees on Different Blockchains
Not every network charges fees the same way. The comparison below is a simplified picture, because exact numbers change with demand and with token prices.
| Network | How fees work | What to expect |
|---|---|---|
| Ethereum (Layer 1) | Gas used × (base fee + tip), paid in ETH | Highest security and the most apps, but fees can jump during busy periods |
| Layer 2 networks (Arbitrum, Optimism, Base and others) | Small L2 execution fee plus a share of the cost of posting data to Ethereum | Usually far cheaper than Ethereum Layer 1 |
| Solana | Base fee of 5,000 lamports per signature, plus an optional priority fee | A fraction of a cent for simple transfers; priority fees can matter when busy |
| Bitcoin | Priced by transaction size in bytes (satoshis per virtual byte), not by amount | Cheap when the mempool is empty, expensive when it is full |
Ethereum Layer 2s
A Layer 2 (L2) is a separate network that processes transactions off Ethereum’s main chain and then posts a compressed record back to Ethereum. You get Ethereum-level security at a much lower price. The big step happened in March 2024 with the Dencun upgrade and EIP-4844, which introduced temporary “blobs” of data that are far cheaper for L2s to use than permanent calldata. Ethereum.org describes this as the upgrade designed to reduce Layer 2 fees, and many L2 users saw fees fall sharply afterwards.
L2 fees are not zero. They still include the cost of posting data to Ethereum, so they can rise when blob space is in demand. You also need to move funds onto the L2 first, a step called bridging, and bridging itself costs gas on Ethereum.
Solana
Solana charges a base fee of 5,000 lamports per signature (a lamport is one-billionth of a SOL, so that is 0.000005 SOL), plus an optional priority fee that makes block producers more likely to schedule your transaction sooner. Most simple transfers cost a tiny amount, which is why Solana is popular for small payments and games.
Bitcoin
Bitcoin does not use the word gas. Miners pick the transactions that pay the highest fee per byte, so your fee depends on how many bytes your transaction takes up (which grows with the number of inputs and outputs) and on how crowded the mempool is. Sending one coin or a thousand coins costs the same if the transaction size is the same.
Other chains such as BNB Chain, Polygon or Tron have their own models. If you are curious how a very different design works, our explainer on Qubic’s consensus and architecture is a good contrast to Ethereum’s approach.
How to Save on Gas Fees
You cannot switch gas off, but you can usually pay noticeably less with a few habits.
- Use a Layer 2 or a cheaper chain for everyday activity. Small swaps, game actions and frequent transfers rarely need Ethereum Layer 1. Check that the app you want supports the network you choose.
- Check a gas tracker before you send. Tools such as Etherscan’s gas tracker show current prices for slow, average and fast confirmation. If the price is unusually high, ask whether the transaction can wait.
- Pick quieter times. Fees are often lower when fewer people are active, for example late at night in the US and Europe or on weekends. This is a tendency, not a rule, so always look at the live number.
- Choose a slower speed when you are not in a hurry. Most wallets offer low, medium and high options. Low is fine for a transfer that does not have to land in the next minute.
- Combine actions. Some apps let you batch several steps in one transaction, which can cost less than doing each step separately.
- Avoid failed transactions. Do not set slippage so low that a swap keeps failing, and double-check the address and network. A failed transaction still burns gas.
- Be careful with token approvals. Each approval is its own transaction. Approve only what you need, and revoke old approvals you no longer use.
- Do not confuse gas with exchange withdrawal fees. When you withdraw from an exchange, it charges its own fee, which is set by the exchange and may be a flat amount. Compare networks on the withdrawal screen, because the same coin on a cheaper network can cost much less to move.
- Do not rush because of fear of missing out. Paying a huge tip to win a hyped mint is one of the most expensive habits in crypto.
One safety note: when you are trying to speed up or cancel a stuck transaction, only use the button inside your own wallet app. Never click a link from a stranger offering to “fix” your pending transaction, and never share your recovery phrase with anyone.
Gas Fees FAQ
What are gas fees in simple words?
Gas fees are the small payments you make to the blockchain network so that your transaction is processed and recorded. Think of it as a postage stamp for your transaction.
Who receives the gas fee?
It depends on the network. On Ethereum, the base fee is burned and the tip goes to the validator. On Bitcoin, the fee goes to the miner who includes your transaction. On Solana, half of the base fee is burned and half goes to the validator, while priority fees go to the validator.
Why are gas fees so high sometimes?
Because many people want to use the limited block space at the same time. When demand rises, users bid higher tips and the base fee climbs.
Do I pay gas if my transaction fails?
Yes, usually. The network still did the work. If the transaction is rejected before it enters a block, no gas is used, but once it runs and fails, the gas consumed is not returned.
Is there a way to avoid gas fees completely?
Not on a public blockchain. You can lower them by using a Layer 2 or a low-fee network, or by sending at quiet times. Some apps pay the gas for you, but the cost is still covered by someone.
Which crypto network has the lowest fees?
There is no single permanent answer, because fees move with demand. Layer 2 networks and Solana are generally much cheaper than Ethereum Layer 1 for everyday use, but you should always compare live prices.
Final Thoughts
Gas fees look scary until you see the pattern: a fixed amount of work multiplied by a price that depends on how crowded the network is. Learn which network you are using, check the price before you press confirm, and use cheaper networks for small, frequent actions. Your wallet is also the place where security matters most, so read our guide on what a seed phrase is and how to protect it before you move serious money.
For the technical details straight from the source, the official Ethereum gas and fees documentation and the Layer 2 overview on ethereum.org are worth bookmarking. This article is for education and is not financial advice.





