Priority Fee Calculator & Estimation Guide
Setting the right priority fee is a balance between speed and cost. Pay too little and your transaction may stall; pay too much and you waste funds. This guide covers how to calculate and estimate optimal priority fees.
Ethereum Fee Calculation
For Ethereum transactions, the recommended Max Fee formula is: Max Fee = (2 × Current Base Fee) + Desired Max Priority Fee. For example, if the current base fee is 30 GWEI and you want a 2 GWEI tip, set Max Fee = (2 × 30) + 2 = 62 GWEI. This ensures your transaction stays competitive even if six consecutive blocks are 100% full and the base fee increases by the maximum 12.5% per block.
Setting the right priority fee requires balancing confirmation speed against cost — always check current network conditions before transacting.
Solana Fee Estimation
For Solana, the priority fee in lamports = ceil(compute_unit_price × compute_unit_limit / 1,000,000). To estimate the right compute unit price, query the getRecentPrioritizationFees RPC method or use APIs like Helius's Priority Fee API, which analyzes recent slot data to recommend a percentile-based fee. For most transactions during moderate congestion, the 50th percentile fee is sufficient; for time-critical operations, use the 75th or 90th percentile.
Key factors that influence the optimal priority fee include current network congestion level, transaction urgency (DeFi liquidation vs regular transfer), competing transactions in the mempool, and time-of-day patterns. Network activity tends to peak during US and EU market hours, meaning fees are typically lower during Asian night-time hours UTC.



