Understanding Gas Fees: What You Pay and How to Pay Less
By moonbag.info team · · Beginner
Every time you send crypto or use an app on a blockchain, you usually pay a network fee. On Ethereum and many similar networks, this is called a gas fee. Fees can be a few cents or many dollars depending on the network and how busy it is. Understanding them helps you avoid overpaying and avoid failed transactions.
What gas is
“Gas” measures how much computing work a transaction needs on networks like Ethereum. A simple transfer uses a small, fixed amount of gas (21,000 units on Ethereum). Swaps, approvals and other smart-contract actions use more.
You pay for gas in the network’s native token, for example ETH on Ethereum. Your fee is roughly:
Fee = gas used × price per unit of gas
Gas prices are usually shown in gwei, where 1 gwei is 0.000000001 ETH.
How Ethereum-style fees work
Since an upgrade in 2021 (EIP-1559), Ethereum fees have two parts:
- Base fee. Set by the network based on demand, and burned (removed from circulation). It rises when blocks are full and falls when they’re not.
- Priority fee (tip). An extra amount to the validator to include your transaction sooner.
Your wallet usually sets both for you, often with “slow,” “normal” and “fast” options. You also set a max fee: the most you’re willing to pay per unit of gas. You’re charged the actual base fee plus your tip, up to that max.
Illustrative example. A transfer uses 21,000 gas. Base fee is 20 gwei, tip is 2 gwei. Fee = 21,000 × 22 gwei = 462,000 gwei = 0.000462 ETH. Multiply by the ETH price to get the dollar cost.
Why fees change
- Demand. Popular token launches, market crashes and big rallies all fill blocks.
- Time of day and week. Activity tends to follow global usage patterns, though this varies.
- Transaction complexity. A multi-step swap uses more gas than a simple send.
Other networks
- Bitcoin charges fees based on transaction size in virtual bytes (sat/vB), not “gas,” but the idea is similar: higher fees get confirmed faster when the network is busy.
- Layer 2 networks (rollups built on Ethereum) usually have much lower fees because they batch many transactions together. They still pay Ethereum for posting data, so fees aren’t zero.
- Other layer 1 chains have their own fee models, often cheaper but with different trade-offs.
Failed transactions still cost gas
If a smart-contract transaction fails, for example because a price moved beyond your slippage setting or you set too little gas, you usually still pay for the work done up to the failure. Common causes:
- Gas limit set too low.
- Not enough native token for the fee.
- Slippage tolerance too tight on a swap.
- The app’s conditions changed before your transaction was included.
Stuck transactions
If you set a low fee during a busy period, your transaction can wait in the “pending” pool. Many wallets let you speed up (resubmit with a higher fee) or cancel (replace with a zero-value transaction to yourself at a higher fee). Check your wallet’s options and the transaction on a block explorer.
Practical ways to pay less
- Check the fee before confirming. Your wallet shows an estimate. If it seems high, wait.
- Transact when it’s quieter. Gas trackers show current prices.
- Batch your moves. One larger transfer often costs less in total than several small ones.
- Consider a lower-fee network if both sides support it. Make sure the recipient supports that exact network. See How to Send Crypto Safely.
- Avoid unnecessary approvals. Each token approval costs gas, and unlimited approvals add risk.
- Mind small positions. A $10 fee on a $50 trade is 20%. See Position Sizing Basics.
- Always keep some native token in your wallet to pay future fees, including fees for moving funds out later.
Gas fees and taxes (US, general)
Fees can generally be added to your cost basis when you buy or subtracted from proceeds when you sell. How fees on transfers between your own wallets are treated is less clear-cut. Keep records and consult a tax professional.
Scams involving fees
- “Pay a fee to unlock your withdrawal.” Legitimate platforms deduct fees from the withdrawal; they don’t ask you to send more crypto to a separate address first.
- Fake gas refund sites asking you to connect your wallet and sign.
- Airdropped tokens that require you to approve a contract to “claim” them. These are often drainers. See How to Spot Crypto Scams.
Common mistakes
- No native token for gas, leaving other tokens stuck.
- Setting gas too low in busy times, leaving transactions pending.
- Ignoring fees on small trades.
- Paying “fast” fees when there’s no rush.
- Using the wrong network to save fees without checking the recipient supports it.
Key takeaways
- Gas fees pay for network work and are priced in the native token.
- Ethereum-style fees combine a base fee and a tip, with a max fee you set.
- Failed transactions still cost gas.
- Check, wait, batch and choose networks carefully to pay less.