> ## Content Index
> Fetch the complete content index at: https://altcoininvestor.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# What Are Gas Fees? Understanding Ethereum Transactions
- URL: https://altcoininvestor.com/what-are-gas-fees/
- Published: 2026-09-26T00:05:08.000Z
- Updated: 2026-09-26T00:05:09.000Z
- Description: Gas fees pay for block space and validator work. Learn how EIP-1559 pricing works, why fees spike during congestion, and how to reduce costs with L2s and timing.
- Author: Gwen Harper
- Tags: Crypto Basics, Ethereum (ETH), Beginner, Crypto Investing

## What Gas Fees Actually Pay For

![Blockchain validator nodes allocating computational resources to process Ethereum transactions](https://cdn.getmidnight.com/13448471d89a9cd8d7f71026a0334ec8/2026/09/ethereum-gas-fees-network-after-h2-1.webp)

Every Ethereum transaction requires computational resources to execute. Gas fees pay for those resources. Specifically, they compensate validators for processing your transaction and prevent spam attacks that would otherwise overwhelm the network. Without gas, malicious actors could flood Ethereum with infinite loops or junk transactions at zero cost. Gas makes that attack financially prohibitive.

The fee structure has two components since EIP-1559 launched in August 2021\. First, a base fee set algorithmically by the protocol. Second, a priority fee (tip) you set to incentivize faster inclusion. The base fee is burned, removed from circulation entirely. The priority fee goes directly to the validator who includes your transaction in a block.

Gas fees do not pay for computation in the abstract. They pay for block space, a scarce resource. Ethereum targets roughly 30 million gas per block against a 60 million gas limit as of August 2026\. When demand exceeds that target, the base fee rises. When demand drops below it, the base fee falls. The mechanism self-regulates to keep blocks half full.

## How Gas Prices Are Set: EIP-1559 Mechanics

![EIP-1559 base fee adjustment mechanism responding to network congestion and block utilization](https://cdn.getmidnight.com/13448471d89a9cd8d7f71026a0334ec8/2026/09/ethereum-gas-fees-network-after-h2-2.webp)

Before EIP-1559, you bid blindly in an auction. You guessed a gas price, submitted your transaction, and hoped it was high enough. If you bid too low, your transaction sat in the mempool for hours or days. If you bid too high, you overpaid. The model wasted capital and created unpredictable delays.

EIP-1559 replaced the auction with a structured fee model. The base fee adjusts block by block. When a block is more than 50% full, the base fee increases by up to 12.5% for the next block. When utilization drops below 50%, it decreases by up to 12.5%. The adjustment is capped, so the base fee cannot spike more than 12.5% between consecutive blocks. This creates predictability.

The priority fee is still user-set. During low congestion, a small tip of 0.01 to 0.1 gwei suffices. During high demand, higher tips buy faster inclusion. Validators prioritize transactions with higher tips when blocks are full. The tip is the only component you control directly.

The total cost calculation is: units of gas used × (base fee + priority fee). A simple ETH transfer uses 21,000 gas. An ERC-20 token transfer uses 45,000 to 65,000 gas because it must update the token contract's balance mapping. A Uniswap swap can use 150,000 to 200,000 gas depending on the routing and pool state. The gas used is determined by the transaction type, not by the fee you pay.

As of late 2026, base fees sit around 0.05 gwei during typical conditions. That is down from 5 to 11 gwei during 2021 congestion peaks. The same algorithmic adjustment plays out at a lower absolute level because [Layer 2 networks](https://altcoininvestor.com/what-is-layer-2-crypto/) have moved 60 to 70 percent of Ethereum transaction activity off mainnet. Less demand means lower base fees.

### Worked Example: Cost Before Signing

You want to transfer 100 USDC from your wallet to an exchange. The current base fee is 0.08 gwei. You set a priority fee of 0.02 gwei. The gas limit for an ERC-20 transfer is approximately 50,000 gas.

Total fee in gwei: 50,000 × (0.08 + 0.02) = 5,000 gwei.

Convert to ETH: 5,000 gwei = 0.000005 ETH.

Convert to USD at $3,000 per ETH: 0.000005 × 3,000 = $0.015.

The transaction costs $0.015, or about 1.5 cents. That is the calculation you run before signing. If the base fee spikes to 2 gwei and you keep the same priority fee, the cost rises to 50,000 × (2 + 0.02) = 101,000 gwei = 0.000101 ETH = $0.30\. The base fee matters more than the tip in most conditions.

## Why Gas Fees Spike: Network Congestion Mechanics

![Ethereum network congestion showing competing transactions queued for limited block space](https://cdn.getmidnight.com/13448471d89a9cd8d7f71026a0334ec8/2026/09/ethereum-gas-fees-network-after-h2-3.webp)

Gas prices rise when demand for block space exceeds the 30 million gas target. Specific events trigger congestion:

- NFT launches, especially high-profile drops where thousands of users compete to mint in the same block
- Token airdrops that require claiming transactions
- Market volatility that drives liquidation cascades in DeFi protocols
- US trading hours, particularly 14:00 to 22:00 UTC when US and European users overlap

During these spikes, the base fee can climb from 0.1 gwei to 5 gwei or higher within minutes. The 12.5% per-block cap means a sustained surge takes time to peak, but it also means the base fee does not collapse instantly when demand drops. The adjustment is gradual in both directions.

Gas prices are lowest between 02:00 and 05:00 UTC on weekends, when US and European users are least active. If you are batching transactions or moving large balances, timing them for off-peak windows can cut costs by 30 to 50 percent compared to weekday peaks.

Mempool dynamics complicate this. High-fee transactions are consistently prioritized. Low-fee transactions face delays or exclusion despite EIP-1559's intended improvements. If you set a priority fee below the prevailing rate during congestion, your transaction will sit unconfirmed until demand drops or you replace it with a higher fee.

## Layer 2 Solutions: Why They Exist and How They Reduce Fees

Ethereum mainnet is limited to roughly 30 transactions per second due to the 30 million gas target and the average gas cost per transaction. That throughput ceiling creates a scarcity bottleneck. When demand exceeds 30 TPS, fees spike. The bottleneck is structural, not a bug.

[Layer 2 networks](https://altcoininvestor.com/what-is-layer-2-crypto/) solve this by processing transactions off-chain and batching compressed data back to mainnet. They inherit Ethereum's security because the batch data is posted to mainnet and can be verified on-chain. But they avoid mainnet's per-transaction gas costs by spreading one mainnet transaction across hundreds or thousands of L2 transactions.

As of 2026, the dominant L2s are Arbitrum, Optimism, Base, Polygon, and zkSync Era. Arbitrum leads in total value locked at roughly $10 billion. zkSync offers the fastest finality. Base provides the easiest onboarding for users coming from Coinbase. Optimism powers the Superchain ecosystem, a federation of interoperable L2s.

Fee reductions are 90 to 99 percent compared to mainnet. Specific examples:

- DeFi swaps: $0.03 on Arbitrum vs. $0.50 to $2 on mainnet during typical conditions
- NFT minting: $0.05 on Arbitrum vs. $1 to $5 on mainnet
- Staking transactions: $0.02 on Arbitrum vs. $0.30 to $1 on mainnet

The Dencun upgrade in March 2024 introduced blob space via EIP-4844, a dedicated data area that reduced L2 data posting costs by around 60 percent. Blob space stores batch data from L2 networks without using conventional transaction calldata, which lowers the cost L2s pay to post data to mainnet. That cost reduction flows through to L2 users as lower transaction fees.

The trade-off is fragmentation. Each L2 is a separate execution environment. Moving assets between L2s requires bridging, which introduces delay and adds cost. If you need to [stake stablecoins for yield](https://altcoininvestor.com/passive-income-stablecoins/) on Arbitrum but your funds are on Base, you will pay bridging fees and wait for finality. The L2 ecosystem is not yet seamless.

## How to Reduce Gas Fees: Specific Strategies

First, set the gas limit correctly. The gas limit is the maximum gas you authorize for a transaction. If the transaction uses less, the unused gas is refunded. If it uses more, the transaction fails and you lose the fee paid for the gas consumed before failure. Setting the limit too high wastes nothing. Setting it too low causes failure. Wallets auto-suggest gas limits based on transaction type, and those suggestions are usually correct. Override them only if you understand the specific contract interaction.

Second, time transactions for off-peak periods. Check [Etherscan's Gas Tracker](https://etherscan.io/gastracker) or Blocknative in real time. If the base fee is above 1 gwei and your transaction is not urgent, wait. Gas prices drop reliably overnight UTC and on weekends.

Third, use L2 networks for routine actions. If you are swapping tokens, minting NFTs, or interacting with DeFi protocols, move those activities to Arbitrum, Optimism, or Base. The 90 to 99 percent fee reduction compounds quickly. A user who makes ten swaps per month at $0.03 per swap on Arbitrum pays $0.30 total. The same ten swaps on mainnet at $1 each cost $10\. Over a year, that is $3.60 vs. $120.

Fourth, batch transactions when possible. If you are moving multiple tokens or interacting with multiple contracts, batching them into a single transaction via a contract like Disperse or a batching-enabled wallet reduces the total gas cost. Each additional operation in the batch costs less than executing it as a separate transaction.

Fifth, monitor the mempool. Tools like Blocknative show pending transactions and the fee distribution. If you see a spike forming, you can delay your transaction or increase your priority fee to stay ahead of the surge. The mempool is transparent. Use it.

## What Happens to Gas: The ETH Burn Mechanism

The base fee is burned. Since EIP-1559 launched, over 4.52 million ETH has been burned through the base fee mechanism. That ETH is removed from supply permanently. It does not go to validators, does not go to the Ethereum Foundation, does not get redistributed. It is destroyed.

The burn creates deflationary pressure when the base fee times the total gas used per block exceeds the ETH issuance to validators. During high congestion periods in 2021 and 2022, Ethereum briefly became deflationary, with more ETH burned per block than issued. During low congestion, issuance exceeds burn and supply grows. The net effect depends on demand for block space.

The priority fee is not burned. It goes directly to validators as compensation for including your transaction. This is the incentive alignment. Validators earn more by including high-tip transactions. Users pay more to jump the queue. The mechanism is simple and it works.

## Edge Cases and Failure Modes

Setting the gas limit too low causes transaction failure. The transaction consumes gas up to the point of failure, then reverts. You lose the fee paid for that consumed gas. The failure does not refund the fee. This happens most often with complex DeFi interactions where the gas cost depends on contract state at execution time. If a Uniswap swap routes through multiple pools due to liquidity shifts, the gas used can exceed the wallet's auto-suggested limit. The transaction fails mid-execution.

Setting the priority fee too low during congestion causes indefinite delay. Your transaction sits in the mempool unconfirmed. It will eventually confirm if congestion drops and your fee becomes competitive again, but there is no guarantee of timing. If you need certainty, replace the transaction with a higher fee using the same nonce. Most wallets support this.

Gas price volatility during signature and broadcast creates a mismatch. You estimate the fee at 0.1 gwei base, then sign the transaction. Before it broadcasts, the base fee spikes to 2 gwei. Your transaction is now underpriced and may not confirm. Wallets that show real-time base fee updates reduce this risk, but the race condition exists.

## Gas Literacy Prevents Wasted Capital

Every on-chain income strategy requires gas literacy. If you are [earning yield on stablecoins](https://altcoininvestor.com/passive-income-stablecoins/), you will deposit and withdraw from vaults. Those transactions cost gas. If you are liquidity mining, you will claim rewards, compound positions, and rebalance. Each action costs gas. If you are minting NFTs to flip, the mint costs gas and the listing costs gas. Gas fees are overhead on every strategy.

A user who pays $2 per transaction on mainnet when the same transaction costs $0.03 on an L2 is giving up 98.5% of that capital to unnecessary overhead. Over a year of active DeFi participation, that compounds to hundreds or thousands of dollars in wasted fees. The difference between gas-literate and gas-blind execution is measurable in annual returns.

The specific literacy required:

- Knowing the gas cost of each transaction type before signing
- Understanding when to use mainnet vs. L2 for specific actions
- Timing non-urgent transactions for off-peak periods
- Setting priority fees based on current mempool state, not guesswork
- Recognizing when a transaction's gas cost exceeds its economic benefit

That last point matters most. If claiming a $5 staking reward costs $3 in gas, the net return is $2\. If you claim weekly, the annual gas overhead is $156\. If you claim monthly, the annual gas overhead is $36\. The claiming frequency is a gas optimization decision, not just a convenience preference. Gas-literate users optimize for net return after fees, not gross yield.

## The Takeaway

Gas fees exist to compensate validators and prevent spam. EIP-1559 replaced auction guesswork with a predictable base fee that adjusts block by block, capped at 12.5% per block. You control the priority fee, which buys faster inclusion during congestion. Total cost is gas used times base fee plus priority fee. Fees spike during NFT launches, airdrops, and market volatility, and drop during off-peak UTC hours. Layer 2 networks reduce fees by 90 to 99 percent by batching transactions off-chain and posting compressed data to mainnet. Gas literacy is prerequisite infrastructure for every on-chain income strategy. Users who understand gas mechanics, time transactions for low base fees, and route routine actions to L2s keep more of their yield. Users who ignore gas pay overhead that compounds to material capital loss over time. The mechanism is transparent. The data is public. Use it.

## Frequently Asked Questions

### What are gas fees on Ethereum?

Gas fees are payments required to execute transactions on Ethereum. They compensate validators for the computational resources used to process your transaction and prevent spam attacks by making network abuse financially prohibitive. Gas fees consist of a base fee (burned) and a priority fee (paid to validators). The total cost depends on transaction complexity, current network demand, and the priority fee you set.

### How are gas fees calculated?

Gas fees are calculated as: units of gas used × (base fee + priority fee). A simple ETH transfer uses 21,000 gas. ERC-20 token transfers use 45,000 to 65,000 gas. Complex DeFi interactions can use 150,000 to 300,000 gas. The base fee adjusts automatically based on network congestion, rising up to 12.5% per block when demand exceeds the 30 million gas target. You set the priority fee to incentivize faster inclusion.

### Why do gas fees spike during certain times?

Gas fees spike when demand for block space exceeds Ethereum's 30 million gas target. NFT launches, token airdrops, market volatility causing DeFi liquidations, and US trading hours (14:00 to 22:00 UTC) create congestion. When blocks are more than 50% full, the base fee increases by up to 12.5% for the next block. This continues until demand drops. Fees are lowest between 02:00 and 05:00 UTC on weekends.

### How do Layer 2 networks reduce gas fees?

Layer 2 networks process transactions off-chain and batch compressed data back to Ethereum mainnet. They spread one mainnet transaction across hundreds or thousands of L2 transactions, reducing per-transaction costs by 90 to 99 percent. Arbitrum, Optimism, Base, and zkSync Era are the dominant L2s. A swap costing $1 on mainnet costs $0.03 on Arbitrum. The March 2024 Dencun upgrade reduced L2 data posting costs by roughly 60 percent via blob space.

### What happens if I set the gas limit too low?

If you set the gas limit too low, the transaction fails mid-execution and you lose the fee paid for gas consumed before failure. The gas used up to the failure point is not refunded. This happens most often with complex DeFi interactions where gas cost depends on contract state at execution time. Setting the gas limit too high wastes nothing because unused gas is refunded. Wallets auto-suggest gas limits based on transaction type, and those estimates are usually correct.

The Weekly Yield Report

You have just decomposed gas fee mechanics, base fee adjustment, and L2 cost reductions. Those base fees will be different in six hours.

Every Thursday: where crypto yield actually is - stablecoins, liquid staking and DeFi lending, with the risk named next to the rate and what changed since last week.

[Get it free every Thursday](#/portal/signup) 

Free. No trade calls, no allocations, no hype. Unsubscribe in one click.