How to Check Gas Fees Before You Transact
Learn how to check gas fees before you send, swap or mint: how fees are calculated, where to find live estimates, and simple ways to avoid overpaying.
To check gas fees before you transact, look at the fee estimate your wallet shows on the confirmation screen and compare it with a live gas tracker for that network; if the cost is high relative to the amount you are moving, wait for a quieter time, use a cheaper network or bundle actions together. Gas fees are the payments users make to have their transactions processed and included in a block.
Fees can range from a fraction of a cent to many dollars depending on the network, the type of transaction and how busy the chain is. A few seconds of checking can save you from paying more in fees than the transaction is worth.
How Gas Fees Are Calculated on Ethereum
On Ethereum and most EVM chains, every operation costs a set amount of gas. A plain ETH transfer uses 21,000 gas; a token swap or NFT mint uses much more because it runs more contract code.
Since the London upgrade (EIP-1559), the price per unit of gas has two parts:
- Base fee: set automatically by the protocol according to how full recent blocks were. It is burned, not paid to validators.
- Priority fee (tip): an extra amount you add to encourage validators to include your transaction sooner.
Total fee = gas used × (base fee + priority fee)
Your wallet also sets a max fee you are willing to pay per unit. If the base fee is lower when your transaction is included, you are refunded the difference. Our explainer on what gas is in Ethereum goes deeper.
A worked example
Suppose you send ETH to a friend. The transfer uses 21,000 gas. If the base fee is 10 gwei and you add a 1 gwei tip, the price per unit is 11 gwei:
21,000 × 11 gwei = 231,000 gwei = 0.000231 ETH
Multiply that by the current ETH price, which you can check on the live coin page, to get the cost in dollars. A token swap might use several times more gas, so the same gas price produces a proportionally larger fee. These numbers are illustrative only; real base fees move with every block.
Reading Your Wallet's Fee Screen
Most wallets show a few fields before you confirm:
- Estimated fee: what the wallet expects you to pay at current conditions.
- Max fee: the most you could pay if the base fee rises before inclusion.
- Speed setting: presets that adjust the tip.
- Advanced / edit gas: lets you change the gas limit and fees manually. Leave the gas limit alone unless you know what you are doing.
If the estimated fee looks unusually large for a simple action, stop. A very high estimate can be a sign that the transaction will fail or that you are interacting with a malicious contract. For background on the project itself, see PayPal USD (PYUSD) explained.
Where to Check Gas Fees
- 1Your wallet. Before you confirm, the wallet shows an estimated fee, often with "low," "market" and "aggressive" options. This is the most relevant number because it reflects your specific transaction.
- 2Gas trackers. Block explorers and dedicated sites show current base fees and suggested priority fees. Etherscan's gas tracker is a widely used example for Ethereum.
- 3DEX and app interfaces. Many apps estimate the network cost before you sign.
- 4Network status pages. For other chains, the official explorer often shows recent fee levels.
Always compare the fee with the value of the transaction. Paying a few dollars to move a few dollars is rarely worth it. Our article How to Check a Bitcoin Transaction Status expands on this point.
Fees on Other Networks
| Network | How fees work | What to check |
|---|---|---|
| Bitcoin | Fee rate in satoshis per virtual byte; larger transactions cost more | Mempool explorers' suggested fee rates |
| Ethereum | Gas used × (base fee + priority fee), quoted in gwei | Wallet estimate and gas trackers |
| Ethereum layer 2 rollups | Execution fee plus a share of the cost of posting data to Ethereum | Wallet estimate on that network |
| Solana | Small base fee per signature plus optional priority fees | Wallet estimate; priority fees during busy periods |
| BNB Smart Chain, Polygon and other EVM chains | Gas model similar to Ethereum with different price levels | Network's explorer gas tracker |
For Bitcoin, our guide on using a mempool explorer shows how to pick a sensible fee rate.
How to Pay Less in Gas
- Time it. Network demand varies through the day and week. Non-urgent transactions can wait for quieter periods.
- Use a layer 2. Moving activity to a rollup can cut costs dramatically. See using layer 2 networks to pay lower fees.
- Batch actions. Fewer, larger transactions usually cost less than many small ones.
- Avoid unnecessary approvals. Each token approval is a separate transaction with its own fee.
- Use "low" priority when time doesn't matter. Your transaction may take longer but cost less.
- Don't panic-bid during spikes. Setting a very high tip during a frenzy is how people overpay most.
Mistakes to Avoid
- 1Holding no native token for gas. You need ETH on Ethereum and most rollups, SOL on Solana, and so on, even to move stablecoins.
- 2Setting the gas limit too low manually. The transaction can run out of gas and fail, and you still pay.
- 3Ignoring failure warnings. If a wallet predicts failure, find out why before sending.
- 4Trusting "gas refund" or "gas-free" offers from strangers. These are a common phishing lure.
- 5Forgetting the round trip. Bridging to a network and back costs fees on both sides.
Bottom line
Gas fees depend on the network, the complexity of your transaction and current demand. Check the wallet's estimate, compare it with a gas tracker, and if the cost is high relative to what you are doing, wait, batch or move to a cheaper network. Keep a small balance of the native token on every network you use so you are never stuck unable to pay.
Pertanyaan umum
Why are gas fees so high sometimes?
Gas fees rise when many people want to use the network at the same time, because block space is limited. Popular token launches, NFT mints, market crashes and airdrop claims can all cause spikes. Complex transactions, such as multi-step DeFi actions, also use more gas than a simple transfer.
Do I pay gas if my transaction fails?
On Ethereum and similar networks, yes. A failed transaction still consumed computation before it reverted, so you pay for the gas used up to that point. Wallets often warn when a transaction is likely to fail; take those warnings seriously instead of forcing it through.
What is gwei?
Gwei is a small unit of ether used to quote gas prices. One gwei equals one billionth of one ETH. Gas prices are shown in gwei per unit of gas, and the total fee is the gas used multiplied by the price per unit.
Are gas fees cheaper on layer 2 networks?
Usually, yes. Rollups bundle many transactions and post data to Ethereum together, so each user pays a smaller share. Fees on layer 2 networks still vary with demand and with the cost of posting data to Ethereum, so check the estimate there too.
