Skip to the lesson
Back to the library
Lesson 605Digital assets4 min readLast reviewed 28 November 2026

More digital assets lessonsAll lessons

PAYING FOR BLOCK SPACE

Crypto gas fees: why blockchain transactions cost money.

What gas fees are, why blockchains charge them, how fees on Ethereum are calculated, why they spike in busy periods, how layer-2 networks reduce them, and simple ways to avoid overpaying.

See the example
Crypto gas fees: why blockchain transactions cost money. — photo illustration
605 / PAYING FOR BLOCK SPACEPhoto illustration
01

The idea

Every transaction on a public blockchain uses limited space and computing resources. Users pay fees to validators or miners to include their transactions. On Ethereum and similar networks, these fees are called gas. Fees prevent spam and reward those who secure the network.

At a glance
How an Ethereum fee is calculated — infographic
02

How Ethereum fees work

Since an upgrade in August 2021, known as EIP-1559, Ethereum fees have a base fee set by the network, which is burned, and an optional priority fee, or tip, paid to validators. The base fee rises when blocks are more than half full and falls when they are less full.

03

Units and amounts

TermMeaningExample
Gas unitsAmount of computation a transaction needsSimple transfer: 21,000 units
GweiOne billionth of an etherBase fee of 20 gwei
FeeGas units × (base fee + tip)21,000 × 22 gwei = 0.000462 ETH
Gas limitMaximum units you allowUnused gas is not charged
04

Why fees spike

When many people want to transact at once, such as during a popular token launch or market crash, they compete for space. Base fees rise and users offer higher tips. Complex transactions, such as swaps on decentralised exchanges, use more gas than simple transfers and cost more.

05

Failed transactions still cost

If a transaction fails, for example because prices moved or the gas limit was too low, the gas used up to the point of failure is still charged. This can surprise new users.

06

Layer-2 networks

Layer-2 networks, such as rollups, process transactions off the main chain and post summaries back to it, sharing the cost among many users. After Ethereum’s Dencun upgrade in March 2024 introduced cheaper data storage for rollups, fees on many layer-2 networks fell to a few cents or less.

07

Other blockchains

Different blockchains have different fee systems. Bitcoin fees depend on transaction size in bytes and demand for block space. Some newer networks charge very low fees but may make other trade-offs on decentralisation or reliability.

08

Saving on fees

Ways to reduce fees include transacting at quieter times, using layer-2 networks, batching actions, avoiding unnecessary approvals and checking the estimated fee before confirming. Wallets usually show a fee estimate and let you choose speed.

09

Fees and small amounts

High fees make small transactions uneconomic. Paying 10 dollars in gas to move 50 dollars is a large percentage. This is one reason layer-2 networks and cheaper chains are popular for small payments and games.

10

Burned fees

Because Ethereum burns the base fee, high network activity reduces the supply of ether. In very busy periods, more ether may be burned than created, making supply shrink.

11

Exchange withdrawal fees

Centralised exchanges charge withdrawal fees that may differ from network gas fees. Choosing the right network for withdrawals, where supported, can lower costs, but sending on the wrong network can lose funds.

12

Stuck transactions

If you set a fee too low during busy periods, a transaction can sit pending. Many wallets let you speed it up by resubmitting with a higher fee or cancel it by sending a replacement.

13

Token approvals

Before a decentralised app can move your tokens, you usually sign an approval transaction, which also costs gas. Unlimited approvals save fees later but leave risk if the app is compromised. Reviewing and revoking old approvals is a sensible habit, though revoking also costs a small fee.

14

Fee markets on bitcoin

On bitcoin, users pay fees per virtual byte of data. When the mempool, the queue of unconfirmed transactions, is crowded, fees rise. Wallets that support replace-by-fee let users raise the fee on a stuck transaction.

15

Fees as a share of value

A useful habit is to compare the fee with the value moved. Paying 1 dollar to move 10,000 is trivial, but paying 1 dollar to move 5 is 20%. For frequent small transactions, low-fee networks make a big difference over time.

16

A realistic scenario

Sami wants to swap tokens on Ethereum during a busy market. The wallet estimates a 25-dollar fee. He waits two hours for quieter conditions, when the fee falls to 6 dollars, and then uses a layer-2 network for later trades, paying under 10 cents each.

17

Questions to ask yourself

Ask yourself
  • What is the estimated fee before I confirm?
  • Is the network busy right now?
  • Could a layer-2 network do this cheaper?
  • Is the fee large compared with the amount?
  • Am I using the right network?
18

The short version

Gas fees pay for blockchain space and computation. They rise with demand, so check estimates, choose quieter times and consider layer-2 networks to avoid overpaying.

Worked example

Illustration: simple transfer 21,000 gas × (20 gwei base + 2 gwei tip) = 462,000 gwei = 0.000462 ETH. At 3,000 per ETH, the fee ≈ 1.39. Hypothetical prices.

The idea to take with you

Gas fees pay for block space and computation. They rise when networks are busy, so timing, network choice and layer-2 solutions can cut costs.

Sources & assumptions

Primary educational references

Ethereum.org · Gas and fees ↗

Ethereum.org · Layer 2 ↗

Reviewed November 28, 2026. Examples are hypothetical illustrations. Educational content, not personalised investment, legal or tax advice.