How do I calculate a gas fee?+
Multiply the gas used by the price per unit of gas. Under EIP-1559 that price is the base fee plus your priority fee, capped by your max fee, so a plain ETH transfer at a 28 gwei base fee with a 2 gwei tip costs 21,000 × 30 gwei, which is 630,000 gwei, or 0.00063 ETH. The unit chain is worth holding onto: one gwei is a billionth of an ether, so gas units times gwei gives gwei, and dividing by a billion gives ether. Everything else on this page is that one multiplication plus the question of where each part of the money goes.
What is the difference between gas limit and gas used?+
The limit is the ceiling you authorise; the gas used is what the transaction actually consumes, and it is what you pay for. Unused gas is returned, so setting a limit higher than needed costs nothing, while setting it too low means the transaction runs out of gas partway, fails, and still charges you for the work done up to that point. That asymmetry is why wallets add a safety margin to their estimate. This calculator asks for gas used rather than gas limit, because that is the number that turns into money.
Why is a plain ETH transfer always exactly 21,000 gas?+
Because the protocol fixes it. 21,000 is the intrinsic cost of any transaction: signature recovery, the nonce check, the balance update, and the base overhead of getting into a block. A transfer to a normal address does nothing beyond that, so it never costs more. Sending to a contract address adds the cost of whatever code runs, and adding data to the transaction costs extra per byte, which is why an ETH transfer with a message attached is dearer than a bare one.
What is the base fee, and why is it burned?+
The base fee is set by the protocol rather than bid by users, and it moves with demand: each block adjusts it up or down by up to 12.5% depending on whether the previous block was more or less than half full. Burning it removes the incentive for the block producer to manipulate it, since inflating the base fee would earn them nothing. It also means high network activity permanently removes ETH from supply, which is the mechanism people are describing when they call ETH deflationary during busy periods.
What priority fee should I set?+
Enough to be worth including, which on a quiet network is very little. Validators order transactions by what they earn, and that is the tip, not the total. In calm conditions one or two gwei is normally plenty; during a popular mint it can be worth many times the base fee, because you are bidding against everyone else in the same block. The useful mental model is that the base fee decides whether your transaction can go in at all, and the tip decides whether it goes in first.
Why did my transaction get stuck as pending?+
Almost always because the max fee sits below the current base fee. Nobody can include it, because the base fee is not negotiable and cannot be part-paid, so it waits until the base fee happens to fall to meet it. Wallets let you fix this by replacing the transaction with the same nonce and a higher max fee. The other common cause is a nonce gap: a transaction with an earlier nonce is stuck, and everything after it has to wait its turn regardless of what it is paying.
Do L2 fees work the same way?+
The arithmetic is the same, but the pricing has two parts. An L2 charges you for execution on its own chain, which is cheap, plus a share of the cost of posting your data to Ethereum, which is not. Since the Dencun upgrade that data goes into blobs with their own separate fee market, which is why L2 fees fell sharply and why they still spike when blob space is contended. Put your L2's gas price in gwei into this calculator and the execution side is right; the data portion is a separate charge your wallet folds into the quote.
Why does the same swap cost different amounts on different days?+
The gas usage barely changes, since the code being run is the same. What moves is the price per unit of gas, and it moves a great deal: the base fee can differ by an order of magnitude between a quiet weekend and a heavily traded hour. The ladder table on this page is there to make that concrete, showing the same transaction priced from 1 gwei to 200. A smaller effect is storage: writing a value into a fresh storage slot costs 20,000 gas against 5,000 to update one, so the first time you interact with a contract is often dearer than every time after.
Does this page connect to my wallet or fetch a gas price?+
No. There is no wallet connection, no address lookup, no RPC call, and no price feed of any kind. Every number comes from what you type, and the arithmetic runs in this tab. That is a deliberate policy for this whole category rather than a missing feature: a calculator with no external dependency cannot rate-limit, cannot break when a provider changes its terms, and cannot show you a stale number as if it were live.
How do I convert gwei to ETH?+
Divide by a billion, since one gwei is 10 to the minus nine ether. So 30 gwei is 0.00000003 ETH, and 1 ETH is a billion gwei. Wei is the smallest unit, a billionth of a gwei and a quintillionth of an ether, and every fee on the chain is an integer number of wei underneath whatever your wallet chooses to display. If you need the whole ladder, including the units between them, the satoshi and gwei converter handles it exactly.