You try to move $20 of ETH from one wallet to another, and the network asks for a few dollars just to process it. A week later the same transfer costs a fraction of that. Nothing about your transaction changed — so why did the price? The answer is crypto gas fees: the charge you pay the Ethereum network to run your transaction. Once you understand the two numbers inside every gas fee and the one rule that moves them, the mystery disappears. This guide walks through the mechanics — how the fee is built, why it spikes, and how Layer 2 networks made it far cheaper — in plain English, with no trading advice.
What a crypto gas fee actually is
Every action on Ethereum — sending coins, swapping tokens, minting an NFT — is a tiny computation that thousands of machines around the world have to run and agree on. Gas is simply the unit that measures how much computing work your transaction takes. A plain transfer of ETH is cheap work, so it always costs the same amount of gas: 21,000 units, a figure fixed in Ethereum's own documentation. A token swap or a smart-contract interaction does more work, so it burns more gas units.
Why charge for this at all? Because the network is a shared resource that thousands of machines maintain together, and that resource is finite. A fee forces every user to pay for the real computing work their transaction imposes on the whole network. It also quietly protects the system: without a cost per unit of work, anyone could flood the chain with junk transactions or run code in an endless loop and grind it to a halt. Gas puts a price on attention, so the people who value a block most are the ones who get it.
Gas units are only half of the price. The other half is the gas price — how much you pay per unit, quoted in gwei. A gwei is one-billionth of one ETH (0.000000001 ETH), the convenient small denomination the network uses for fees. Put the two together and you get the formula behind every gas fee:
total fee = gas units × (base fee + priority fee)
So the number of gas units is set by what you are doing, and the gas price is set by how busy the network is. You control the first by choosing simpler transactions; you cannot control the second, but you can time around it. If you want this foundation built properly rather than pieced together from scattered videos, a structured cryptocurrency trading course turns these mechanics into intuition you can use before you ever send a transaction.
Base fee, priority tip and the EIP-1559 burn
Before August 2021, Ethereum ran a blind auction: you guessed a gas price, and if you guessed too low your transaction was stuck. The London upgrade introduced EIP-1559, which split the gas price into two clear parts and made the cost far easier to read.
The base fee is a mandatory minimum that the protocol itself sets, block by block, based on how full the previous block was. You do not negotiate it; the network calculates it. The twist is what happens to it: the base fee is burned — permanently destroyed and removed from ETH's circulating supply — rather than paid to anyone.
The priority fee, or tip, is the optional extra you add to jump the queue. This is the part that actually goes to the validator who includes your transaction, which is why a higher tip gets you confirmed faster when the network is crowded. You also set a max fee — the ceiling you are willing to pay. If the base fee plus your tip comes in under that ceiling, the difference is refunded, so setting a sensible max fee protects you without overpaying.
The same transfer can cost roughly 7x more when the network is busy
Illustrative only, not live prices. Figures = 21,000 gas × gas price, using the fee formula from Ethereum.org, 2026.
Want to read on-chain mechanics like this with confidence?
NIFM's cryptocurrency program covers wallets, networks, fees and risk in structured modules, delivered in Hindi and English, with a certificate on passing the course exam.
Explore the cryptocurrency trading course →Why your gas fee changes minute to minute
Here is the single rule that explains almost every spike. The base fee rises when a block is more than half full and falls when it is less than half full. Ethereum targets blocks that are about 50% full. When more people want to transact than there is room for, each new block pushes the base fee up by a set step; when demand cools, the base fee drifts back down. Because this happens block after block, a burst of activity compounds the base fee quickly — which is exactly why fees can feel calm one hour and brutal the next.
What creates those bursts? Usually a crowd all wanting the same block space at the same time: a hyped NFT mint, a token airdrop claim, sharp market volatility that sends traders rushing to reposition, or a popular new app launch. On top of the rising base fee, users then bid their priority tips higher to get in first, so the tip climbs too. Two forces push in the same direction, and the headline gas price jumps.
When you hit "send," your wallet is really doing three things in the background:
Most wallets hide all of this behind a single "estimated fee" figure and an optional slow/average/fast slider. That slider is just choosing your priority tip for you. Understanding what sits underneath it is the difference between accepting whatever number pops up and knowing whether to wait twenty minutes for a cheaper block.
One more term trips people up: the gas limit. That is the maximum number of gas units you authorise your transaction to use, not the price. For a simple transfer the limit is the familiar 21,000; for a contract interaction your wallet estimates a higher ceiling. If a transaction runs out of gas before it finishes, it fails — and here is the sting that surprises newcomers: you still pay for the work done up to the point it ran out, because validators already spent effort executing it. Setting the limit too low to "save money" is therefore a false economy; the right move is to let a reliable wallet estimate the limit and to manage cost through the gas price instead.
Base fee vs priority fee: who gets what
The two halves of your gas price behave completely differently, and confusing them is the most common beginner mistake. The base fee is non-negotiable and vanishes from supply; the tip is your lever and goes to a real recipient. Here is the clean comparison.
| Question | Base fee | Priority fee (tip) |
|---|---|---|
| Who sets it? | The protocol, automatically | You (or your wallet's slider) |
| Optional? | ✗ Mandatory minimum | ✓ Optional top-up |
| Where does it go? | Burned — removed from supply | Paid to the validator |
| What moves it? | How full the last block was | How fast you want in |
The practical takeaway: the base fee decides the floor of what you pay, and the tip decides your place in the queue. Because the base fee is a computation that runs on a smart contract-like rule set, it is predictable in direction even when the exact number is not — we unpack how that execution layer works in our guide to what smart contracts do and where they break.
How Layer 2 networks cut gas fees
If Ethereum mainnet fees feel high, the honest answer most experienced users give is: stop transacting on mainnet for everyday activity. Layer 2 networks — Arbitrum, Optimism, Base, zkSync Era and others — process transactions off the main chain and post compressed proofs back to it, so you inherit Ethereum's security while splitting the cost across thousands of transactions.
The turning point was the Dencun upgrade in March 2024, which introduced EIP-4844, better known as "blobs." A blob is a separate, temporary data lane that rollups use to post their data to Ethereum, sitting in its own fee market so it no longer competes with regular transactions for block space. Before Dencun, posting that data as ordinary calldata made up somewhere between 73% and 90% of a Layer 2 transaction's cost, according to figures cited by The Defiant. Move that cost into a cheaper dedicated lane, and fees collapse.
Dencun cut Layer 2 fees by roughly 60-90% in its first days
Source: Dune Analytics data reported by The Defiant, first 48 hours post-Dencun, 2024.
One caution worth knowing: Dencun lowered fees on Layer 2s, not on Ethereum mainnet itself. The gas units a mainnet swap or NFT mint consumes did not change; what changed is that rollups got a far cheaper way to settle. So the practical lesson is to match the network to the task — small, frequent transactions belong on a Layer 2, while the base chain is for when you specifically need mainnet settlement. We cover how these networks are built and the trade-offs between them in our explainer on Layer 2 rollups and why Ethereum fees fell.
Cheaper fees do come with trade-offs worth understanding before you move funds across. You usually have to bridge assets onto the Layer 2 first, which is its own step and carries its own risk, and moving back to mainnet from some rollup designs can involve a waiting period. Each network also has its own ecosystem of apps, so where your tokens are useful depends on where you send them. None of this cancels the savings — it simply means the smart habit is to know which network you are on and why, rather than chasing the lowest fee blindly.
How to pay less gas without getting burned
You cannot change the base fee, but you can change almost everything around it. A few habits keep your costs sane:
- Time it. Base fees ebb and flow with global demand; routine, non-urgent transfers are cheapest when the network is quiet rather than during a frenzy.
- Use a Layer 2 for everyday activity. For small or frequent transactions, the difference between mainnet and a rollup is often an order of magnitude.
- Set a sane max fee. Because any gap between your ceiling and the actual base-fee-plus-tip is refunded, a reasonable max fee protects you from spikes without overpaying.
- Batch where you can. One transaction that does several things usually costs less gas than several separate ones.
- Pick simpler actions. A plain transfer is 21,000 gas; a complex contract call can be many times that, so know what you are signing.
None of this is investment advice — it is transaction hygiene. Choosing whether to hold a crypto asset is a separate decision with its own risks; choosing how to move it efficiently is pure mechanics, and mechanics are learnable.
Learn how crypto networks really work, the structured way
Trusted by 50,000+ learners since 2012 · Hindi + English · Learn at your own pace
Start the cryptocurrency trading courseFrequently Asked Questions
What are crypto gas fees in simple terms?
Crypto gas fees are the charge you pay a network like Ethereum to process your transaction. The fee equals the gas units your action needs (21,000 for a basic ETH transfer) multiplied by the gas price in gwei. Think of gas units as the amount of work and the gas price as the rate per unit of work.
Why are Ethereum gas fees so high sometimes?
Because the base fee is demand-driven. Ethereum targets blocks that are about half full; when more people transact than there is space, the base fee rises block by block and users bid higher tips to get in first. A busy NFT mint, an airdrop, or a volatile market can push fees up sharply within minutes, then they fall again as demand cools.
What is the difference between base fee and priority fee?
The base fee is set automatically by the protocol, is mandatory, and is burned (removed from ETH supply). The priority fee, or tip, is an optional amount you add that goes to the validator to confirm your transaction faster. The base fee sets the floor of your cost; the tip sets your place in the queue.
Did EIP-1559 make gas cheaper?
Not directly. EIP-1559 made fees more predictable by replacing a blind auction with a protocol-set base fee plus an optional tip, and it introduced the burn. It did not lower demand, so fees can still spike. The big cost reduction for users came later, from Layer 2 networks and the 2024 Dencun upgrade.
How can I reduce the gas fees I pay?
Use a Layer 2 network for small or frequent transactions, time non-urgent transfers for quieter periods, set a reasonable max fee so overpayment is refunded, batch actions where possible, and favour simpler transactions that consume fewer gas units. These are efficiency habits, not investment guidance.
Disclaimer: This article is for educational purposes only and does not constitute investment advice. Markets carry risk — please do your own research or consult a qualified financial professional before investing. NIFM provides training and exam preparation; certification exams conducted by regulatory or professional bodies are administered by those bodies independently.









.jpg)















.jpg)





