Premium apps

RavingDesk Ethereum EIP-1559 Gas Fee Estimator

Estimate an Ethereum transaction fee from gas used, base fee, max fee and priority tip (EIP-1559).

21,000 for a plain ETH transfer; contract calls use more.

gwei
gwei
gwei
More options

Quote-currency units per 1 ETH, e.g. 3000. Leave empty for ETH only.

Try an example: Plain ETH transfer: 21,000 gas, base 30, max 50, tip 2 gwei, ETH at 3,000 · Token swap: 150,000 gas, limit 200,000, base 12 gwei · Max fee below the base fee: not includable

More about this tool

How it works

Applies the EIP-1559 fee rules to the numbers you enter: effective gas price (base fee plus a priority tip capped by the max fee), the estimated execution fee for the gas used and the maximum fee you authorise (gas limit × max fee), optionally converted at your own ETH price. It flags a max fee below the base fee. No network data is fetched; it is the gas estimator of the RavingDesk workspace.

  • EIP-1559: the effective gas price is min(max fee, base fee + max priority fee). A transaction whose max fee is below the current base fee cannot be included until the base fee falls.
  • Estimated execution fee = gas used × effective gas price; the base-fee part (gas used × base fee) is burned and the rest is the validator tip.
  • Maximum fee = gas limit × max fee: the most the transaction can cost; unused gas is not charged.
  • 1 ETH = 10⁹ gwei. Quote amounts use the ETH price you enter. Layer-2 data fees, blob fees and the transferred value are not included.

Estimate from your own numbers; base fees change every block and inclusion is not guaranteed. Not financial advice; no transaction is created or sent.

Sources

Part of RavingDesk

Related tools

How to use the RavingDesk Ethereum EIP-1559 Gas Fee Estimator

Work out the effective gas price, the expected fee and the maximum fee of an Ethereum transaction from gas used, base fee, max fee and tip.

What it is for

Since EIP-1559, an Ethereum transaction does not pay a single gas price. Each block has a base fee that is burned; you add a priority fee (the tip) for the validator and set a max fee as the ceiling you are willing to pay per unit of gas. Wallets show these numbers, but it is easy to confuse what you will pay with what you authorise.

This estimator applies the EIP-1559 rules to the numbers you enter: gas used, gas limit, base fee, max fee and max priority fee in gwei, and optionally your own ETH price. It shows the effective gas price, the estimated execution fee, the maximum fee and how the estimated fee splits into the burned part and the tip.

It is the gas estimator of the RavingDesk workspace. It fetches no network data and creates no transaction.

Worked example

A token approval uses about 65,000 gas; you set a gas limit of 80,000. The current base fee is 8 gwei, your max fee is 15 gwei, your tip 1 gwei, and you value ETH at 2,500.

Worked example
ResultValue
Effective gas price9 gwei
Estimated fee0.000585 ETH (1.46 at your ETH price)
Maximum fee0.0012 ETH (3.00 at your ETH price)
Burned (gas used × base fee)0.00052 ETH
Priority tip to the validator0.000065 ETH
Unused allowance (not charged)0.000615 ETH

The effective price is the base fee plus the tip, 9 gwei, because that is below your 15 gwei max fee. 65,000 × 9 gwei = 0.000585 ETH. The maximum you authorise is the gas limit times the max fee: 80,000 × 15 gwei = 0.0012 ETH. Unused gas and the gap to the max fee are not charged.

How to read the result

  • Effective gas price = the smaller of max fee and base fee + tip.
  • Estimated fee is what the transaction costs if it uses the gas you entered at the current base fee.
  • Maximum fee is the worst case you sign for; your wallet must hold at least this much ETH in addition to any value you send.
  • If the max fee is below the base fee, the effective price shows a dash and a warning says the transaction is not eligible for inclusion until the base fee falls.

Tips and common mistakes

  • A plain ETH transfer uses exactly 21,000 gas; contract calls such as swaps use much more (the swap example uses 150,000).
  • Leave headroom in the max fee: the base fee can rise from block to block.
  • A higher tip only helps when blocks are full; it does not lower the burned part.
  • Gwei is a billionth of an ETH — 1,000,000,000 gwei make 1 ETH.
  • Layer-2 networks add a data fee that this estimator does not include.

FAQ

Why does my wallet reserve more ETH than the fee I pay?

It reserves the maximum fee (gas limit × max fee). The unused part is never charged.

What happens in the "max fee below the base fee" example?

With a 35 gwei max fee and a 40 gwei base fee the transaction cannot be included now; it would authorise at most 0.000735 ETH.

Does the estimator know the current base fee?

No. Enter the base fee your wallet or a block explorer shows; it changes every block.

Is the transferred value included?

No. Only the execution fee is estimated; add the amount you send yourself.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://ravingdeskethgas.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://ravingdeskethgas.usefulweb.site/mcp · tool name ravingdesk_eth_gas
Example request
curl -s -X POST https://ravingdeskethgas.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"gasUsed":21000,"gasLimit":30000,"baseFeeGwei":30,"maxFeeGwei":50,"maxPriorityFeeGwei":2,"ethQuoteRate":3000}'
Feedback · ideas & bug reports welcome