Execution and data-related costs can be combined differently by each network.
LET’S PICTURE IT
A shipping company can combine local delivery and long-distance transport charges into one bill.
SEE IT FOR YOURSELF
Calculate and split a manual execution feeStep 1 / 4
This example supplies twenty-one thousand gas used. It is a simple teaching input, not a live estimate of a contract call.
This example supplies twenty-one thousand gas used. It is a simple teaching input, not a live estimate of a contract call.With base ten Gwei, priority cap two and total cap twenty, the effective rate is twelve Gwei per gas.Twenty-one thousand times twelve Gwei gives two hundred fifty-two thousand Gwei, or 0.000252 ETH.The base-fee component is 0.00021 ETH and is burned. The priority component is 0.000042 ETH for the block fee recipient.
Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.
Identify the network’s formula
A layer 2 can charge for its own execution and for costs related to publishing or settling data on another layer. The exact components, scalars and quoting interfaces differ across implementations.
Compression and batching affect shared costs
A rollup can aggregate transactions and publish data in a shared batch. Per-user fee allocation may therefore involve assumptions beyond the individual action’s local execution gas.
An ETH label does not make formulas identical
Two networks can denominate fees using ETH while calculating them differently. A familiar unit is not evidence that one mainnet-only arithmetic model gives the full layer 2 cost.
Use the manual tool for one component
You can explore execution inputs here while keeping additional components out of the result. For a real quote, consult the specific network’s current fee interface and documentation rather than inventing a universal live estimate.