The paperExchangeCrypto WikiWikiAcademywiki.notitiaplatform.com
Sign in
● LIVE
CAC 408 347,4▼ 0.22%S&P 5007 297,1▼ 1.47%EURO STOXX6 201,5▼ 0.31%BTC/USD46 155▲ 7.70%ETH/USD1 434▲ 8.42%EUR/USD1.08▲ 0.06%BRENT91.63▲ 0.00%GOLD3 783,3▲ 0.00%OAT 10Y5.02%▼ 1.06%VIX21.67▲ 17.39%CAC 408 347,4▼ 0.22%S&P 5007 297,1▼ 1.47%EURO STOXX6 201,5▼ 0.31%BTC/USD46 155▲ 7.70%ETH/USD1 434▲ 8.42%EUR/USD1.08▲ 0.06%BRENT91.63▲ 0.00%GOLD3 783,3▲ 0.00%OAT 10Y5.02%▼ 1.06%VIX21.67▲ 17.39%
 
Europe edition
Notitia

Gas fees

Fees paid to the network to run a transaction or contract, set by demand for block space.

From wallet to blockchain
1Private keyproves ownership2Transactionsigned3Validationminers or validators4Ledgerpublic, tamper-proof

Paying for space in a block

Every operation on Ethereum uses an amount of “gas”, a unit of computation: a simple ETH transfer costs 21,000 units, a swap on a decentralised exchange much more. The price of each unit, in gwei (a billionth of an ETH), rises when many users want into the same block.

The price has a base fee, set by the protocol and burned, and a tip paid to the validator to get in faster.

Cost of an operation at 20 gwei (ETH at $3,000)
1.26 $Transfer6.00 $Mint NFT9.00 $Swap0.18 $Swap on L2
Formula
Frais = gaz consommé × (frais de base + pourboire)
1 gwei = 0.000000001 ETH
Worked example

The cost of an ETH transfer

  1. Gas used: 21,000 units.
  2. Price: 20 gwei (18 base and 2 tip).
  3. Fee: 21,000 x 20 = 420,000 gwei, i.e. 0.00042 ETH.
  4. With ETH at $3,000: $1.26.

The same transfer can cost ten times more during an activity spike.

Common mistakes

  • Setting too low a gas limit: the transaction fails and the gas used is still paid.

Questions and answers

Why are fees lower on layer 2s?

They batch thousands of transactions and write only a summary to Ethereum: the cost is shared among all.

Notitia newsroom · education, not investment advice.