The receipt is smaller than the warning
A wallet displays a maximum network cost of 0.006 ETH. After the transaction, the receipt shows 0.0024 ETH. Did the wallet overcharge you and then quietly refund the difference? Usually the more useful explanation starts with two separate limits: how much computation the transaction may consume and how much it may pay per unit.
This article uses a fictional example with round numbers. It is not a live quote and does not recommend fee settings. Its purpose is to let you reconcile a confirmation screen with a receipt without treating every displayed number as an amount that must leave the wallet.
Read both axes before multiplying
Gas units measure execution work. A gas limit bounds that work; a price per gas expresses the payment for each unit. In an EIP-1559 transaction, maxFeePerGas limits the total unit price and maxPriorityFeePerGas limits the tip component. The block’s base fee consumes part of the total cap.
That creates a budget constraint. A sender cannot promise a total unit price of 25 gwei while also guaranteeing a 3 gwei tip when the base fee is 24 gwei. The cap leaves only 1 gwei of room. Whether the transaction is included also depends on network conditions and transaction validity, not merely on a reassuring label in the interface.
A fictional bill, line by line
Suppose a transaction sets a gas limit of 100,000 units, a maximum unit fee of 60 gwei and a maximum tip of 2 gwei. The displayed upper bound is 100,000 × 60 = 6,000,000 gwei, or 0.006 ETH. At execution, suppose the base fee is 28 gwei and the effective tip is 2. The effective unit price is 30 gwei.
If the receipt records 80,000 gas used, the execution fee is 80,000 × 30 = 2,400,000 gwei, or 0.0024 ETH. The difference from the cap is 0.0036 ETH. You did not buy 100,000 physical units that vanished; the cap bounded the payment. The calculation excludes transferred ETH, token amounts, application fees and any separate network-specific charge.
Why raising the gas limit is not the same as raising the bid
If a contract needs more execution work than the transaction permits, it can run out of gas. Raising the permitted work addresses a different issue from raising the unit-price cap. Conversely, a larger gas limit does not make invalid calldata, an expired deadline or a failed contract condition valid.
This is why repeatedly changing both controls makes troubleshooting harder. You lose the ability to tell whether the problem was execution capacity, price conditions or contract logic. Start with the error and receipt. A simulation is an estimate under a particular state, not a guarantee that the same state will still exist when the transaction executes.
What to save when the numbers still do not reconcile
Preserve the original quote, signed transaction fields, receipt gasUsed and effectiveGasPrice, and the network name. Compare like with like: an ETH fee, a fiat estimate and a token transfer are different quantities. A change in the ETH-to-dollar display can alter the fiat value without changing the amount of ETH charged.
For an Ethereum mainnet execution fee, multiply the receipt fields before asking where the rest went. For a rollup or a wallet that bundles actions, inspect its additional fee components and operation receipts separately. Do not transplant this simplified mainnet example into another network’s accounting formula. The goal is a reconciliation you can reproduce, not a guess based on the largest number on the first screen.



