Trading basics

What Is a Gas Fee? Definition, Example and How to Pay Less

By , developer of CoinPriceAlert · Published 3 September 2026 · 4 min read

What Is a Gas Fee? Definition, Example and How to Pay Less
Short answer

Short answer: a gas fee is the payment made to have a transaction included in a block. The longer answer — why it matters and where people get it wrong — is below.

The definition

A gas fee is the payment made to have a transaction included in a block.

Definitions in crypto are often circular or full of jargon. If you understand only that sentence, you already know more than most people using the term.

Why it matters to you

In practice, it determines whether small transactions are economical at all.

The concepts that affect your decisions are worth understanding properly; the rest is trivia.

The part people get wrong

One important nuance: fees spike exactly when the network is busiest, which is when you most want to transact.

Most costly mistakes in crypto come from a half-understood concept rather than a completely unknown one.

What gas measures, and how the fee is built

On Ethereum every operation costs a fixed number of gas units: a simple transfer of ETH is 21,000 gas, while a token swap might be 150,000 or more because it runs contract code. Gas is the amount of work. The fee is that work multiplied by a price per unit, quoted in gwei, a billionth of an ETH. Fee equals gas used times price per gas.

Since the London upgrade in August 2021 the price per gas has two parts. A base fee is set by the protocol from how full recent blocks were; it rises when blocks are full, falls when they are not, and is burned rather than paid to anyone. A priority fee, or tip, goes to the validator and is what you add to be included sooner. Wallets estimate both, and you can usually lower the tip when you are not in a hurry.

Why fees spike, and why a failed transaction still costs

Block space is fixed and demand is not. When a popular mint or a market crash sends thousands of transactions at once, the base fee climbs block after block until demand thins, and a transfer that cost a dollar at 4am costs thirty at noon. Fees are a live auction for space, which is why they are the clearest real-time measure of how busy a chain is.

A transaction that runs out of gas or fails a contract check still consumed the network's work, so the fee is still charged. Setting a gas limit too low to save money is the classic way to pay for nothing. Let the wallet set the limit and adjust the tip instead.

Other chains, and how to pay less

Layer-2 networks such as Arbitrum, Optimism and Base run transactions off the main chain and post compressed data back to it, so a swap that costs dollars on Ethereum costs cents there. Solana charges a small base fee per signature plus an optional priority fee and is measured in fractions of a cent. Bitcoin has no gas concept at all; its fee is set per virtual byte of transaction data, and the same auction dynamics apply when the mempool fills.

Practical rules: batch what you can, use a layer-2 for routine activity, check a gas tracker before a non-urgent transaction and send it when the base fee is low, which is often at weekends or early in the US morning. If you hold tokens on Ethereum, keep a little ETH in the same wallet, because you cannot move a token without paying gas in ETH.

CoinPriceAlert

Never miss a move in the markets you follow

Set a price or percentage alert once and get a push notification the moment it triggers — free, with quiet hours so nothing wakes you at 3am.

  • Fires about a second after the price hits
  • Runs on our servers, so it reaches you with the app closed
  • Free for 3 alerts — no card, no account

Download the app for real-time notifications

Download on the App Store Get it on Google Play

Frequently asked questions

What is a gas fee in simple terms?

A gas fee is the payment made to have a transaction included in a block. In practice, it determines whether small transactions are economical at all.

Why do I need ETH to send a token?

Gas on Ethereum is paid only in ETH, whatever token you are moving. A wallet full of USDC with no ETH cannot send the USDC until you add a little ETH to cover the fee.

Do I pay gas if my transaction fails?

Yes. The network did the work up to the failure, so the fee for that work is charged. Failed transactions from too-low gas limits or reverted contract calls are the most common way to pay a fee and receive nothing.

How can I see current gas prices?

Any Ethereum gas tracker shows the current base fee and suggested tips in gwei. Most wallets show the same estimate before you confirm and let you choose a slower, cheaper option when timing does not matter.

Set an alert for this: crypto price alerts, or every market and alert type. Choosing an app? How the alert apps compare, from their own pricing pages.

Related terms

Sources

Written by

Gurjeet Singh · developer of CoinPriceAlert

This site is built and maintained by Gurjeet Singh, a developer who also publishes the offline-first Expense Tracker: Income Manager app, and who answers the support email personally. How this site is built and where its data comes from →

Keep reading