Ethereum Gas Fees Explained (and How to Pay Less)
Gas fees are the part of Ethereum that confuses newcomers the most โ and the part that quietly determines how much your transactions actually cost. Whether you're sending a token, swapping on a DEX, or deploying your own ERC-20, you pay gas in ETH. This guide explains what gas is, how the fee is calculated, why it swings so much, and the practical things you can do to pay less.
What gas actually is
Every action on Ethereum โ a transfer, a swap, deploying a contract โ requires computation by the network. Gas is the unit that measures that computational work. A simple ETH transfer uses a small, fixed amount of gas; a complex DeFi interaction uses much more. Think of gas as the "how much work" number. You then pay for that work in ETH, at a price set by the market.
Gas units versus gas price
Two separate numbers combine to make your fee:
- Gas used โ how much work your specific transaction takes. A token transfer is around 45,000โ65,000 gas; a swap might be 120,000โ250,000; deploying a token contract is often 1.2โ1.6 million.
- Gas price โ how much you pay per unit of gas, measured in gwei (1 gwei = 0.000000001 ETH). This is the market-driven part and it changes minute to minute with network demand.
Your fee is essentially gas used ร gas price. The gas used is mostly fixed by what you're doing; the gas price is what fluctuates.
The EIP-1559 fee model: base fee plus tip
Since the EIP-1559 upgrade, the gas price is split into two parts:
- Base fee โ a network-wide price per gas that automatically rises when blocks are full and falls when they're empty. The base fee is burned (removed from circulation), not paid to validators.
- Priority fee (tip) โ a small extra you add to incentivise validators to include your transaction sooner. During congestion a higher tip jumps the queue.
Your wallet usually estimates both for you and lets you choose a speed (slow/normal/fast), which mostly adjusts the tip. The total you pay per gas is base fee + tip.
| Term | Meaning |
|---|---|
| Gas used | Work your transaction requires (set by the action). |
| Base fee | Auto-adjusting network price per gas, burned. |
| Priority fee | Optional tip to validators for faster inclusion. |
| Gas limit | The maximum gas you allow the transaction to use. |
| gwei | The unit gas price is quoted in (a billionth of an ETH). |
Why gas fees fluctuate so much
Ethereum blocks have a limited amount of space. When demand is high โ a popular NFT mint, a market crash, a hyped token launch โ everyone competes for that space and the base fee climbs. When activity is quiet, the base fee falls, sometimes dramatically. This is why the same swap can cost a few dollars at one hour and dozens at another. Gas is a live auction for limited block space.
What common actions cost
Because gas used is fairly predictable per action, you can estimate costs once you know the current gas price:
- Send ETH: ~21,000 gas โ the cheapest action.
- Send an ERC-20 token: ~45,000โ65,000 gas.
- Approve a token: ~45,000 gas.
- Swap on a DEX: ~120,000โ250,000 gas.
- Deploy an ERC-20 token: ~1.2โ1.6 million gas.
Multiply the gas used by the gas price (in ETH) to get your fee. At 20 gwei, deploying a 1.4M-gas token costs about 0.028 ETH; at 10 gwei it's about 0.014 ETH โ the same action, half the cost, purely because of timing.
Why deploying a token costs more
Creating a token is more expensive than sending one because contract deployment writes new code and data to the blockchain permanently. The network charges for every byte of contract code stored and every storage slot initialised (name, symbol, balances, ownership, feature flags). That's why a one-time token deployment uses over a million gas while a simple transfer uses tens of thousands. If you're launching a token, this is the single biggest cost, so timing it well matters a lot โ see how to create an ERC-20 token.
Gas limit and "out of gas"
When you send a transaction you also set a gas limit โ the maximum gas you'll allow it to consume. Wallets estimate this automatically. If you set it too low and the transaction needs more, it runs "out of gas," reverts, and โ importantly โ you still pay for the gas it used up to the failure. This is why you should trust your wallet's estimate (or add a small buffer) rather than manually lowballing the limit.
Failed transactions still cost gas
This surprises people: a transaction that reverts (for example, a swap that fails due to slippage, or a token creation that runs out of balance for the fee) still consumes the gas spent doing the work before it failed. The action doesn't complete, but the computation happened, so the gas isn't refunded. The lesson: make sure your inputs are valid and your wallet has enough ETH for fee plus gas before confirming.
How to pay less gas
You can't change how much gas an action needs, but you can control the price you pay for it:
- Time it. Gas is usually cheapest late at night and on weekends in UTC, when activity is lower. Watch a gas tracker like Etherscan's Gas Tracker and act when the base fee dips.
- Don't overpay the tip. For non-urgent actions, choose the "slow" or "normal" speed in your wallet rather than "fast."
- Batch when possible. Combining actions into fewer transactions saves the per-transaction overhead.
- Avoid peak events. Major launches and volatile market moments spike fees network-wide.
Layer-2s: the bigger lever
If low fees are a priority, Ethereum Layer-2 networks (rollups) offer the same tokens and tools at a fraction of mainnet gas โ often cents instead of dollars. The trade-off is that mainnet has the deepest liquidity and the strongest brand trust. Many projects launch on mainnet for credibility and use L2s for high-frequency activity. It's worth knowing the option exists when gas is your main concern.
Reading gas on Etherscan
On any transaction page, Etherscan shows the gas used, the gas price paid, and the total transaction fee in ETH and USD. Reviewing your past transactions there is a great way to learn what actions really cost and to spot when you overpaid. The Gas Tracker page also shows live base fee and estimated costs for common actions.
Tips specifically for token creators
If you're deploying a token, the deployment is your biggest gas expense and it only happens once, so it pays to be patient:
- Check the gas tracker and deploy during a low-fee window.
- Keep a comfortable ETH buffer above the service fee so the transaction can't fail for lack of gas.
- Remember your buyers will pay gas too when they trade โ a calm gas environment is better for your launch.
Conclusion
Gas is simply the price of using Ethereum's shared computer: a measure of work (gas used) multiplied by a market price (gas price in gwei), split into a burned base fee and an optional validator tip. Fees swing because block space is auctioned in real time. You can't reduce the work an action needs, but you can choose when to do it โ and good timing, modest tips, and an awareness of Layer-2 alternatives are the practical keys to paying less.
๐ Ready to launch your token?
Create a verified ERC-20 token on Ethereum in under 60 seconds โ no coding required.
Create Your ERC-20 Token โ