• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
CoinLaw LogoCoinLaw

Bringing Crypto and Finance Closer to You

  • Latest News
  • Statistics
  • About
  • Contact
Subscribe
Home » Glossary » G

What is a Gas Fee? Ethereum Gas Explained with Examples

Last Updated: April 30, 2026
What is Gas Fee

A gas fee is the transaction cost paid to validators on the Ethereum network to compensate for the computational energy required to process and confirm operations on the blockchain.

Key Takeaways

  • Gas fees are denominated in gwei (one billionth of an ETH) and vary based on network demand, transaction complexity, and block space availability.
  • Since EIP-1559 (August 2021), Ethereum gas fees have been split into a base fee (burned) and an optional priority tip (paid to validators).
  • Simple ETH transfers cost approximately 21,000 gas units, while complex smart contract interactions (DeFi swaps, NFT mints) can consume 200,000+ gas units.
  • Layer 2 networks like Arbitrum, Optimism, and Base reduce gas fees by 90-99% by processing transactions off the main Ethereum chain.
  • The base fee burn mechanism has removed over 4 million ETH from circulation since EIP-1559, making Ethereum potentially deflationary during high-usage periods.

How Do Gas Fees Work?

1. Gas Measures Computational Effort

Gas is to Ethereum what fuel is to a car. Every operation the Ethereum Virtual Machine (EVM) performs costs a specific amount of gas. A simple transfer between wallets costs 21,000 gas. A token swap on Uniswap costs roughly 150,000 gas. Deploying a new smart contract can cost 1,000,000+ gas. The more complex the operation, the more computational work the network performs, and the more gas it consumes.

Think of gas units as the distance on a taxi meter. The meter ticks up based on how far you travel (how complex your operation is). The gas price is the rate per kilometer (how much you pay per unit of gas). Your total fare (total gas fee) equals the distance times the rate.

2. EIP-1559 Base Fee and Priority Tip

Before August 2021, Ethereum gas fees used a simple auction: users bid for block space, and miners picked the highest bids. This created unpredictable fee spikes. EIP-1559 replaced this with a two-part system:

  • Base fee: Set algorithmically by the protocol based on how full the previous block was. If the block is more than 50% full, the base fee increases. If less than 50% full, it decreases. This base fee is burned (permanently removed from circulation).
  • Priority tip (maxPriorityFeePerGas): An optional tip paid directly to the validator to incentivize faster inclusion. During congestion, higher tips get transactions processed sooner.

The total gas fee formula is: (Base Fee + Priority Tip) x Gas Used. Users also set a maxFeePerGas cap, and any difference between the max fee and the actual cost is refunded.

Ethereum gas fee breakdown visualization
Newsletter Img
Don't chase the news. Let us curate it.

You get one weekly briefing with only the stories that matter. If the market is quiet, we skip it.

✅ Join readers from Visa, Vanguard, and the FDIC.

3. Layer 2 Solutions Reduce Costs

Layer 2 rollup networks batch hundreds of transactions into a single submission to the Ethereum mainnet, dramatically reducing per-transaction gas costs. A token swap that costs $5-$50 on mainnet Ethereum might cost $0.01-$0.10 on Arbitrum or Optimism. These networks inherit Ethereum’s security guarantees while offering fees that make small transactions economically viable.

OperationGas Units (approx.)Mainnet Cost (at 30 gwei)Layer 2 Cost (Arbitrum)
ETH transfer21,000$1.50-$3.00$0.01-$0.05
ERC-20 token transfer65,000$4-$8$0.02-$0.10
Uniswap swap150,000$10-$20$0.05-$0.20
NFT mint200,000$15-$30$0.08-$0.30
Smart contract deployment1,000,000+$50-$150+$0.50-$2.00

Source: Etherscan Gas Tracker, L2Fees.info

Why Do Gas Fees Matter?

Gas fees determine who can afford to use Ethereum. During the 2021 NFT boom, simple transactions routinely cost $50-$200, pricing out users with smaller portfolios. This economic barrier drove significant user migration to alternative chains like Solana and Polygon, and accelerated the development of Layer 2 solutions.

The EIP-1559 burn mechanism introduced a new dynamic to Ethereum’s economics. During periods of high network usage, more ETH is burned in base fees than is issued to validators as new supply. This makes Ethereum’s supply deflationary during peak demand, a property that Bitcoin’s fixed-issuance model does not share. Our data coverage across DeFi and exchange statistics shows that gas fee trends serve as a real-time proxy for ecosystem activity: high fees signal high demand, low fees signal quiet periods.

Pros, Cons, and Risks

Advantages

  • Spam prevention: Gas fees make it economically impractical to flood the network with junk transactions.
  • Resource allocation: Market-based pricing ensures block space goes to users who value it most.
  • Deflationary pressure: The EIP-1559 burn mechanism reduces ETH supply during high usage periods.
  • Validator incentive: Priority tips motivate validators to include transactions and maintain network security.
  • Predictability: EIP-1559’s algorithmic base fee provides more predictable costs than the pre-2021 auction model.

Trade-offs and Risks

  • Cost barrier: High gas fees during congestion exclude users with smaller transaction values.
  • Unpredictability during spikes: Sudden demand surges (NFT drops, token launches) can cause fees to spike 10-50x within minutes.
  • Failed transactions still cost gas: If a transaction runs out of gas or fails mid-execution, the gas fee is still consumed.
  • Complexity: Understanding base fees, priority tips, gas limits, and maxFeePerGas requires technical knowledge.
  • MEV exploitation: Validators can reorder transactions within a block to extract value (sandwich attacks), effectively increasing costs for regular users.

Gas Fee Models Across Blockchains

Ethereum’s gas fee model is the most well-known, but other blockchains handle transaction costs differently.

BlockchainFee ModelTypical Transfer CostFee Token
Ethereum (mainnet)Base fee (burned) + priority tip$1-$50+ETH (in gwei)
Arbitrum / OptimismL2 execution + L1 data posting$0.01-$0.20ETH
SolanaFixed base fee + priority fee$0.001-$0.01SOL
BitcoinFee market (sat/vByte)$0.50-$10+BTC (in satoshis)
Polygon PoSGas price auction$0.001-$0.05MATIC / POL

Real-World Applications

Optimizing DeFi Transaction Timing

Experienced DeFi users monitor gas prices using tools like Etherscan’s Gas Tracker to time non-urgent transactions. Gas fees on Ethereum tend to be lowest during weekends and early morning hours (UTC). A Uniswap swap that costs $25 during peak hours on a Tuesday afternoon might cost $5 at 4 AM UTC on a Sunday. For large transactions, this timing optimization can save hundreds of dollars.

Layer 2 Migration for Small Transactions

Projects that require frequent small transactions (gaming, micropayments, social tipping) have migrated to Layer 2 networks, where gas fees are negligible. Base (Coinbase’s Layer 2) processes millions of daily transactions at fractions of a cent each, enabling use cases that would be economically impossible on the Ethereum mainnet.

Scenario: Why a Transaction Failed and Still Cost Money

Tom tries to swap tokens on Uniswap. He sets a gas limit of 100,000 units and submits the transaction. The swap requires 150,000 units because token prices shifted between the time Tom submitted and when the transaction was processed (slippage). At the 100,000-unit mark, the transaction runs out of gas and reverts. The state changes are rolled back, meaning Tom does not get his tokens. But the 100,000 gas units he consumed are gone because validators already performed that computational work. Tom lost approximately $7 in gas fees with nothing to show for it. This is why setting an adequate gas limit and reasonable slippage tolerance is critical for DeFi transactions.

DeFi token swap failure and burnout

Frequently Asked Questions (FAQs)

Why are Ethereum gas fees so high?

Gas fees rise when demand for block space exceeds supply. Ethereum processes approximately 15-30 transactions per second on mainnet. When more users want to transact simultaneously (during NFT drops, market volatility, or DeFi yield opportunities), they bid up priority tips to get included faster. Layer 2 networks solve this by processing transactions off-chain.

How can I reduce gas fees on Ethereum?

Four strategies reduce gas costs: (1) transact during off-peak hours (weekends, early UTC mornings), (2) use Layer 2 networks like Arbitrum or Optimism for 90-99% lower fees, (3) batch multiple operations into a single transaction where possible, and (4) set a conservative maxFeePerGas and wait for network conditions to match.

What is gwei?

Gwei is the unit used to denominate gas prices on Ethereum. One gwei equals 0.000000001 ETH (one billionth of an ETH). When someone says gas is “30 gwei,” they mean each unit of gas costs 30 billionths of an ETH. The name comes from “giga-wei,” where wei is the smallest possible denomination of Ethereum.

Do gas fees go to Ethereum miners?

Since Ethereum’s transition to proof-of-stake in September 2022 (“The Merge”), gas fees go to validators, not miners. The base fee portion is burned (permanently destroyed), reducing the ETH supply. Only the priority tip goes to the validator who includes the transaction. Before the Merge, the entire gas fee went to miners.

The Bottom Line

Gas fees are the economic mechanism that keeps Ethereum functional and secure. They prevent spam, compensate validators, and, since EIP-1559, actively manage ETH’s supply. The challenge has always been balancing network security with accessibility, and Layer 2 solutions are proving to be the most effective answer.

The trajectory is clear: complex, high-value transactions will continue to settle on Ethereum mainnet, where security guarantees are strongest. Everyday transactions (swaps, transfers, gaming) will increasingly migrate to Layer 2 networks where gas fees are negligible. Understanding how gas fees work is essential for anyone using Ethereum, not just to avoid overpaying, but to make informed decisions about when and where to transact.

Definition of Blockchain. Link to full glossary entry follows the description.Blockchain

A distributed digital ledger that records transactions across a network, with each block cryptographically linked to the previous one for security.

Read more

Definition of Smart Contract. Link to full glossary entry follows the description.Smart Contract

A smart contract is a self-executing program stored on a blockchain that automatically enforces agreement terms when predefined conditions are met, without intermediaries.

Read more

Definition of EVM. Link to full glossary entry follows the description.EVM

The Ethereum Virtual Machine is the runtime environment that executes smart-contract bytecode across every Ethereum node, using a 256-bit stack architecture and gas-metered computation.

Read more

Definition of DeFi. Link to full glossary entry follows the description.DeFi

Decentralized finance leverages blockchain protocols and smart contracts to enable lending, trading, and borrowing without banks or traditional intermediaries.

Read more

Definition of Layer 1. Link to full glossary entry follows the description.Layer 1

A Layer 1 is the base blockchain layer that settles its own transactions, enforces its own consensus, and secures its own ledger. Bitcoin, Ethereum, Solana.

Read more

Definition of NFT. Link to full glossary entry follows the description.NFT

A non-fungible token is a unique blockchain-based asset that verifies ownership of digital or physical items such as art, collectibles, or real-world assets.

Read more

Definition of Layer 2. Link to full glossary entry follows the description.Layer 2

A Layer 2 is a secondary blockchain built on top of Ethereum that bundles transactions off-chain and posts compressed data back to the main chain, cutting fees and raising throughput.

Read more

Definition of ERC-20. Link to full glossary entry follows the description.ERC-20

An Ethereum technical standard defining a common interface for fungible tokens, specifying six core methods and two events so wallets, exchanges, and contracts can interact with any token uniformly.

Read more

By , April 30, 2026

Share ChatGPT Perplexity

Explore More Terms

Staking

Staking

Staking is the process of locking cryptocurrency in a proof-of-stake network to help validate transactions and earn rewards, replacing energy-intensive mining.

ERC-721

ERC-721

ERC-721 is Ethereumu0027s non-fungible token standard. Each token has a unique uint256 tokenId so assets like art, collectibles, and deeds can be uniquely owned.

Blockchain

Blockchain

A distributed digital ledger that records transactions across a network, with each block cryptographically linked to the previous one for security.

CBDC

CBDC

A central bank digital currency (CBDC) is digital money issued as a direct liability of a central bank, available in retail or wholesale forms.

Collateral Tokens

Collateral Tokens

A collateral token is a cryptocurrency pledged inside a DeFi lending protocol to secure a borrowed position, with automatic liquidation if its value falls below a threshold.

dApp (Decentralized Application)

dApp (Decentralized Application)

A decentralized application that runs its backend on a blockchain via smart contracts, combining on-chain logic with a standard web front-end.

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

Table of Contents

  • Key Takeaways
  • How Do Gas Fees Work?
  • Why Do Gas Fees Matter?
  • Pros, Cons, and Risks
  • Gas Fee Models Across Blockchains
  • Real-World Applications
  • Frequently Asked Questions (FAQs)
  • The Bottom Line
Connect on Telegram
FG Nexus Moves 10,000 ETH as Ethereum Losses Exceed $85M
Cryptocurrency

FG Nexus Moves 10,000 ETH as Ethereum Losses Exceed $85M

By Kathleen Kinder June 4, 2026
Moomoo Debuts Kalshi Powered Event Contracts for Retail Traders
Fintech

Moomoo Debuts Kalshi Powered Event Contracts for Retail Traders

By Kathleen Kinder June 4, 2026
Arthur Hayes Shocks Hyperliquid Holders With $18M HYPE Exit
Cryptocurrency

Arthur Hayes Shocks Hyperliquid Holders With $18M HYPE Exit

By Kelvin Scott June 4, 2026
Goldman Sachs Backs Blockchain Real Estate Fund
Investments

Goldman Sachs Backs Blockchain Real Estate Fund

By Kelvin Scott June 4, 2026
Shinhan Financial Joins Canton Network for Tokenized Assets
Fintech

Shinhan Financial Joins Canton Network for Tokenized Assets

By Kelvin Scott June 4, 2026
Bitmine Launches $300M Preferred Stock to Buy More ETH
Finance

Bitmine Launches $300M Preferred Stock to Buy More ETH

By Kelvin Scott June 4, 2026
Coinbase Freezes $3M Linked to Southeast Asia Scams
Cryptocurrency

Coinbase Freezes $3M Linked to Southeast Asia Scams

By Kelvin Scott June 4, 2026
Coinbase Lists SpaceX Pre IPO Perpetual Futures
Finance

Coinbase Lists SpaceX Pre IPO Perpetual Futures

By Kelvin Scott June 4, 2026

Footer

CoinLaw Logo

Bringing Finance Closer to You.

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer

Worth Checking

  • Ethereum Gas Fees Statistics
  • Zelle vs. Venmo Statistics
  • Millennial vs. Gen Z Banking
  • Binance vs. Coinbase Statistics
  • Traditional Banks vs. Neobanks
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. – 6 p.m. | Every day

Copyright © 2024–2026 CoinLaw. All Rights Reserved. Powered by the HODL Force ❤️

  • Privacy Policy
  • Terms
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • glossary icon
    Glossary
  • Stats
    Stats Research Process
  • Brand Guide Icon
    Brand Assets
Categories
  • Cryptocurrency
  • Payments
  • Finance
  • Banking
  • Insurance
Cryptocurrency
Coinbase vs Kraken Statistics 2026: Volume, Fees, Licenses
Coinbase vs Kraken Statistics 2026: Volume, Fees, Licenses
Solana vs Ethereum Statistics 2026: TVL, Fees, Validators, ETFs
Solana vs Ethereum Statistics 2026: TVL, Fees, Validators, ETFs
Uniswap vs PancakeSwap Statistics 2026: Head-to-Head DEX Data
Uniswap vs PancakeSwap Statistics 2026: Head-to-Head DEX Data
Cryptojacking Statistics 2026: 80+ Cloud, Cost & Threat Numbers
Cryptojacking Statistics 2026: 80+ Cloud, Cost & Threat Numbers
MetaMask vs Phantom Wallet Statistics 2026: Big Growth Data
MetaMask vs Phantom Wallet Statistics 2026: Big Growth Data
Crypto Wallet Ecosystem Statistics 2026: Addresses, Security, Adoption
Crypto Wallet Ecosystem Statistics 2026: Addresses, Security, Adoption
Payments
Toast Statistics 2026: ARR, GPV & Revenue Data
Toast Statistics 2026: ARR, GPV & Revenue Data
Rapyd Statistics 2026: TPV, Valuation & Licences
Rapyd Statistics 2026: TPV, Valuation & Licences
Marqeta Statistics 2026: TPV, Revenue and Customer Mix
Marqeta Statistics 2026: TPV, Revenue and Customer Mix
Digital Payments Statistics 2026: Market Size, Users, and Growth
Digital Payments Statistics 2026: Market Size, Users, and Growth
Cash App vs Venmo vs Zelle Statistics 2026: What You Must Know Now
Cash App vs Venmo vs Zelle Statistics 2026: What You Must Know Now
Worldpay Statistics 2026: Massive Payment Growth
Worldpay Statistics 2026: Massive Payment Growth
Finance
Emergency Fund Statistics 2026: How Much Americans Have Saved (and How Much They Should)
Emergency Fund Statistics 2026: How Much Americans Have Saved (and How Much They Should)
Financial Advisor Statistics 2026: Headcount, AUM, and Demographics
Financial Advisor Statistics 2026: Headcount, AUM, and Demographics
Wealth Inequality Statistics 2026: Hidden Wealth Divide
Wealth Inequality Statistics 2026: Hidden Wealth Divide
Blockchain in Supply Chain Finance Statistics 2026: Trade Breakthrough
Blockchain in Supply Chain Finance Statistics 2026: Trade Breakthrough
Blockchain in Healthcare Finance Statistics 2026: Cost Breakthrough
Blockchain in Healthcare Finance Statistics 2026: Cost Breakthrough
AI-Powered Robo Trading Statistics 2026: Big Insights
AI-Powered Robo Trading Statistics 2026: Big Insights
Banking
N26 Statistics 2026: Customers, Deposits, Revenue and the BaFin Growth Cap
N26 Statistics 2026: Customers, Deposits, Revenue and the BaFin Growth Cap
Revolut vs Monzo Statistics 2026: Customers & Profit
Revolut vs Monzo Statistics 2026: Customers & Profit
Islamic Banking Statistics 2026: Assets, Growth, and Top Markets
Islamic Banking Statistics 2026: Assets, Growth, and Top Markets
Credit Union Statistics 2026: Assets, Members, Loans
Credit Union Statistics 2026: Assets, Members, Loans
Banking API Statistics 2026: Market Size, Adoption, and Growth
Banking API Statistics 2026: Market Size, Adoption, and Growth
Citigroup Statistics 2026: Growth Secrets Inside
Citigroup Statistics 2026: Growth Secrets Inside
Insurance
Lemonade Insurance Statistics 2026: Customers, In-Force Premium, Loss Ratio, Pet & Auto Segments
Lemonade Insurance Statistics 2026: Customers, In-Force Premium, Loss Ratio, Pet & Auto Segments
Chubb Statistics 2026: Powerful Data Insights
Chubb Statistics 2026: Powerful Data Insights
Virtual Reality In Insurance Statistics 2026: Innovations, Risks, and Opportunities
Virtual Reality In Insurance Statistics 2026: Innovations, Risks, and Opportunities
US Life Insurance Industry Statistics 2026: Growth Facts
US Life Insurance Industry Statistics 2026: Growth Facts
US Auto Insurance Industry Statistics 2026: What You Must Know Now
US Auto Insurance Industry Statistics 2026: What You Must Know Now
UK Insurance Industry Statistics 2026: Growth Data
UK Insurance Industry Statistics 2026: Growth Data
Categories
  • Cryptocurrency
  • Investments
  • Compliance
  • Fintech
  • Finance
Cryptocurrency
FG Nexus Moves 10,000 ETH as Ethereum Losses Exceed $85M
FG Nexus Moves 10,000 ETH as Ethereum Losses Exceed $85M
Arthur Hayes Shocks Hyperliquid Holders With $18M HYPE Exit
Arthur Hayes Shocks Hyperliquid Holders With $18M HYPE Exit
Coinbase Freezes $3M Linked to Southeast Asia Scams
Coinbase Freezes $3M Linked to Southeast Asia Scams
Mt. Gox Moves $8M BTC to Bitstamp as Bitcoin Falls
Mt. Gox Moves $8M BTC to Bitstamp as Bitcoin Falls
Winklevoss Twins Move $67.5M BTC Amid Sell Fears
Winklevoss Twins Move $67.5M BTC Amid Sell Fears
Visa, Mastercard and Stripe Plan New Stablecoin Platform
Visa, Mastercard and Stripe Plan New Stablecoin Platform
Investments
Goldman Sachs Backs Blockchain Real Estate Fund
Goldman Sachs Backs Blockchain Real Estate Fund
Keyrock to Buy Bankrupt Crypto Lender BlockFills for $3.25M
Keyrock to Buy Bankrupt Crypto Lender BlockFills for $3.25M
OKX Buys 19.6% of Coinone in $53M Korea Crypto Deal
OKX Buys 19.6% of Coinone in $53M Korea Crypto Deal
Samsung Buys $408M Stake in Upbit Parent Dunamu
Samsung Buys $408M Stake in Upbit Parent Dunamu
Nvidia to Invest $150 Billion a Year in Taiwan AI Expansion
Nvidia to Invest $150 Billion a Year in Taiwan AI Expansion
Binance Launches SpaceX Pre-IPO Futures for Retail Traders
Binance Launches SpaceX Pre-IPO Futures for Retail Traders
Compliance
FCA Flags Crypto Sponsorship Risks for Premier League Clubs
FCA Flags Crypto Sponsorship Risks for Premier League Clubs
Polymarket May Enforce KYC as Regulators Tighten Oversight
Polymarket May Enforce KYC as Regulators Tighten Oversight
CFTC and Gemini Ask Court to Undo $5M Settlement
CFTC and Gemini Ask Court to Undo $5M Settlement
Kenya Proposes New Crypto Taxes Under Finance Bill 2026
Kenya Proposes New Crypto Taxes Under Finance Bill 2026
Poland Passes MiCA Crypto Bill Amid Zondacrypto Probe
Poland Passes MiCA Crypto Bill Amid Zondacrypto Probe
Bitget Secures Mexico Crypto Approval for LatAm Expansion
Bitget Secures Mexico Crypto Approval for LatAm Expansion
Fintech
Moomoo Debuts Kalshi Powered Event Contracts for Retail Traders
Moomoo Debuts Kalshi Powered Event Contracts for Retail Traders
Shinhan Financial Joins Canton Network for Tokenized Assets
Shinhan Financial Joins Canton Network for Tokenized Assets
Tether Launches First Gold Backed Visa Card With Fasset
Tether Launches First Gold Backed Visa Card With Fasset
OpenPayd Targets Nasdaq Listing With $1.145B Deal
OpenPayd Targets Nasdaq Listing With $1.145B Deal
Sui Identifies Bugs Behind Three Mainnet Network Outages
Sui Identifies Bugs Behind Three Mainnet Network Outages
OKX X Layer Introduces Exchange OS for Onchain Markets
OKX X Layer Introduces Exchange OS for Onchain Markets
Finance
Bitmine Launches $300M Preferred Stock to Buy More ETH
Bitmine Launches $300M Preferred Stock to Buy More ETH
Coinbase Lists SpaceX Pre IPO Perpetual Futures
Coinbase Lists SpaceX Pre IPO Perpetual Futures
Binance Expands Into US Stocks With New bStocks Service
Binance Expands Into US Stocks With New bStocks Service
SEC Clears Paxos to Settle U.S. Stocks on Blockchain
SEC Clears Paxos to Settle U.S. Stocks on Blockchain
Mastercard Expands Stablecoin Strategy With NY BitLicense
Mastercard Expands Stablecoin Strategy With NY BitLicense
Russia Plans Full Exit of Visa and Mastercard From Market
Russia Plans Full Exit of Visa and Mastercard From Market
Newsletter Img

Too much noise in crypto?

We respect your time. You get one high-impact briefing a week. If the market is quiet, so are we.

✅ Join readers from Visa, Vanguard, and the FDIC.
Newsletter Img

The Weekly Briefing

We track the market 24/7. You get a 5-minute summary. If it’s quiet, we skip it.

✅ Read by pros at Visa, Vanguard, and the FDIC.