What Is Gas? Understanding Crypto Transaction Fees

June 14, 2026 3 min read

Key Takeaways

  • Gas is the unit of computational work a blockchain requires to process a transaction; you pay a fee proportional to the gas used.
  • On Ethereum, the total fee equals gas units multiplied by the sum of a protocol-set base fee and an optional validator tip.
  • Layer 2 rollups and alternative L1s like Solana offer the same operations at 90-99% lower fees than Ethereum mainnet.
  • Checking a gas tracker before confirming a transaction and transacting during off-peak hours are the simplest ways to keep costs down.

Question from BitcoinTalk: “Why did I pay $50 in gas fees for a simple transfer? What is gas and how is it calculated?”

Short answer: Gas is the fee you pay to process a transaction on a blockchain. It pays miners or validators for including your transaction in a block. Higher demand = higher fees.

What Gas Actually Is

On Ethereum and similar blockchains, every operation requires computational work. Sending ETH, swapping tokens, minting NFTs — all require processing power.

Gas measures the amount of computational effort required. You pay a fee proportional to the gas your transaction uses.

Think of it like gasoline for a car:

  • You pay for the amount of “fuel” your transaction needs
  • When traffic is heavy (network congestion), prices go up
  • You can choose to pay more for a faster trip, or wait for lighter traffic

How Gas Fees Are Calculated

Total Fee = Gas Units × (Base Fee + Priority Fee)

Gas Units

The amount of computational work your transaction needs.

Transaction TypeGas Units
Simple ETH transfer21,000
ERC-20 token transfer40,000 - 65,000
Uniswap swap120,000 - 250,000
NFT mint60,000 - 150,000
Complex DeFi interaction200,000 - 500,000

Base Fee

The minimum fee required to get your transaction into a block. Set by the protocol based on network congestion. This fee is burned (destroyed), reducing ETH supply.

Priority Fee (Tip)

An optional extra fee you add to incentivize validators to prioritize your transaction. Higher tip = faster confirmation.

Gas Fee Examples

When Ethereum is calm (gas price ~20 gwei)

  • Simple ETH transfer: 21,000 gas × 20 gwei = 420,000 gwei = $0.60
  • Token swap: 150,000 gas × 20 gwei = 3,000,000 gwei = $4.20

When Ethereum is congested (gas price ~100 gwei)

  • Simple ETH transfer: 21,000 × 100 = 2,100,000 gwei = $42
  • Token swap: 150,000 × 100 = 15,000,000 gwei = $300

Gas on Different Blockchains

BlockchainFee ModelTypical Fee (Simple Transfer)Typical Fee (Swap)
Ethereum (L1)Gas (gwei)$1 - $10$5 - $100
BitcoinSat/vB$0.50 - $5N/A
SolanaLamports$0.0002 - $0.01$0.001 - $0.05
Arbitrum (L2)Gas (cheaper L1)$0.05 - $0.50$0.10 - $2
Base (L2)Gas (cheaper L1)$0.02 - $0.30$0.05 - $1
PolygonGas (MATIC)$0.001 - $0.05$0.01 - $0.10
BNB ChainGas (BNB)$0.03 - $0.30$0.05 - $1

Why Solana and L2s Are Cheaper

Solana processes thousands of transactions per second with a single global state. Less competition for block space means near-zero fees.

Layer 2s (Arbitrum, Base, Optimism) bundle hundreds of transactions together and submit them as one batch to Ethereum. Users share the cost of submitting to Ethereum, making individual fees much lower.

If you’re paying high fees, you’re probably using Ethereum mainnet directly. Use a Layer 2 instead.

Tips to Reduce Gas Fees

1. Use Layer 2s

Instead of transacting on Ethereum mainnet, use Arbitrum, Base, or Optimism. The experience is identical, but fees are 90-99% lower.

2. Transact During Off-Peak Hours

Gas fees follow predictable patterns:

  • Lowest: Weekends, late night US time (midnight - 6 AM EST)
  • Highest: Weekday afternoons US time (when US traders are active)
  • NFT mints always spike gas (avoid them)

3. Set Gas Price Manually

Instead of “fast” or “instant” settings, choose “slow” or “economy.” Your transaction will take longer but cost less.

4. Use Gas Trackers

  • ETH Gas Station — Real-time Ethereum gas prices
  • CoinGecko Gas Tracker — Shows gas across multiple chains
  • Blocknative Gas Estimator — Chrome extension with live estimates

5. Batch Transactions

If you need to do multiple operations (e.g., approve + swap), do them in a single transaction using a DEX aggregator (1inch, ParaSwap).

What Happens If You Set Gas Too Low?

Your transaction enters the mempool (a waiting area for pending transactions). Validators prioritize transactions with higher fees.

If fees are too low:

  • Your transaction remains pending indefinitely
  • You can “replace” it by sending the same transaction with a higher gas fee
  • Or you can “cancel” it by sending a zero-value transaction to yourself with a higher gas fee

On MetaMask: Click the pending transaction and select “Speed Up” or “Cancel.”

Common Misunderstandings

“Gas fees go to miners/validators” Partly true. The base fee is burned (destroyed). Only the priority fee (tip) goes to validators. This was introduced in Ethereum’s EIP-1559 upgrade.

“I was charged $100 in gas!” You weren’t charged $100 — you paid $100 worth of ETH as gas. The gas price is set in gwei (1 gwei = 0.000000001 ETH). Always check the estimated $ value before confirming.

“Gas fees on exchanges are too high” Exchange withdrawal fees are NOT gas fees. Exchanges charge a flat withdrawal fee that includes gas plus their own markup. Example: withdrawing ETH from an exchange may show a $5 fee when actual gas is $1 — the exchange keeps the difference.

Gas Fees by Chain: When to Use What

TaskBest ChainApprox Fee
Send $1,000 in ETHBase or Arbitrum$0.05 - $0.50
Swap tokensSolana or Base$0.001 - $0.10
Buy an NFTPolygon or Base$0.01 - $0.05
Use a DeFi protocolArbitrum or Optimism$0.10 - $2
Large transfer ($100K+)Ethereum L1$2 - $10
Send $5 in cryptoSolana or BNB Chain$0.001 - $0.05

Verdict

Gas fees pay for blockchain computation. They vary based on network congestion and transaction complexity.

To avoid high fees:

  • Use Layer 2s (Arbitrum, Base, Optimism) instead of Ethereum mainnet
  • Transact during off-peak hours
  • Check gas trackers before submitting
  • Don’t use Ethereum mainnet for small transactions

The good news: L2s and Solana make crypto usable again. If you’re paying more than $1 in fees, you’re likely using the wrong chain for your transaction size.

Related: What Is DeFi? | Which Crypto Wallet Should You Use? | How to Earn Interest on Crypto

Gas fee complaints are the #1 topic on BitcoinTalk’s “Altcoin” board. The solution is almost always: use a Layer 2.

Why Layer 2s are the biggest fee breakthrough

Before rollups, the only way to pay less gas was to wait for a quiet period on Ethereum mainnet. That still works — gas prices typically dip on weekends and late-night US hours — but Layer 2s changed the math entirely. Arbitrum, Base, and Optimism batch hundreds of transactions into a single Ethereum proof, splitting the L1 cost across every user in the batch. The result is that a token swap that would cost $15 on mainnet often costs $0.10-$0.50 on a rollup, with identical smart-contract logic.

Solana takes a different approach: a high-throughput single-layer chain with parallel execution, keeping per-transaction fees near zero almost all the time. The trade-off is that Solana is a separate ecosystem with its own wallets and dApps, so you bridge assets across rather than staying within the Ethereum family. For users who only need basic transfers and swaps, the fee difference alone often justifies the switch.

Common fee mistakes and how to avoid them

The most expensive mistake is ignoring gas entirely and accepting whatever the wallet suggests. Most wallets default to a “fast” or “market” setting that prioritizes speed over cost. Switching to “normal” or “low” can cut fees by 30-70% with only a modest delay in confirmation. The second mistake is transacting during obvious congestion spikes — right when a major NFT collection mints or during a flash-crash — without checking a gas tracker first. A 30-second look at ETH Gas Station or the CoinGecko gas widget would have saved the fee.

A subtler error is paying exchange withdrawal fees that far exceed the actual network cost. If you withdraw ETH from an exchange during peak hours and the exchange charges a $5 flat fee while real gas is $0.80, you have overpaid by a wide margin. Some exchanges let you choose the network at withdrawal — picking Arbitrum or Base instead of Ethereum mainnet can cut the fee by 90% or more. For users who move crypto frequently, the cumulative savings from choosing the right chain and timing are substantial.

Where gas fees are heading

Ethereum’s roadmap includes further fee reductions through proto-danksharding and continued rollup optimization. Each upgrade compresses the cost of posting data to L1, which directly lowers rollup fees. Meanwhile, competing L1s continue to push throughput higher, keeping baseline fees near zero. The long-term trend is clear: routine crypto transactions will cost fractions of a cent, and only the most complex on-chain operations will carry meaningful gas bills. In the meantime, the practical advice remains simple — use a Layer 2, check a gas tracker, and avoid Ethereum mainnet for anything that does not specifically require it.

Frequently Asked Questions

Why do Ethereum gas fees spike so dramatically?

Gas fees rise when demand for block space exceeds supply. Popular NFT mints, market volatility, or airdrops can all create sudden surges that push the base fee higher. Because Ethereum targets a fixed number of transactions per block, users compete by offering higher fees to get included first.

Do gas fees differ between blockchains?

Yes, substantially. Ethereum mainnet typically costs $1-$10 for a simple transfer, while Layer 2s like Arbitrum and Base charge cents. Solana's fees are usually fractions of a cent. Choosing the right chain for the size and urgency of your transaction is the most effective way to reduce costs.

Can I cancel a pending transaction if gas was set too low?

You can send a replacement transaction to yourself with a higher gas price and a nonce equal to the pending transaction's nonce. MetaMask and most wallets offer a Speed Up or Cancel button for this. The replacement pays a higher fee but frees the stuck funds.

Are exchange withdrawal fees the same as gas fees?

No. Exchanges bundle a flat withdrawal fee that includes the on-chain gas cost plus their own margin. The actual network fee is often much lower than what the exchange charges, which is why withdrawing to a Layer 2 or waiting for a low-gas window can save money.

PP
PaisayehPaisa Editorial Team
Financial education in plain language. Our team reviews every article for accuracy and clarity.
← Back to Crypto Answers Search all articles
This content is for educational purposes only. Not financial advice. Do your own research before investing.