Gas fees explained: gwei, base fee and priority fee
What you pay when you send a transaction: gas units, gwei, the base fee and the priority fee, why fees change, rollup costs, and how to pay less.
By CRYPY2 min read
In short
- Fee = gas used × gas price. Gas measures work; the price is set by demand.
- On Ethereum and similar chains the price has two parts: a base fee (burned) and a tip.
- You pay less when the network is quiet, or on a cheaper chain.
On this page
Gas and gas price
Every action on the blockchain costs gas, a measure of how much work it needs. A simple coin transfer uses 21,000 gas; a token swap can use 100,000 or more.
You pay a gas price for each unit, quoted in gwei (one billionth of a coin). The fee is gas used × gas price, paid in the chain's own coin: ETH, BNB or POL.
Converting between wei, gwei and ether: Wei, gwei and ether explained.
Base fee and priority fee
On Ethereum and chains that work like it, the gas price has two parts:
- Base fee: set by the network for each block, rising when blocks are full and falling when they aren't. It is burned.
- Priority fee (tip): an extra amount for the validator. A higher tip usually gets you included sooner when the network is busy.
Your wallet also sets a max fee: the most you are willing to pay per unit. You pay the base fee plus your tip, never more than the max. BNB Chain has no base fee, so its gas price is simply the price.
Gas limit
The gas limit is the most gas a transaction may use. If it runs out, the transaction fails and you still pay for the gas used. Wallets estimate the limit for you; lowering it by hand rarely saves anything.
Base and Arbitrum: an extra part
Base and Arbitrum are rollups: they publish their transactions' data on Ethereum. Part of your fee pays for that, so the cost depends on Ethereum's fees too, even though the network fee itself is tiny.
How to pay less
- Send when the network is quieter: the trend in the Gas Tracker shows whether fees are rising or falling.
- Use a lower speed when you aren't in a hurry.
- Use a cheaper chain for small amounts.
- Avoid approvals and transactions you don't need.
See current fees
The Gas Tracker shows live low, average and high prices for Ethereum, BNB Chain, Base, Arbitrum and Polygon, and what a send, approval, swap or NFT transfer costs in dollars right now.
Questions
Why did I pay a fee for a failed transaction?
The network did the work up to the point it failed, and that work is paid for. See Why did my transaction fail.
Can I change the fee after sending?
Only by replacing the transaction: most wallets have a speed-up option that sends the same transaction with a higher fee.
Where does the base fee go?
It is burned, removed from circulation. The tip goes to the validator.
Check it yourself with the Gas Tracker
Current gas prices and the cost of common actions on each chain.
Related guides
- Gas & unitsWei, gwei and ether: crypto units explainedThe units behind every amount and gas price, with quick conversions.2 min readTool: Unit Converter
- TransactionsWhy did my transaction fail? Common errors in plain EnglishOut of gas, slippage, insufficient allowance and more: what each error means and what helps.3 min readTool: Transaction Checker
- TransactionsHow to read a transaction: from, to, value, gas and logsWhat every field on an explorer means, and where token transfers really appear.2 min readTool: Transaction Checker