Skip to main content
answer

What is a Gas Fee?

· Editorial Team · · ~4 min read

Gas Fee A fee paid in a blockchain's native token (e.g., ETH on Ethereum) to execute transactions or smart contracts, compensating validators for computational resources and securing the network against spam.

How It Works

01 Every blockchain operation consumes a measured amount of "gas" — a unit representing computational work.
02 Users set a gas price (gwei on Ethereum) they are willing to pay per unit; validators prioritize higher-paying transactions.
03 The total fee = gas used × gas price. Complex smart contract interactions cost more than simple transfers.
04 Since EIP-1559, Ethereum fees split into a base fee (burned) and a priority fee (tip to validators).

Why It Matters

Gas fees prevent spam and infinite loops by making computation expensive, securing the network.
They compensate validators for the hardware and capital costs of securing the chain.
Gas markets make network resources scarce, prioritizing the most valuable transactions during congestion.
High gas fees have driven the growth of Layer 2 networks (Optimism, Arbitrum) and alternative L1s.

Common Questions

Why are Ethereum gas fees so high?

Gas fees rise during network congestion — when demand for block space exceeds capacity. Layer 2s and sharding aim to reduce fees.

How can I pay lower gas fees?

Transact during off-peak hours, use Layer 2 networks (Arbitrum, Optimism), or use alternative chains like Solana and Polygon.

What is gwei?

Gwei is a subunit of ETH equal to 0.000000001 ETH. Gas prices on Ethereum are quoted in gwei.

Do failed transactions still cost gas?

Yes. Gas is paid for computation, not success. If a transaction reverts, the validator still charges for the work done up to the failure point.

References

  1. https://ethereum.org/en/developers/docs/gas/
  2. https://www.coinbase.com/learn/crypto-basics/what-are-gas-fees
  3. https://www.investopedia.com/terms/g/gas-fee.asp

Related Guides

Educational content · Not financial advice · Trade at your own risk