Why Did I Just Pay $47 for a Token Swap?
If you have ever used Ethereum, you have experienced the gas fee shock. You want to swap $100 worth of tokens and the network wants $47 just to process the transaction. During peak demand, fees can spike even higher.
Understanding how gas works is the difference between overpaying and saving hundreds of dollars per year in transaction costs.
What Is Gas?
Gas is the unit that measures the computational effort required to execute operations on the Ethereum network. Every action — sending ETH, swapping tokens, minting NFTs, interacting with smart contracts — requires gas.
Think of gas like fuel for a car. Different actions require different amounts of fuel:
How Gas Prices Work
The total fee you pay is: Gas units used x Gas price (in Gwei)
Gas price is measured in Gwei (1 Gwei = 0.000000001 ETH). This price fluctuates based on network demand.
After EIP-1559, Ethereum gas has two components:
When the network is busy, the base fee goes up. When it is quiet, it goes down. This is why the same transaction can cost $2 on a Sunday morning and $50 on a Tuesday afternoon.
When Is Gas Cheapest?
Gas prices follow predictable patterns based on global usage:
Cheapest Times (UTC)
Most Expensive Times (UTC)
Strategies to Save on Gas
1. Time Your Transactions
If your transaction is not urgent, wait for a low-gas period. Checking a gas tracker before transacting can save 50-80% on fees.
2. Set a Max Gas Price
Most wallets let you set a maximum gas price. If you are willing to wait, set a lower max and your transaction will execute when prices drop to your level.
3. Batch Transactions
Some protocols and tools let you batch multiple operations into a single transaction. Instead of three separate swaps (3x gas), you do one batched transaction (1x gas plus a small overhead).
4. Use Layer 2 Networks
This is the biggest gas saver available. Layer 2 networks like Arbitrum, Optimism, Base, and zkSync process transactions off Ethereum mainnet and settle them in batches.
The savings are dramatic:
| Action | Ethereum L1 | Arbitrum | Base |
|---|---|---|---|
| Token swap | $5-50 | $0.05-0.30 | $0.001-0.01 |
| ETH transfer | $1-10 | $0.01-0.05 | $0.001 |
| NFT mint | $5-30 | $0.10-0.50 | $0.01-0.05 |
5. Use Gas Tokens and Refunds
Some protocols offer gas refunds or optimized transaction routing that reduces the gas consumed by your operations.
Layer 2s: The Real Solution
For most users, the best gas strategy is simple: stop using Ethereum mainnet for everyday transactions. Bridge your assets to an L2 and do everything there.
The major L2s (Arbitrum, Optimism, Base, zkSync) have mature DeFi ecosystems with the same protocols you use on mainnet. The experience is identical, but the fees are 10-100x lower.
How to Bridge to L2
Tracking Gas Spending
Most people have no idea how much they have spent on gas over the lifetime of their wallet. It is often a shocking number.
Folio includes gas analysis as part of its portfolio tracking. When you scan your wallet, Folio calculates your total gas spent across all transactions on all supported chains. This number is deducted from your PnL, giving you a more accurate picture of your real profits.
The built-in gas tracker also shows current gas prices across supported networks, helping you decide when and where to transact.
The Bottom Line
Gas fees are a real cost that directly impacts your returns. Ignoring them means overpaying and miscalculating your PnL. A few simple habits — timing transactions, using L2s, and monitoring gas prices — can save you hundreds or thousands of dollars per year.
Start tracking with Folio — it's free.