Skip to content

Crypto Gas Fees Explained

Everything you need to know about gas fees: how they work, why they change, what they cost on different networks, and how to spend less. A practical guide for 2026.

This tool provides educational information only. It is not financial, tax, or legal advice. Always consult qualified professionals for decisions about your specific situation. Results are based on general patterns and may not reflect your circumstances.

What Are Gas Fees?

If you have ever sent cryptocurrency, swapped tokens, or interacted with a DeFi protocol, you have paid a gas fee. It probably confused you the first time. Maybe you paid $2 to send $50 worth of Ethereum. Maybe you watched a fee estimate jump from $3 to $15 while you hesitated. Maybe a transaction failed and you still got charged. Gas fees are one of the most misunderstood aspects of crypto, but they are actually straightforward once you understand what is happening underneath.

Gas fees are transaction costs paid to the computers that process and validate your transactions on a blockchain network. Every blockchain needs a way to prevent spam and compensate the people running the network. Gas fees serve both purposes. They make it expensive to flood the network with junk transactions, and they pay validators for the computational work of verifying and recording your transaction permanently.

The Shipping Cost Analogy

Think of gas fees like shipping costs for a package. The package is your transaction. The delivery network is the blockchain. Just like shipping, the cost depends on several factors: how busy the delivery network is (network congestion), how heavy or complex your package is (computational complexity), and which delivery service you use (which blockchain). Sending a simple letter (a basic ETH transfer) costs less than shipping a large crate (a complex smart contract interaction involving multiple DeFi protocols).

The analogy extends further. Just like you can choose between express and standard shipping, you can choose how much priority to give your transaction. Pay more and it gets processed faster. Pay less and it waits in line. And just like physical shipping, there are peak periods (holidays for packages, NFT mints for blockchains) when everyone is trying to send at once and costs spike. Understanding this dynamic is the key to not overpaying.

Who Gets Paid?

On proof-of-stake networks like Ethereum, gas fees go to validators who stake their own capital to secure the network. On proof-of-work networks like Bitcoin, fees go to miners who provide computational power. In both cases, fees are the economic incentive that keeps the network running. Without fees, nobody would spend money running validator hardware, and the blockchain would have no security.

The specifics of who gets paid vary by network. On Ethereum, part of your fee (the “base fee”) is actually burned — permanently destroyed — rather than paid to anyone. Only the priority tip goes to validators. This burn mechanism is unique to Ethereum and has significant implications for ETH as an asset. On Solana, 50% of fees are burned and 50% go to the validator. On Bitcoin, the full fee goes to the miner. We will break down each network’s model in detail later in this guide.

One important nuance: gas fees are separate from any protocol fees charged by the dApp you are using. When you swap tokens on Uniswap, you pay both a gas fee (to the blockchain for processing the transaction) and a swap fee (to the Uniswap liquidity pool, typically 0.3%). These are different costs serving different purposes, and both affect the total cost of your transaction.

If you are new to crypto entirely, our cryptocurrency for beginners guide covers the foundational concepts before diving into fee mechanics.

How Ethereum Gas Fees Work

Ethereum is where gas fee complexity really lives, so understanding Ethereum fees gives you the mental model for every other chain. Since August 2021, Ethereum uses a fee system called EIP-1559 that fundamentally changed how gas pricing works. For a deeper look at Ethereum itself, see our how Ethereum works guide.

Gas Units and Gwei

Gas on Ethereum is measured in small units called gwei. One gwei is one billionth of an ETH (0.000000001 ETH). A simple ETH transfer uses about 21,000 gas units. A token swap on Uniswap might use 150,000 to 300,000 gas units. A complex DeFi transaction could use 500,000 or more. The total fee is calculated by multiplying the gas units used by the price per gas unit.

Base Fee + Priority Tip

Under EIP-1559, each transaction pays two components. The base fee is set by the protocol based on how full the previous block was. If blocks are more than 50% full, the base fee increases. If they are less than 50% full, it decreases. This creates a predictable, algorithm-driven fee market. The base fee is burned (destroyed), which means it does not go to validators and reduces the overall supply of ETH over time.

The priority tip (also called the priority fee or maxPriorityFeePerGas) is an optional payment directly to validators that incentivizes them to include your transaction faster. During normal conditions, a tip of 1-2 gwei is sufficient. During high congestion, higher tips can mean the difference between your transaction going through in the next block or sitting in the mempool for minutes.

Example Calculation

Here is a concrete example. You want to send ETH to a friend. A simple transfer uses 21,000 gas units. The current base fee is 25 gwei and you add a 2 gwei priority tip. Your total fee is 21,000 x (25 + 2) = 567,000 gwei = 0.000567 ETH. If ETH is trading at $3,500, that is about $1.98. Now imagine a complex DeFi transaction using 250,000 gas units during congestion when the base fee is 80 gwei with a 5 gwei tip. That is 250,000 x 85 = 21,250,000 gwei = 0.02125 ETH, or roughly $74. Same network, wildly different costs depending on complexity and timing.

That same Uniswap swap performed on Arbitrum or Base might cost $0.05-$0.15 — the exact same operation, the exact same result, but on a Layer 2 that batches your transaction with others. This is why network choice is the single most important factor in controlling gas costs.

Gas Limit vs. Gas Used

When you send a transaction, your wallet also sets a “gas limit” — the maximum gas units the transaction is allowed to consume. If the transaction uses less gas than the limit, you only pay for what was actually consumed. The unused gas is not charged. If the transaction tries to use more gas than your limit allows, it fails — and you lose the gas that was consumed up to that failure point. Your wallet sets a reasonable gas limit by default (usually with a 20-30% buffer above the estimate), and in most cases you should not adjust it manually. Setting the limit too low risks failed transactions that still cost you gas.

Why Gas Fees Spike

Gas fee spikes happen when demand for block space exceeds supply. Ethereum processes roughly 15-30 transactions per second. When more than that many people want to transact simultaneously, they compete by offering higher fees. The result is a rapid escalation that can make routine transactions prohibitively expensive for small holders.

Common Spike Triggers

Popular NFT mints. When a hyped NFT collection launches, thousands of users try to mint simultaneously. Gas wars during the Yuga Labs Otherside mint in 2022 pushed Ethereum gas fees above 8,000 gwei, with users paying hundreds of dollars per transaction. Many transactions failed, and users still paid the gas for the failed attempts.

Market crashes and panic selling. When crypto prices drop sharply, everyone rushes to sell, move funds to stablecoins, or adjust DeFi positions. This creates a feedback loop: the worse the crash, the more urgent the transactions, the higher the fees, which makes the situation worse for smaller users who cannot afford the gas to protect their positions.

Airdrop claims. When a major protocol like Arbitrum or StarkNet distributes tokens, millions of users try to claim within the first hours. This floods the network with transactions. Understanding why crypto prices move helps you anticipate these congestion events.

The Mempool and Fee Auctions

Before a transaction is included in a block, it sits in the mempool — a waiting area of pending transactions visible to all validators and network participants. Validators pick transactions from the mempool that offer the highest fees because that maximizes their revenue. During congestion, the mempool swells with thousands of pending transactions, and only those willing to pay premium fees get processed quickly. Lower-fee transactions wait, sometimes for hours.

The mempool is also where MEV (Maximal Extractable Value) extraction happens. Sophisticated bots monitor the mempool for profitable opportunities — front-running large DEX trades, sandwich attacking swaps, or racing to liquidate undercollateralized loans. These bots are willing to pay very high gas fees because the profit from their MEV strategy exceeds the gas cost. Their aggressive bidding pushes gas prices higher for everyone else. This is one of the less visible but significant contributors to high gas fees during volatile markets.

Time-of-day patterns. Gas fees follow predictable daily and weekly cycles. Fees tend to be highest during US business hours (roughly 14:00-22:00 UTC) when American and European trading activity overlaps. The cheapest windows are typically Saturday and Sunday mornings UTC, when global trading volume is at its lowest. If your transaction is not urgent, scheduling it during off-peak hours can save 30-60% on gas costs. Our Should I Send Now? tool tracks these patterns in real time and tells you whether current conditions are favorable.

Gas Fees by Network

One of the most important practical decisions in crypto is choosing the right network for your transaction. The cost difference between chains can be enormous, often a factor of 100x or more. Here is how the major networks compare.

NetworkSimple TransferToken SwapType
Ethereum L1$1 - $15$5 - $80+Layer 1
Arbitrum$0.01 - $0.10$0.05 - $0.50Optimistic Rollup
Optimism$0.01 - $0.10$0.05 - $0.50Optimistic Rollup
Base<$0.01$0.01 - $0.10Optimistic Rollup
Solana<$0.01$0.01 - $0.05Layer 1
Polygon<$0.01$0.01 - $0.10Sidechain/L2
BSC$0.03 - $0.10$0.10 - $0.50Layer 1

Compare live fees across networks with our L2 fee comparison tool. These ranges are typical. During extreme congestion, even Layer 2 fees can increase significantly.

Layer 2 Solutions and Lower Fees

Layer 2 networks are the most practical answer to Ethereum’s high gas fees. They process transactions off the main Ethereum chain but post proof of those transactions back to Ethereum, inheriting its security guarantees while dramatically reducing costs. For a full guide to all major L2 networks and how to use them, see our Layer 2 solutions explained guide.

How Rollups Reduce Costs

Rollups bundle hundreds or thousands of transactions together and submit a compressed summary to Ethereum. Instead of each transaction independently paying for Ethereum block space, the cost is amortized across all transactions in the batch. This is why a swap on Arbitrum costs cents instead of dollars. You are effectively splitting the Ethereum posting cost with everyone else in the batch.

Two main types of rollups exist. Optimistic rollups (Arbitrum, Optimism, Base) assume transactions are valid and only check them if challenged. ZK rollups (zkSync, StarkNet, Scroll) generate mathematical proofs that transactions are valid, which Ethereum can verify quickly. Both achieve massive fee reductions, though the underlying mechanics differ.

Blob Transactions and EIP-4844

In March 2024, Ethereum implemented EIP-4844 (also called Proto-Danksharding), which introduced a new type of data storage called “blobs.” Blobs give rollups a cheaper way to post data to Ethereum, separate from the regular transaction data market. This reduced Layer 2 fees by 10-100x overnight. Before EIP-4844, posting a batch to Ethereum might cost the rollup $500-1,000 in gas. After, it dropped to $1-10. Those savings were passed directly to users.

Data Availability and Security Trade-offs

Not all Layer 2s post their data to Ethereum in the same way. Some newer chains use alternative data availability (DA) layers like Celestia or EigenDA to store transaction data even more cheaply than Ethereum blobs. This can push fees lower, but it changes the security model — your transaction data is secured by the DA layer rather than Ethereum directly. For most everyday transactions, this trade-off is acceptable. For large-value operations, you may prefer an L2 that posts directly to Ethereum for maximum security.

When to Use Layer 2s

For most everyday transactions, there is very little reason to use Ethereum L1 directly anymore. Swapping tokens, providing liquidity, transferring funds between wallets, and most DeFi activities work perfectly well on Layer 2s at a fraction of the cost. The main reasons to use L1 are specific protocols that only exist on mainnet, interacting with governance contracts, or handling very large transactions where the fee is negligible relative to the amount.

Getting started with a Layer 2 is straightforward. You can either bridge assets from Ethereum mainnet (which costs one L1 gas fee) or withdraw directly from a centralized exchange that supports the L2. Coinbase supports native withdrawals to Base and Arbitrum. Binance supports Arbitrum, Optimism, and several others. Once your assets are on the L2, you use the same wallet (MetaMask, Rabby, etc.) with the network switched. For help setting up your wallet for multiple networks, see our crypto wallets explained guide.

How to Save on Gas Fees

Gas fees are unavoidable, but overpaying is not. Here are practical strategies to reduce what you spend on transaction costs without sacrificing security or speed.

1. Use Layer 2 Networks Whenever Possible

This is by far the most impactful change you can make. If you are currently doing everything on Ethereum L1, switching to Arbitrum, Base, or Optimism will reduce your gas costs by 90-99%. Most major DeFi protocols, NFT marketplaces, and dApps are available on at least one Layer 2. Bridge your assets once (which does cost L1 gas) and then transact cheaply.

2. Time Your Transactions

Ethereum gas fees follow predictable patterns tied to user activity. Fees tend to be lowest on weekends, particularly Saturday and Sunday mornings UTC. Weekday afternoons (UTC) when both US and European markets are active tend to be the most expensive periods. Check our Should I Send Now? tool for real-time gas conditions before initiating a transaction.

3. Use Gas Trackers

Our gas fee estimator shows you current gas prices across multiple networks. Set alerts for when gas drops below your target price if your transaction is not time-sensitive.

4. Batch Operations

Some protocols allow you to combine multiple actions into a single transaction. Claiming rewards and restaking in one transaction instead of two saves you one full gas fee. Some wallet apps can batch multiple token transfers into a single transaction. Every transaction you eliminate saves the full base cost.

5. Set Appropriate Gas Limits

Most wallets auto-estimate gas, and these estimates are usually reliable. But during volatile periods, wallet estimates can be unnecessarily high. If your transaction is not urgent, you can manually reduce the priority tip to save a few dollars. Just be aware that lower tips mean slower confirmation times.

6. Consider Which Chain Your Assets Are On

Before buying crypto, think about where you will use it. If you plan to use DeFi, consider buying ETH or other assets directly on a Layer 2 via exchanges that support L2 withdrawals (Coinbase supports Base, Binance supports Arbitrum, etc.). This avoids the bridge transaction entirely. Use our cost optimizer to find the cheapest route.

Gas Fees and DeFi

DeFi is where gas fees have the biggest practical impact. A simple token transfer uses 21,000 gas units. A Uniswap swap uses 150,000-300,000. A multi-step DeFi strategy involving approval, deposit, and staking can require 3-5 separate transactions, each costing gas. Understanding these costs is essential before diving into decentralized finance.

Token Approvals

Before you can use your tokens in a DeFi protocol, you need to approve the protocol to spend them. This approval is a separate transaction with its own gas cost (typically 50,000-60,000 gas units). You pay this once per token per protocol, but it adds up when you are interacting with many protocols. Some wallets support batch approvals to reduce this overhead.

Swap Costs

Token swaps on decentralized exchanges vary significantly in gas consumption depending on the route. A direct pair swap (ETH to USDC) is cheaper than a multi-hop route (ETH to obscure token via two intermediate pools). DEX aggregators like 1inch find the cheapest route, but the aggregation itself can add gas overhead. On Layer 2s, these differences become negligible.

Multi-Step Transactions

Advanced DeFi strategies often require multiple transactions: approve a token, deposit it into a lending protocol, borrow against it, swap the borrowed asset, and deposit that into a yield farm. Each step costs gas. On Ethereum L1, a five-step strategy at $10 per transaction costs $50 in gas before you earn a single dollar in yield. This is why DeFi on L1 only makes economic sense for larger positions. On Layer 2s, the same strategy might cost $0.50 total.

Gas Optimization Tips for DeFi

  • Use DeFi on Layer 2 networks whenever the protocol supports it
  • Check if the protocol has a “zap” function that combines multiple steps into a single transaction
  • Avoid interacting with DeFi during gas spikes unless it is urgent — patience can save $20-50
  • Calculate whether the expected yield covers your gas costs before entering a position
  • Review and revoke old token approvals periodically to reduce your risk exposure
  • Use DEX aggregators like 1inch, CowSwap, or Paraswap to find gas-efficient swap routes
  • Consider the total round-trip cost: entry gas + management gas + exit gas

A good rule of thumb: if gas fees represent more than 2-3% of your position size on entry, the position is probably too small for that network. Either move to a cheaper chain or increase your position size. Our Exchange Fee Calculator helps you compare the total cost of trading across both centralized and decentralized options, factoring in gas fees, swap fees, and slippage. Understanding the full cost picture is essential for making smart trading decisions.

Gas Fees on Non-EVM Chains

Ethereum and its Layer 2s are not the only game in town. Other major blockchains have fundamentally different fee structures that are worth understanding, especially if you use multiple chains. For understanding how crypto wallets work across different chains, see our wallets guide.

Solana: Priority Fees

Solana does not use an Ethereum-style gas model. Every transaction has a base fee of 5,000 lamports per signature (0.000005 SOL, roughly a fraction of a cent) plus an optional priority fee. Solana processes transactions in parallel rather than sequentially, which gives it dramatically higher throughput — thousands of transactions per second compared to Ethereum’s 15-30.

A key difference from Ethereum: Solana has localized fee markets. A spike in demand for one program (say, a memecoin trading on Raydium) does not necessarily increase fees for unrelated transactions (like sending USDC to a friend). This means normal users rarely experience fee spikes from activity they are not participating in. However, during extremely popular events — major NFT mints, viral memecoin launches — the priority fee market for those specific programs can become very competitive, with users paying $1-5 or more for guaranteed inclusion.

Solana’s approach to congestion is also different. Instead of fees skyrocketing like on Ethereum, Solana has historically experienced transaction failures during extreme load. Your transaction does not get expensive — it simply does not go through. Priority fees mitigate this by giving validators stronger incentive to include your transaction, but the user experience during congestion is fundamentally different from Ethereum’s fee-based rationing.

Bitcoin: A Different Fee Market

Bitcoin transactions pay fees based on data size in bytes, not computational complexity. A simple Bitcoin transfer is roughly 250 bytes. During normal periods, fees are $0.50-$5. During bull markets or inscription-related activity (like Ordinals), Bitcoin fees have spiked to $30-60 for a single transfer. Bitcoin blocks are limited to roughly 4 MB, so congestion creates the same fee pressure as Ethereum.

Cosmos: Per-Chain Fees

The Cosmos ecosystem is a network of independent blockchains (called “zones”) connected by the Inter-Blockchain Communication (IBC) protocol. Each zone sets its own fee structure using its native token — the Cosmos Hub charges fees in ATOM, Osmosis in OSMO, Celestia in TIA. Fees are generally very low, often under $0.01 for a basic transaction.

Cross-chain transfers via IBC involve fees on both the source and destination chains, plus relayer fees. Even so, total costs are typically under $0.05 for a cross-chain transfer. Cosmos chains also support fee grants, where one account can pay fees on behalf of another — an early form of gas sponsorship that predates ERC-4337 in the EVM world. Each chain sets minimum gas prices independently, so the fee experience varies depending on which chain you are using.

How These Models Compare

The fundamental difference between fee models comes down to architectural philosophy. Ethereum chose limited throughput with high security, creating expensive block space that L2s then make accessible. Solana chose high throughput at the cost of higher validator hardware requirements. Bitcoin chose simplicity and security over programmability. Cosmos chose sovereignty, letting each chain optimize independently. There is no universally “best” fee model — each makes trade-offs suited to different use cases. A $50,000 cross-border settlement probably belongs on Ethereum L1 or Bitcoin. A $5 token swap belongs on an L2 or Solana.

Chain FamilyFee TokenFee ModelTypical Cost
Ethereum + L2sETHGas units x gwei price$0.01 - $80+
SolanaSOLBase + priority fee<$0.01 - $5
BitcoinBTCSats per byte$0.50 - $60
Cosmos chainsNative tokenMin gas price per chain<$0.01

The Future of Gas Fees

The crypto industry is actively working on making gas fees lower, more predictable, and less of a barrier to adoption. Several developments are converging to reshape how users interact with fees.

Account Abstraction and Gas Sponsorship

Account abstraction (ERC-4337 and native AA on some chains) enables smart contract wallets with programmable rules, including the ability for someone else to pay your gas fees. This enables “gasless” transactions from the user’s perspective. A dApp can sponsor gas for new users, a company can cover gas for employees, or you can pay gas in USDC instead of ETH. The fee still exists, but it is abstracted away from the user experience.

Intent-Based Transactions

Intent-based protocols let you express what you want to happen (“swap 100 USDC for ETH at the best available price”) without specifying exactly how. Specialized “solvers” compete to fill your intent at the best price, often bundling your transaction with others for gas efficiency. This shifts the gas optimization problem from you to professional market makers who can optimize at scale.

Continued Layer 2 Scaling

Full Danksharding (the complete version of EIP-4844) will dramatically increase the amount of blob data Ethereum can handle, further reducing Layer 2 costs. PeerDAS (Peer Data Availability Sampling) is an intermediate step that distributes blob verification across validators more efficiently. As Layer 2s mature and attract more users, the base layer becomes increasingly a settlement and security layer rather than a place where individuals transact directly. The endgame is gas fees on Layer 2s that are so low they feel free for normal usage, while Ethereum L1 remains the expensive but ultra-secure backbone.

Fee Market Evolution

Several research directions are exploring more efficient fee markets. Multidimensional EIP-1559 would create separate fee markets for different resource types (computation, storage, data) rather than a single blended gas price. This could make pricing more precise and prevent one type of demand from distorting fees for others — if storage demand spikes, computation fees would not necessarily increase. Solana’s localized fee market, where congestion on one program does not affect fees for unrelated programs, is an early version of this concept.

Pre-confirmation services are another emerging concept: validators commit to including your transaction in an upcoming block before it is actually produced, guaranteeing fast inclusion at a known price. This reduces uncertainty around gas costs, which is particularly valuable for DeFi operations where a delay of even a few seconds can change the optimal execution strategy.

The broad trajectory is clear: gas fees will become cheaper, more predictable, and increasingly invisible to end users. But this evolution will happen gradually, and in the meantime, understanding how gas works gives you a concrete edge in managing your costs. Use our L2 fee comparison tool to compare current costs across rollups, and check our how Ethereum works guide for deeper technical context. For understanding trading fees beyond gas — including maker/taker fees and spread — check our trading guide.

Frequently Asked Questions

Can I get a transaction with zero gas fees?+
Not on public blockchains. Every on-chain transaction requires some fee to compensate validators. However, some Layer 2 networks and sidechains have fees so low they round to fractions of a cent. Account abstraction also enables gas sponsorship, where a dApp or protocol pays your fees for you. But somewhere in the system, someone is always paying.
What is the difference between gas price and gas limit?+
Gas price is how much you pay per unit of computation (measured in gwei on Ethereum). Gas limit is the maximum number of computation units your transaction can use. Your total fee is gas price multiplied by gas used. Setting too low a gas limit can cause your transaction to fail. Setting it too high just means unused gas is refunded.
Why are Solana fees so much cheaper than Ethereum?+
Different architectures. Solana processes thousands of transactions per second with a fundamentally different consensus and execution model. Ethereum prioritizes decentralization and security, which creates more competition for limited block space. Layer 2s bring Ethereum security with Solana-like costs by batching transactions.
Do Layer 2 transactions have the same security as Ethereum?+
Rollup-based Layer 2s like Arbitrum, Optimism, and Base inherit Ethereum security because they post transaction data back to Ethereum mainnet. If the Layer 2 ever stops operating, users can still recover their funds using the data on Ethereum. This is fundamentally different from sidechains, which rely on their own validator sets.
Why did my transaction fail but I still paid gas?+
Gas pays validators for computational work, regardless of the transaction outcome. If your transaction reverts due to a smart contract error, insufficient balance, or slippage exceeding your tolerance, the validator still performed the work of attempting to execute it. The gas fee compensates that effort and is not refundable.
When is the cheapest time to send a transaction on Ethereum?+
Ethereum gas fees tend to be lowest during weekends and early morning UTC on weekdays, when fewer users are active. However, this pattern breaks during major market events, popular NFT mints, or airdrop claims. Use a gas tracker to check real-time conditions rather than relying solely on timing.
Do I need ETH to pay gas fees on Layer 2s?+
Usually yes. Most Ethereum Layer 2s use ETH for gas fees, just at much lower amounts. Some newer chains and account abstraction wallets allow paying gas in other tokens like USDC, but this is not yet universal. Solana uses SOL for fees, Cosmos chains use their native tokens, and so on.
How do gas tokens or gas refunds work?+
Gas tokens were an older mechanism where users minted tokens during low-fee periods and burned them later to get a refund. Ethereum largely eliminated this with EIP-3529 in 2021. Today, the more practical approaches to gas savings are using Layer 2s, timing transactions, and setting appropriate priority fees.