For educational purposes only; not transaction, security or investment advice. Fees and inclusion depend on the exact chain, transaction type, block conditions, wallet, RPC, relay, builder and validator behavior.
Direct answer
On Ethereum, a priority fee, or tip, is the execution-gas amount per unit that remains for the block’s fee recipient after the protocol burns the base fee. In a type-2 EIP-1559 transaction, maxPriorityFeePerGas is only a cap: the realized priority fee per gas is min(maxPriorityFeePerGas, maxFeePerGas - baseFeePerGas), and the effective gas price is the base fee plus that realized priority fee.
A larger competitive tip can improve the chance of timely inclusion, but it does not guarantee the next block, a particular ordering or successful execution. The transaction must still be valid, its total fee cap must cover the inclusion block’s base fee, and builders or validators may consider private order flow, bundles, MEV, local policy and other constraints. Terminology and fee rules differ on other chains and L2s, so do not transplant Ethereum’s formula without checking that network.
- Fiat equivalent
- $1.39
- Base fee
- 22 gwei
Outputs are educational approximations. They exclude venue rules, taxes, latency, oracle behavior, and other protocol-specific parameters unless shown.
How it works
- Pin the chain, transaction type, sender, nonce, intended calldata, gas limit, current head and submission route. Type-2 transactions expose
maxPriorityFeePerGasandmaxFeePerGas; legacy transactions expose onegasPrice, whose amount above the base fee becomes the effective priority portion when included after EIP-1559. - Estimate conditions rather than copying one static tip. A wallet or RPC can use recent blocks, pending demand and
eth_feeHistory; its reward percentiles describe historical effective priority fees weighted by gas used, not a promise for the next block. - Set two distinct caps.
maxPriorityFeePerGaslimits the requested tip, whilemaxFeePerGaslimits base fee plus tip. Unused gas and unused cap headroom are not charged merely because the caps were authorized. - At a candidate block, require
maxFeePerGas >= baseFeePerGas. Then calculateeffectivePriorityFeePerGas = min(maxPriorityFeePerGas, maxFeePerGas - baseFeePerGas)andeffectiveGasPrice = baseFeePerGas + effectivePriorityFeePerGas. - Treat the tip as an inclusion incentive, not an ordering contract. A block builder can optimize total block value, bundles and validity constraints rather than sort every public transaction by tip; a zero or low tip may still be included, while a high tip may still wait or fail.
- After inclusion, reconcile the receipt and block. Record
gasUsed, receipteffectiveGasPrice, blockbaseFeePerGas, status, block hash and confirmation depth. Derive the execution fee asgasUsed * effectiveGasPriceand the priority portion asgasUsed * (effectiveGasPrice - baseFeePerGas). - If a transaction remains pending, reassess the base-fee ceiling and route before replacing it. Same-sender, same-nonce replacement is client and pool policy, often requires bumps to multiple fee fields, and creates a race; a wallet’s Cancel action cannot reverse a transaction already included.
Worked examples
- Tip below both caps. Gas used is
70,000, base fee is25 gwei, max priority fee is3 gwei, and max fee is40 gwei. The realized priority fee ismin(3, 40 - 25) = 3 gwei; effective gas price is28 gwei. The execution fee is70,000 * 28 gwei = 0.001960 ETH, split into0.001750 ETHburned and0.000210 ETHcredited as the priority portion. - Total cap binds. Keep caps at
3/40 gwei, but let the inclusion-block base fee reach38 gwei. The realized priority fee falls tomin(3, 40 - 38) = 2 gwei, so effective gas price is40 gwei. At a41 gweibase fee, the transaction cannot be included under that40 gweimax fee even though its requested tip is high. - Estimate is not a guarantee. If recent
eth_feeHistorypercentiles suggest2 gwei, that observation is a starting point. A sudden burst of demand, a private bundle, an RPC’s limited view or a builder’s policy can change inclusion outcomes; verify the actual receipt instead of treating the estimate as a service-level promise.
Risks
- Using the wrong chain, fee token, transaction type or units such as wei, gwei and ETH.
- Treating
maxPriorityFeePerGasas the amount necessarily paid. - Forgetting that a rising base fee can squeeze the realized tip or make the transaction ineligible under
maxFeePerGas. - Assuming the highest visible tip guarantees first position or next-block inclusion.
- Relying on stale wallet, RPC or fee-history estimates during rapidly changing demand.
- Overpaying because the wallet exposes aggressive defaults or because caps are confused with actual cost.
- Believing a high tip repairs invalid calldata, insufficient gas, a revert, an expired deadline or a malicious contract.
- Ignoring private relays, bundles, MEV, censorship and builder or validator policy.
- Replacing the wrong nonce, failing a pool’s bump rule or sending conflicting value-bearing transactions.
- Reading a pending label as global truth, or treating one confirmation as finality.
- Applying Ethereum’s execution-tip formula to an L2 or another chain with different fee components and recipients.
Common misconceptions
- The max priority fee is always paid. It is a cap; the total fee cap can reduce the realized tip.
- A higher tip guarantees success. It may improve inclusion competitiveness but cannot guarantee ordering, execution success or finality.
- The max fee is an extra charge on top of base fee and tip. It is the ceiling that covers both for type-2 execution gas.
- Unused gas or fee-cap headroom is spent. Actual execution charges use receipt gas used and effective gas price.
- Every network uses Ethereum’s priority-fee mechanics. L2s and other chains can have additional or different fee markets, sequencer policies and recipients.
Related topics
- EIP-1559 base fee
- Gas and transaction fees
- Mempools and transaction pools
- Ethereum transaction replacement
- Account nonce
Sources
- Ethereum gas and fees: technical overview - Ethereum.org (accessed: 2026-08-21)
- Transactions - Ethereum.org (accessed: 2026-08-21)
- EIP-1559: Fee market change for ETH 1.0 chain - Ethereum Improvement Proposals (accessed: 2026-08-21)
- eth_feeHistory - Ethereum Execution APIs (accessed: 2026-08-21)