DEXTAPE GUIDES

Ethereum gas fees, explained clearly

Separate the work a transaction performs from the price of that work.

By Dextape DeskUpdated 1 min read
An editorial illustration of token supply and market valuation

What you’ll learn · Beginner

  • Tell gas units and gas prices apart
  • Understand the base fee and priority fee
  • Read a fee estimate before signing

Gas measures work

Gas is a unit for the computational work a transaction requires. A gas price tells you the cost of each unit. More complex operations can require more work than a simple transfer.

Two fee components

On Ethereum, the base fee is determined by the protocol and is burned. A priority fee compensates the validator for inclusion. Wallets may let you set a maximum fee, which is a limit rather than necessarily the final cost.

An illustrative calculation

If an operation uses 21,000 gas and the combined price is 12 gwei per unit, its fee is 252,000 gwei, or 0.000252 ETH. This is an example, not a current network quote.

Before confirming

Review the wallet estimate and the network you are using. A failed transaction can still consume gas because execution work was performed. A low fee may leave a transaction waiting; raising it does not make an unsafe transaction safe.

Sources

Finished reading?

Mark it complete to track your progress through the learning paths.