Understanding Gas Fees: What They Are and How to Save
Gas fees are the cost of doing anything on the Ethereum network. Whether you are transferring ETH, swapping tokens on Uniswap, or minting an NFT, you pay gas. Understanding how gas works helps you time transactions better and avoid overpaying.
What Is Gas?
Gas is the unit that measures the computational effort required to execute operations on Ethereum. Every action on the network — from a simple transfer to a complex smart contract interaction — requires a specific amount of gas.
Gas is priced in gwei, a tiny denomination of ETH. One gwei equals 0.000000001 ETH. Your total transaction fee is calculated as:
Transaction Fee = Gas Used × Gas Price (in gwei)
How Gas Pricing Works After EIP-1559
Since the EIP-1559 upgrade, Ethereum gas fees have two components:
- Base fee — set automatically by the network based on demand; this portion of the fee is burned (destroyed)
- Priority fee (tip) — an optional amount you add to incentivize validators to process your transaction faster
The base fee adjusts with each block. When blocks are more than 50% full, the base fee increases. When they are less than 50% full, it decreases. This creates a dynamic pricing mechanism that responds to demand in real time.
Why Gas Fees Vary So Much
Gas fees can range from under $1 to over $100 depending on several factors:
- Network congestion — popular NFT mints, token launches, or market volatility spike demand
- Transaction complexity — a simple ETH transfer uses about 21,000 gas, while a Uniswap swap might use 150,000 or more
- Time of day — US and European business hours tend to be most expensive
- Market conditions — bull markets bring more users and higher fees
Use our Gas Calculator to check current gas prices and estimate the cost of your transaction before you execute it.
Gas Costs for Common Operations
Typical gas usage for different operations:
- ETH transfer — 21,000 gas
- ERC-20 token transfer — 45,000 to 65,000 gas
- Uniswap swap — 120,000 to 200,000 gas
- NFT mint — 100,000 to 300,000 gas
- NFT marketplace sale — 150,000 to 350,000 gas
- Lending protocol deposit — 100,000 to 250,000 gas
Multiply the gas used by the current gas price in gwei to get your fee in ETH.
Strategies to Reduce Gas Fees
Time Your Transactions
Gas prices follow predictable patterns. Fees are typically lowest during weekends and late night or early morning hours in the US. If your transaction is not urgent, waiting a few hours can save significant money.
Use Layer 2 Networks
Layer 2 solutions process transactions off the main Ethereum chain:
- Arbitrum — general purpose, low fees, wide DeFi support
- Optimism — similar to Arbitrum with growing ecosystem
- Base — Coinbase-backed Layer 2 with very low fees
- Polygon — extremely low fees with broad application support
Set Custom Gas Limits
Most wallets let you manually set your gas price. For non-urgent transactions, set a lower gas price and wait for the network to process it when congestion eases.
Batch Operations
Some protocols and wallets support batching multiple operations into a single transaction, spreading the base gas cost across multiple actions.
Use Gas-Efficient Protocols
Some DeFi protocols are designed with gas optimization in mind. Compare gas costs across similar platforms before choosing where to transact.
Failed Transactions Still Cost Gas
If your transaction fails — due to insufficient gas limit, slippage errors, or other issues — you still pay the gas fee. The network consumed computational resources to attempt your transaction. To avoid wasted gas:
- Set adequate gas limits
- Use realistic slippage tolerance for swaps
- Verify contract approvals before transacting
Stay Informed on Gas Prices
Gas prices change constantly. Before any significant transaction, check current conditions using our Gas Calculator to find the optimal time to transact and ensure you are not overpaying for network fees.