In this track: From send to settlement
beginner · 3 MIN READ

Transaction value versus fee

The native amount sent and the cost of execution are separate.

LET’S PICTURE IT

A parcel can contain a gift while postage pays the delivery service. The value of the gift is not the postage bill.

SEE IT FOR YOURSELF
Calculate and split a manual execution feeStep 1 / 4
Calculate and split a manual execution feeGas used21,000A resource quantityGas used and gas limit are different quantitiesBase10 GweiEffective tip2 GweiTotal rate12 Gwei / gasAssumed total cap: 20 Gwei; no live prices are fetchedWork × rate21,000 × 12252,000 GweiExecution fee0.000252 ETHExact unit conversionThis calculation excludes blob and layer 2 data feesBase component0.00021 ETHBurned by protocolPriority component0.000042 ETHTo fee recipientComponents sum to the supplied 0.000252 ETH example

This example supplies twenty-one thousand gas used. It is a simple teaching input, not a live estimate of a contract call.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Value describes native asset movement

A transaction value is specified in Wei. For a simple transfer, it describes the ETH sent to the destination. In a contract interaction, the code can use the received value under its rules.

Fees pay for execution

Used gas multiplied by effective gas price determines the execution-fee component. In standard EIP-1559 accounting, that price includes a burned base fee and an effective priority fee. Other transaction or network fee components can require separate treatment.

Zero value can still matter

An ERC-20 transfer can have zero native ETH value while moving tokens through contract state. An approval can have zero value while granting a spender permission. Both can still require ETH for execution fees.

Check a sample budget

A successful simple 0.01 ETH payment with a 0.000252 ETH execution fee costs the sender 0.010252 ETH in those two components. This example assumes that simple native transfer and supplied fee values; it is not a live quote.

TURN UNDERSTANDING INTO PRACTICEOpen the Gas calculator →
QUICK CHECK · NO PRESSURE

Can a zero-value transaction still grant token spending permission?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.