Key Points

  • A gas fee is what you pay a blockchain's validators or miners to process your transaction. The name comes from Ethereum, but every public blockchain charges some kind of transaction fee.
  • On Ethereum, the fee is the amount of work your transaction needs, measured in gas units, multiplied by the price per unit, measured in gwei.
  • Since August 2021, part of every Ethereum fee is a base fee that is burned, and the rest is an optional tip that goes to the validator.
  • Fees rise when demand for block space rises. Simple transfers cost less than complex actions such as swaps, because they use fewer gas units.
  • You need the network's own coin to pay fees. Holding only stablecoins on Ethereum, with no ETH, leaves you unable to move them.

Quick Answer

Gas fees are the charges you pay to have a transaction processed on a blockchain. On Ethereum, the fee equals the gas your transaction uses multiplied by the price per unit of gas, and that price moves with demand for space in each block. Read a fee as the cost of block space at that moment, not a fixed charge. The common misread is that the fee depends on how much you send. It does not: sending a small amount and a large amount of ETH costs about the same, because the network charges for computation and space, not value.

What is a gas fee?

A gas fee is the payment that compensates the network for processing and storing your transaction. Without fees, anyone could flood a blockchain with transactions for free.

The term comes from Ethereum, where every operation a transaction performs has a set cost in units called gas. A plain ETH transfer uses 21,000 gas. A token swap on a decentralised exchange uses several times that, because it runs more code. Other chains use different words and models. Bitcoin fees are priced in satoshis per virtual byte of transaction data, and Solana charges a small base fee per signature plus an optional priority fee. The idea is the same everywhere: you pay for the resources your transaction consumes.

How is an Ethereum gas fee calculated?

The fee is the gas your transaction uses multiplied by the price per unit of gas.

Fee = gas used × (base fee + priority fee)

  • Gas used depends on what the transaction does. A simple transfer uses 21,000 units; interacting with a smart contract uses more.
  • Base fee is set by the network for each block and is the same for everyone in that block. It is burned, which means it is removed from the ETH supply rather than paid to anyone.
  • Priority fee, often called a tip, goes to the validator and can help your transaction get included sooner when blocks are busy.

Prices are quoted in gwei. One gwei is one billionth of an ETH. As a worked example, a simple transfer at a base fee of 2 gwei and a tip of 1 gwei costs 21,000 × 3 = 63,000 gwei, which is 0.000063 ETH. The numbers here are for illustration only; real fees depend on network demand at the time you send.

Source: Ethereum Improvement Proposal 1559, activated in the London upgrade, August 2021.

Why do gas fees go up and down?

Fees follow demand for block space. When more people want their transactions in the next block, the base fee rises; when demand falls, it drops.

Ethereum targets blocks that are half full. If a block is more than half full, the base fee for the next block goes up, by as much as 12.5%. If it is less than half full, the base fee goes down. During busy periods, such as a popular token launch or a sharp market move, fees can climb quickly for a short time and then fall back once the rush passes.

What happens if a transaction fails?

You still pay for the gas it used. A transaction that runs out of gas or hits an error partway through has already consumed the network's resources, so the fee for that work is kept even though the transaction is reversed.

Wallets set a gas limit for each transaction, which is the most gas it is allowed to use. Setting it too low is a common reason for failures. Most wallets estimate the limit for you, and it is usually best to accept the estimate unless you know why it is wrong.

How can you pay less in fees?

  • Use a Layer 2. Rollups such as Arbitrum, Base and OP Mainnet process transactions for a fraction of the cost of Ethereum mainnet. Our guide to Layer 1 and Layer 2 blockchains explains how they work and what risks to check.
  • Pick quieter times. Demand is often lower when fewer people are trading. If a transaction is not urgent, a lower tip and a little patience can save money.
  • Batch where you can. Fewer, larger transactions usually cost less overall than many small ones.
  • Check before you approve. Wallets show the estimated fee before you sign. If it looks unusually high for what you are doing, stop and check what the transaction will do.

Why do I need ETH to send stablecoins?

Fees on Ethereum are paid in ETH, whatever token you are moving. If your wallet holds USDC or USDT on Ethereum but no ETH, you cannot send them until you add some ETH to cover the fee. The same rule applies on other networks with their own coins: SOL on Solana, for example. It is one of the most common problems new users hit, especially after withdrawing stablecoins from an exchange.

Frequently Asked Questions

Does sending more ETH cost a higher fee?

No. The fee depends on the work the transaction requires and the price of block space, not on the amount sent.

What is gwei?

Gwei is a small unit of ETH used to price gas. One gwei equals 0.000000001 ETH, or one billionth of an ETH.

Where does the fee go?

On Ethereum, the base fee is burned and the priority fee goes to the validator who includes your transaction.

Are Bitcoin fees also called gas?

Not usually. Bitcoin uses a fee market priced in satoshis per virtual byte, so larger transactions cost more. "Gas" is Ethereum's term, though people often use it loosely for any blockchain fee.

Every call, scored

We publish each market call with its date and the condition that would prove it wrong, then score it when it resolves, misses included. Anyone can check.

See the record

Further Reading

Sources

  • EIP-1559, fee market change for Ethereum, activated in the London upgrade, August 2021: eips.ethereum.org
  • Ethereum documentation on gas and fees: ethereum.org/developers/docs/gas

This article is for education only and is not financial, investment or legal advice. Crypto assets are volatile and you can lose some or all of the money you put in. Fees, failed transactions and smart contracts can cost you money even when a transaction does not go through. Do your own research and consider independent advice before making any financial decision.