How this calculation works
If the max fee covers the entered base fee, cap the effective tip at the remaining headroom. Charge the assumed gas used at that effective price. Show the gas-limit cap budget separately, since it is not necessarily the actual execution charge.
Effective tip = min(max priority fee, max fee − base fee); execution fee = gas used × (base fee + effective tip) × 10⁻⁹ ETHA worked example
At 21,000 gas used, base fee 20 gwei, max priority fee 2 and max fee 30, the modeled charge is 0.000462 ETH. A 30,000 gas limit gives a separate 0.0009 ETH cap budget.
Good to know
A scenario from entered prices, quantities and assumptions. No live prices, wallet connection, trade execution, return forecast or tax determination. Decimal arithmetic is used; displayed values are rounded. Examples are arithmetic demonstrations, not market rates or recommendations. EIP-1559 execution gas only. Does not determine intrinsic gas, all transaction validity rules or inclusion. Excludes transferred value, blob fees, layer-2 data fees and service charges. All entered gwei fees must encode whole wei.
Reference: EIP-1559: effective fee and cap rules (opens in a new tab) ↗
A fee cap is a limit, not the execution price
An EIP-1559 execution-fee scenario has a base fee, a maximum priority fee and a maximum total fee per gas. When the cap covers the base fee, effective tip is limited to the smaller of the requested priority maximum and the remaining cap headroom.
At base fee 20 gwei, max priority 2 and max fee 21, the effective tip is only 1 gwei. Charging 22 would violate the cap. At max fee 30, the full 2 gwei priority amount fits and the effective gas price is 22.
A max fee below the entered base fee cannot cover that base fee. The tool reports that fee scenario as not includable at those conditions, rather than calculating a negative tip or presenting a hypothetical charge as an actual execution.
Keep gas units, denominations and transferred value separate
Gas used is a quantity of computational resource. Gwei per gas is a price. Multiplying them gives gwei, then multiplying by 10⁻⁹ expresses the execution fee in ETH. Each entered gwei amount must encode a whole number of wei.
The gas limit times max fee is a cap budget. The difference from the modeled execution charge is not necessarily money that was debited and refunded. Unused gas and unused fee headroom must not be counted again as extra spending.
A staking reward scenario or a swap calculation can require a separate allowance for execution costs, but this tool does not determine those operations’ gas usage. It also excludes transferred ETH, blob gas, layer-2 data fees and wallet charges. Inclusion and complete transaction validity require more than the fee relationships checked here.
A few questions, answered
Does a 21,000 default mean every transfer uses that gas?
No. It is an illustrative assumed gas-used input. The tool does not inspect a transaction or estimate intrinsic/execution gas.
Can the effective tip be smaller than my maximum priority fee?
Yes. The maximum total fee can leave less headroom above the base fee.
Does this fetch today’s base fee or ETH price?
No. Both are entered values, and the model does not submit a transaction.