Key concepts
- Network fees pay whoever secures and processes the block — miners or validators — not the exchange or wallet you're using.
- On Ethereum and similar networks, gas measures the computational work a transaction requires, and gwei is the small unit used to price it.
- Fees rise and fall mainly with demand for block space and with how complex a transaction is.
- Network fees, exchange trading fees, and exchange withdrawal fees are three separate costs that are easy to confuse.
- Layer 2 networks batch many transactions together before settling on the main chain, which can significantly lower the fee an individual user pays.
- Checking a live gas tracker before a large or non-urgent transaction is more reliable than assuming a fixed cost.
Send a crypto transaction and you'll almost always be shown a fee before you confirm it. That fee isn't arbitrary, and it isn't going to the app or exchange you're using — it's paying for something specific: a small amount of space in the next block. This guide explains what network fees actually pay for, how gas and gwei work on Ethereum-style networks, why fees swing so much from one moment to the next, and how the three different "fees" people talk about — network, exchange, and withdrawal — are not the same thing at all.
What a Network Fee Actually Pays For
Every unconfirmed transaction waits in a holding area called the mempool before it's included in a block. Because block space is limited and many people can be trying to transact at once, the network needs a way to decide whose transactions get priority. The fee is that mechanism: it's effectively a bid for space, paid to whoever does the work of producing the next block — miners on a proof-of-work network, validators on a proof-of-stake one. No exchange, wallet provider, or app sets this fee; they can only estimate it and pass it through to you, sometimes adding their own charge on top.
Gas and Gwei: How Ethereum Prices Computation
On Ethereum and other networks that use the same model, fees aren't priced directly in the network's main currency. Instead, every operation a transaction performs — a simple transfer, a token swap, a more complex smart contract call — costs a certain amount of gas, a unit of computational effort. More complex transactions require more gas because they ask the network to do more work. Gas itself is then priced in gwei, a very small denomination of the network's native token, so the final fee is roughly the gas used multiplied by the price per unit of gas at that moment.
That price per unit isn't fixed. Modern fee markets on networks like Ethereum combine a base fee that adjusts automatically with network demand and an optional tip that users can add to make their transaction more attractive to include quickly. In quiet periods, gas prices fall because there's plenty of spare block space; during busy periods, users effectively bid against each other for the same limited space, and prices rise until demand eases.
Why Fees Vary So Much From One Moment to the Next
Three things mostly drive that variation. Network congestion is the biggest one: when many people want to transact at the same time, competition for block space pushes fees up regardless of what any individual transaction is doing. Transaction complexity matters too — interacting with a smart contract, especially one doing several steps at once, costs more gas than a plain transfer between two wallets. And the underlying network itself matters, because different blockchains are built with very different capacity and fee models; some are designed from the ground up to keep fees low even under load, while others prioritise different trade-offs. Rather than memorising a number, it's more useful to check a live view of current conditions, such as our gas tracker, before sending anything time-sensitive or large.
Network Fees vs Exchange Fees vs Withdrawal Fees
It's easy to lump every cost into "the fee," but there are three distinct charges worth separating:
- Network fee — paid to the miners or validators who secure the chain itself; nobody in the middle sets this, though wallets and exchanges estimate it for you.
- Exchange trading fee — charged by a trading platform for matching and executing your buy or sell order, entirely separate from what happens on-chain.
- Withdrawal fee — charged by a custodial platform when you move funds out to your own wallet. This is set by the platform, not the network, and may be higher or lower than the actual on-chain cost at that moment — some platforms batch withdrawals together or subsidise part of the cost, others add a margin.
A common beginner mistake is assuming a platform's advertised withdrawal fee tells you what the network itself is charging right now. It doesn't necessarily — it's simply the number that platform has decided to charge for that service.
How Layer 2 Networks Ease the Fee Burden
One of the main reasons Layer 2 networks exist is to reduce this fee pressure without abandoning the security of the underlying chain. A Layer 2 processes many transactions on a separate, typically cheaper execution layer, then periodically bundles and settles the results back to the main chain in a much smaller number of batched transactions. Because the cost of that settlement is spread across everyone whose activity was included in the batch, the effective fee for an individual user's transaction can be far lower than transacting directly on the base layer, while the network still inherits meaningful security guarantees from the chain it settles to.
Why a Failed Transaction Can Still Cost You
One counterintuitive detail trips up a lot of newcomers: a transaction that fails or gets reverted by a smart contract can still cost a fee. Gas pays for computation, and computation happens the moment the network starts executing your transaction, whether or not it ultimately succeeds. If a smart contract call runs into a condition it rejects partway through, the network has still done real work up to that point, and the fee for that work generally isn't refunded. This is one more reason transaction complexity matters: a straightforward transfer either goes through or doesn't attempt to run at all, while a multi-step contract interaction has more places where something can go wrong partway through execution, after some gas has already been spent.
A Practical Way to Think About Fees
None of this is about predicting where any token's price is headed — understanding fee mechanics is simply about not overpaying and not being caught off guard. A few habits help:
- Check a live tracker for current conditions rather than assuming a fixed number applies.
- Favour simpler transactions where you have a choice — every additional step adds gas.
- Consider a Layer 2 network for frequent or smaller transactions if the base-layer fee looks disproportionate to the amount being sent.
- When resubmitting a stuck transaction, a modest fee increase is often enough during moderate congestion rather than a very large one.
In practice, that means treating fees as a function of timing, complexity, and network choice rather than a fixed number, and knowing which of the three fee types — network, exchange, or withdrawal — you're actually looking at before you compare costs. If you also want to understand the consensus systems that miners and validators are being paid to maintain, our guide to consensus mechanisms covers that in more depth.
Frequently asked questions
What happens if I set my gas fee too low?
Your transaction can sit unconfirmed in the mempool while the network prioritises transactions offering a higher fee, and during busy periods it may take a long time to confirm or, in some cases, be dropped entirely. Some wallets let you resubmit a stuck transaction with a higher fee to speed things up, but this isn't guaranteed to work on every network.
Do all blockchains use the word 'gas'?
No — "gas" is the terminology most associated with Ethereum and other networks that use a similar computational-pricing model. Other blockchains still charge network fees for including a transaction, but calculate and label them differently. The underlying idea, paying for a limited resource of block space, is broadly shared even where the vocabulary isn't.
Why is my exchange withdrawal fee different from the live network fee?
An exchange sets its own withdrawal fee as a business decision, and it doesn't have to match the network's real-time rate. Some platforms batch multiple withdrawals together or subsidise part of the cost; others add a margin on top. If you want the actual current network cost, check a live tracker rather than relying on the exchange's fee schedule alone.
Are transactions on a Layer 2 network as secure as the main chain?
Many Layer 2 designs are built specifically to inherit security from the underlying chain they settle to, using cryptographic proofs or dispute mechanisms, but implementations and trust assumptions vary between networks. It's worth understanding how a specific Layer 2 actually works before relying on it, rather than assuming all of them offer identical guarantees.