Search looks through the written questions first. The AI only answers when nothing matches.

How do Ethereum gas fees work?

Intermediate · Updated

On Ethereum, gas is the unit that measures the work a transaction asks of the network. A plain transfer of ETH uses a small, fixed amount of gas. A call to a contract, such as a swap, uses more, because the contract runs more steps. The fee you pay is the gas actually used multiplied by the price of each unit. Since the London upgrade, that price has two parts. The base fee is set by the protocol and rises when blocks fill up; it is burned, so it is not paid to the validator. The priority fee is a tip you add so the transaction is included sooner. Your wallet asks for a maximum. If the transaction is included for less, the unused margin comes back to you.

The limit is practical. The figure on the screen is an estimate, not a promise that the transfer will be cheap. If your maximum sits below the base fee the network is charging, the transaction waits. If the transaction fails, you can still pay for the gas it used. A few congested minutes make the same contract much more expensive, and no queue tells you the fee a few hours from now. Check the units in the wallet before you sign. A misplaced decimal in the gas price is a real loss, and the fee does not come back even when the contract does not do what the page described.

Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.

Related tools

In the glossary

Articles

In the Academy: Intermediate · In the Academy · In the glossary

Related questions