A gas fee is what you pay the network to process your transaction — not a charge from your wallet or the app you happen to be using. On Ethereum and other EVM chains it is set by supply and demand for block space, so it rises when the network is busy and falls when it is quiet. The short version: your fee equals the work your transaction needs multiplied by the price per unit of that work, and you control the second half. Understand both and you stop overpaying, avoid stuck transactions, and can judge when a transfer is worth making.
Gas is paid in the chain's native coin, and once a transaction is submitted it is final — there is no refund for a fee you later regret.
Not financial advice. This is general educational content — not personalized investment advice or a recommendation to buy, sell, or hold any asset. Cryptocurrency is a volatile, speculative asset class where losses can be total and transactions are typically irreversible. Consider speaking with a licensed professional about your own situation.
What a gas fee actually is
"Gas" is the unit that measures the computational effort a transaction takes on Ethereum and EVM-compatible chains. Sending coins, swapping tokens, and approving a contract each consume a different amount of gas, because each asks the network to do a different amount of work.
The fee is that work priced in the chain's native coin, paid to the validators who confirm transactions plus a portion the network burns (covered below). You pay it to the network, not to the wallet or exchange interface you are clicking in. One consequence trips up almost every beginner: you need the native coin to move anything. Hold a stablecoin on Ethereum but no ETH and you cannot send it, because you have nothing to pay gas with. Keep a small native-coin buffer on any chain you use.
How your gas fee is calculated
Two numbers decide your fee:
- Gas units (the "gas limit"): how much work your transaction needs. A standard coin transfer uses a fixed 21,000 gas; a token swap uses several times that; a complex contract call more still. Your wallet estimates this.
- Price per unit (quoted in gwei): how much you pay per unit of gas. A gwei is a tiny denomination of the native coin — one gwei is one-billionth of one ETH, so one ETH is one billion gwei.
Multiply the two and you have the fee. Since the fee-market upgrade, the price per unit splits in two: a base fee the protocol sets for every block and then burns (removes from supply), and a priority fee, or tip, you add to get included sooner. You also set a max fee ceiling and are refunded any difference, so it protects you without overpaying.
A purely illustrative example: a 21,000-gas transfer at a 20 gwei base fee plus a 1 gwei tip costs 21,000 × 21 = 441,000 gwei, or 0.000441 of the native coin. Triple the base fee during congestion and the fee roughly triples — the work never changed, only the price of block space.
Why gas fees spike
Block space is limited and auctioned. When more people want in than a block can hold, they bid higher tips and the protocol raises the base fee for the next block; when demand cools, it falls. That single mechanism explains every spike:
- Congestion: a popular token launch, an NFT mint, or a burst of trading fills blocks and lifts the base fee for everyone.
- Volatility: sharp price moves trigger waves of swaps, liquidations, and arbitrage, all competing for the same space.
- Complexity: the more your action does on-chain, the more gas units it burns — a swap routed through several pools costs more than a direct one, and many token swaps add a one-time approval transaction, so a new token's first trade can cost gas twice.
None of this is a fee the app charges you. It is the market price of shared block space at the moment you confirm.
What different on-chain actions cost
Not all transactions are equal. This rough ranking, at the same network conditions, helps you anticipate cost before you commit:
| Action | Relative gas cost | Why |
|---|---|---|
| Send the native coin | Lowest (fixed 21,000) | Minimal computation |
| Send a token (e.g. a stablecoin) | Low to moderate | Updates a contract's ledger |
| Approve a token for a contract | Moderate | One-time permission write |
| Swap on a decentralised exchange | Higher | Reads a pool, moves two balances |
| Multi-step or cross-protocol action | Highest | Many contract calls in one transaction |
Gas is only one cost in a swap — slippage and price impact are the others, and easy to mistake for fees. If you trade on decentralised exchanges, our guide to how crypto swaps work breaks down where each one comes from.
How to pay less gas without getting stuck
You cannot change the base fee, but you can change when, where, and how you transact — each lever below with its reason and its risk.
- Transact when the network is quieter. The base fee tracks demand, so off-peak is genuinely cheaper. Risk: prices move while you wait, and you cannot perfectly time a low.
- Use a Layer 2 network. The single biggest lever — see below. Risk: getting funds there usually means bridging, which adds steps and its own dangers.
- Set a modest tip for non-urgent transactions. The tip only buys speed, so a lower one saves money when you are not rushed. Risk: too low and the transaction can sit pending or stall behind a rising base fee.
- Avoid known congestion events. Skipping launch-day rushes and hyped mints dodges the worst spikes. Risk: you may miss a time-sensitive action.
- Right-size transfers. When the fee approaches the value you are moving, wait or consolidate. Risk: consolidating small amounts later also costs gas.
- Keep a native-coin buffer. Failed transactions still burn gas, and topping up mid-transaction leads to overpaying. Risk: none — this is just planning ahead.
Layer 2s: the biggest single lever
A Layer 2 (L2) is a separate network that processes transactions off the main chain, then batches thousands into a single proof posted back to it. Because that expensive main-chain cost is shared across the batch, your individual fee is a small fraction of the base-layer price. The two common families are optimistic and zero-knowledge rollups.
The trade-off is real: to use an L2 you must move funds there, usually by bridging — which adds steps, fees, and risk — not every app or token exists on every L2, and you now have a second network to manage. For most everyday transacting, though, the savings are large enough to be worth it.
Before you confirm: a quick gas checklist
Run through this whenever a wallet asks you to approve a fee:
- Is the network busy? If the estimate looks high, waiting an hour often helps.
- Does this need to be fast? If not, lower the tip and let it confirm at leisure.
- Is the fee sensible versus the amount? Never pay a large fee to move a tiny sum.
- Do I have enough native coin? Keep a buffer so this transaction and any follow-up will not fail.
- Could a Layer 2 do it? For repeated small transactions, the base layer is rarely cheapest.
- Does the preview make sense? If your wallet warns of failure, fix that first — a reverted transaction still costs gas.
Frequently asked questions
Why are gas fees so high sometimes?
Because block space is limited and priced by demand. When many people compete for the same blocks — a launch, a volatile market, general congestion — the base fee rises and tips climb; when demand falls, fees fall automatically. The fee reflects conditions at the moment you confirm.
Can I avoid gas fees entirely?
No — every transaction on a chain like Ethereum consumes gas. You can reduce it: transact when the network is quieter, use a Layer 2, keep transactions simple, and tip less when speed does not matter.
What is gwei?
Gwei is a small denomination of the native coin used to quote gas prices: one gwei is one-billionth of one ETH, so one ETH is one billion gwei. It keeps the numbers readable.
Why did my transaction fail but still charge a fee?
Because the network did the work of attempting it. A transaction can revert when conditions change — slippage moved past your limit, or it ran out of gas — and the computation already performed is not free. A sensible gas limit and a native-coin buffer help.
Do I pay gas to my wallet or the app?
Neither. Gas goes to the network — the base fee is burned, the tip goes to validators. Your wallet only estimates and submits it, which is why the same action can cost different amounts at different times.
Is a higher gas fee ever worth it?
Yes, when speed matters. In fast markets a larger tip gets you included sooner and can prevent a missed or reverted transaction. Pay only for the priority you need, and tip less for anything that can wait.
The bottom line
Gas fees feel arbitrary until you see the two levers behind them: the work your transaction requires and the market price of block space when you submit it. You cannot control the base fee, but you can choose when you transact, how large a tip you attach, whether a Layer 2 would do the job for a fraction of the cost, and whether the transfer is worth making at all. Read the fee before you confirm, keep a native-coin buffer, and treat every high estimate as a prompt to pause rather than pay. For more plain-language guides to understanding costs and risk before you commit money, keep learning at TopInvestors.