Blockchain knowledge
Ethereum Gas Fees: Base Fee, Priority Fee and Gas Limit
Ethereum gas measures the computational work a transaction requires. The final network fee depends on how much gas the transaction uses and the effective price paid for each unit.
Gas is not the same as ETH sent
When you send ETH, the transfer amount and the transaction fee are separate. A standard native ETH transfer between ordinary externally owned accounts typically consumes 21,000 gas. A smart-contract interaction can consume substantially more.
The gas limit is a ceiling on the work a transaction is permitted to perform. Gas used is the amount actually consumed. You should not assume that setting a higher gas limit means all of that gas will be charged.
Base fee and priority fee
With Ethereum’s EIP-1559-style transactions, the protocol sets a base fee for each block. This base fee is burned. A priority fee acts as a tip to the validator for including the transaction.
A wallet commonly displays a maximum fee per gas and a maximum priority fee per gas. The actual effective gas price can be lower than the chosen maximum. Network conditions affect the fee needed for timely inclusion.
For example, 21,000 gas at an effective 12 gwei per gas costs 252,000 gwei, or 0.000252 ETH. This is only an arithmetic example, not a current network quotation.
Why contract operations cost more
Token transfers, swaps and other contract calls execute code, read or update state, and therefore often consume more gas than a plain ETH payment. Their fees can also vary with what a contract does.
Ethereum mainnet and layer-2 networks have different execution and data-cost structures. A fee shown on one network should not be assumed to apply to another.
Reading an Ethereum transaction receipt
A transaction hash identifies a submitted transaction. Once included, the receipt reports execution information including the status and gas used. A successful inclusion does not automatically mean that every application-level expectation was met.
A reverted smart-contract transaction may still consume gas. Check the receipt status, block information, the destination contract and any token transfer events before interpreting what happened.
Pending transactions and nonce order
An Ethereum account uses sequential nonces for its transactions. If one transaction with an earlier nonce is delayed, later transactions from that account may also wait.
If a transaction stays pending, compare its fee settings to current network conditions and consult the wallet’s supported speed-up or cancel functions rather than sending arbitrary replacements.
Primary sources
For the latest network settings and exact fees, consult the protocol documentation rather than treating a guide as a live quote.
Educational information only. Not investment or financial advice. Always verify current network conditions with primary sources.