You hit swap on a $40 trade, confirm in your wallet, and watch $7 disappear before the trade even settles. That's gas: the payment you make to the blockchain network every time you send crypto, swap tokens, or touch a smart contract. It doesn't go to Coinbase or any exchange. It goes to the validators or miners who process and confirm your transaction — postage for a digital envelope, and the network won't move your funds until someone covers the cost of carrying them.
What a Gas Fee Actually Pays For
Every transaction requires computational work. Sending ETH is light work. Swapping across three liquidity pools is heavy work, and the fee scales with the effort. Two numbers produce your total, and beginners usually confuse them.
Gas units vs. gas price
Gas is measured in units. A basic ETH transfer typically uses 21,000 units; a token swap or NFT mint can chew through far more. The gas price — usually quoted in gwei, a tiny fraction of ETH — is what you pay per unit. Multiply the two and you have your total fee. When the network is busy, gas prices climb because you're bidding against everyone else for block space.
Why the same action costs different amounts
Two identical swaps can cost wildly different fees depending on timing. Sunday morning is often quieter than a major token launch. On Ethereum, the base fee adjusts automatically with demand, and you can add a priority tip to jump the queue. On Layer 2 networks like Base, fees are usually a fraction of what mainnet charges because transactions are batched before settling.
A Real Example With Real Numbers
Last spring I moved $60 of USDC from Coinbase to a wallet and swapped it for another token. The withdrawal was cheap. The swap on Ethereum mainnet ate roughly $9 of my $60 — about 15% gone before the trade settled. Had I routed the swap through a cheaper network or waited for a quiet period, that same move might have cost under a dollar.
Here's how fee sizes tend to compare across common actions, though exact numbers shift constantly with network conditions:
| Action | Rough fee feel |
|---|---|
| Simple ETH transfer | Lowest — one basic gas unit charge |
| Token swap on mainnet | Higher — multiple contract steps |
| Swap on a Layer 2 | Usually a small fraction of mainnet |
| NFT mint during hype | Can spike sharply with demand |
How to Keep Fees From Eating Your Gains
You can't eliminate gas fees, but you can stop overpaying. A few habits go a long way.
- Check a gas tracker before you transact — quiet hours really are cheaper.
- Batch your actions. One well-planned transaction beats five rushed ones.
- Use Layer 2 networks for small amounts where the fee would otherwise dwarf the value.
- Set a maximum fee you're willing to pay and let slow transactions wait.
That last point matters. Rushing a $20 transaction with a premium tip defeats the purpose. Patience is a fee strategy.
Where Coinbase fits in
Buying or holding crypto on Coinbase is different from sending it on-chain. Trades inside the exchange don't trigger network gas fees the way a self-custody wallet transaction does — Coinbase handles settlement internally. The moment you withdraw to an external wallet, network fees apply. Knowing which side of that line you're on prevents surprise charges.
Mistakes Beginners Make With Gas
The most common one: approving a contract and assuming that's the end of it. Approvals cost gas, and the actual swap costs gas again. Two fees, not one. Another: sending a tiny balance to a wallet and discovering the fee to move it out exceeds the balance itself. Stranded funds. It happens more than people admit.
Watch the network, not just the price
Crypto prices get all the attention. Fees quietly shape your real returns. A trader who ignores gas can win the trade and still lose money.
Frequently asked questions
Do I pay gas fees when I buy crypto on Coinbase?
Standard buys and sells on the exchange don't involve on-chain gas fees in the way a wallet transaction does. Coinbase may charge its own spread or commission, which is a separate thing. Gas enters the picture when you move assets to an external wallet or interact with a blockchain directly.
Why did my fee change between two identical transactions?
Network demand drives gas prices up and down constantly. The same swap at 2 a.m. can cost far less than at peak hours. Your wallet's suggested fee also depends on the speed you choose, so a "fast" setting always costs more than a "slow" one.
Can gas fees be refunded if a transaction fails?
Usually not. If a transaction fails after being processed, the network still did the computational work, so the fee is typically spent. That's why checking details before confirming — correct address, enough balance, right network — saves real money.
Before your next transaction, open a gas tracker and compare the current fee against the amount you're moving. If the fee is more than a few percent of the value, wait or switch networks.