How Ethereum Gas Fees Work

Ethereum fee = gas used x (base fee + priority fee). A plain ETH transfer uses 21,000 gas; swaps use more. Learn to read gwei and pay less.

Direct answer: An Ethereum fee equals the gas your transaction uses multiplied by the price per unit of gas, which is the base fee plus an optional priority fee (tip). A plain ETH transfer uses 21,000 gas; swaps, NFT mints and DeFi actions use more because they run more code. The base fee rises and falls with demand, so the same action can cost very different amounts at different times.

Gas in plain words

Gas measures how much computing work a transaction asks the Ethereum network to do. Think of it like fuel: a short trip (sending ETH) needs little, a long one (a multi-step DeFi trade) needs more. You pay for gas in ETH, so every Ethereum wallet needs a little ETH even if you only hold tokens like USDC.

Prices are quoted in gwei. Per ethereum.org (checked 2026-11-01), 1 gwei is one-billionth of an ETH (0.000000001 ETH). Saying "the base fee is 10 gwei" is just an easier way to write 0.00000001 ETH per unit of gas.

New to Ethereum? Start with what is Ethereum and how a transaction works.

How the fee is calculated (EIP-1559)

Under the EIP-1559 fee design, each transaction has these parts:

  • Gas used - how many units the transaction actually consumed. Per ethereum.org, a standard ETH transfer needs 21,000 (checked 2026-11-01).
  • Gas limit - the most gas you allow it to use; your wallet sets this from an estimate.
  • Base fee - a per-gas price set by the network for each block. It is burned (removed from supply), not paid to anyone. It can move by at most 12.5% per block, rising when blocks are fuller than the target (half the block gas limit) and falling when they are emptier.
  • Priority fee (tip) - an extra per-gas amount paid to the validator who includes your transaction.
  • Max fee - the highest per-gas price you accept. You are refunded the difference between the max fee and base fee plus tip.

Fee = gas used x (base fee + priority fee). One more rule: the fee is paid whether the transaction succeeds or fails (ethereum.org, checked 2026-11-01).

Worked examples

The prices below are illustrative, not live; check the current base fee in your wallet or our Ethereum gas calculator.

ActionGas usedBase fee + tipFee in gweiFee in ETH
Send ETH21,00010 + 1 = 11 gwei231,0000.000231
Send ETH at a busy moment21,00040 + 2 = 42 gwei882,0000.000882
Token swap (example estimate)150,00010 + 1 = 11 gwei1,650,0000.00165
Failed swap that used 60,000 gas60,00010 + 1 = 11 gwei660,0000.00066, nothing swapped

Multiply the ETH figure by the ETH price to get the cost in your currency. The swap's gas figure is only an example: the real number depends on the contract, and your wallet shows its estimate before you sign. Notice how the same 21,000-gas transfer costs almost four times more when the base fee jumps; timing matters more than anything you control in the transaction itself.

Step by step: read and set gas in your wallet

  1. Before confirming, look at the estimated fee in ETH and in your currency, not just the gwei number.
  2. Check the network. A token on Ethereum mainnet and the "same" token on a layer 2 are different routes with different costs; see what is layer 2.
  3. If the action is not urgent, compare the current base fee with recent hours using the gas calculator or our note on the best time for Ethereum gas.
  4. Leave the gas limit at the wallet's estimate. Setting it too low makes the transaction fail and you still pay for the gas used.
  5. Use the wallet's normal priority setting. A higher tip can speed inclusion; it does not change the base fee.
  6. After sending, open the TxID in a block explorer to see gas used, base fee and burnt fees.

Common mistakes and risks

  • No ETH for gas. Tokens alone cannot pay fees on Ethereum. Keep a small ETH buffer.
  • Repeated resubmits. Sending the same action again and again during congestion can create several paid attempts. Use the wallet's "speed up" on the pending one instead.
  • Choosing a wrong network to save fees. A cheaper network is useless if the receiving exchange or wallet does not support it; funds can be delayed or lost. Check with a small test, as in first deposit and withdrawal.
  • Confusing gas with exchange withdrawal fees. Exchanges charge their own flat withdrawal fee per network; compare in withdrawal network fee total cost.
  • Unlimited approvals to save gas. Saving one approval fee is not worth the risk; see token approvals.

FAQ

Why did I pay a fee for a failed transaction?

Validators still did the computing work up to the point it failed, so the gas used is charged. Only unused gas below your limit is not charged.

Who receives the gas fee?

The base fee portion is burned, and the priority fee goes to the validator who included the transaction (ethereum.org, checked 2026-11-01).

Can I set the max fee very high to be safe?

You only pay base fee plus tip; the rest of the max fee is refunded. But a high tip is paid in full, so keep the tip normal.

Does Ethereum still use mining?

No. Ethereum moved to proof of stake on 15 September 2022 (The Merge), so validators, not miners, include transactions; see what is proof of stake.

Bottom line

Fee = gas used x (base fee + tip). The base fee is set by demand and burned; the tip goes to validators; failed transactions still pay. Check the estimate in ETH, keep some ETH for gas, avoid busy periods for non-urgent actions and never pick a network the receiver does not support. Track the bigger picture on the Ethereum hub.

Education only, not investment advice. Rules checked 2026-11-01.