What Is Ethereum Gas and Why Do Transactions Need It?

Ethereum gas is the unit used to measure the computational work required to process a transaction or execute smart-contract logic. Users pay the resulting network fee in ETH, not in a separate "gas token."

Gas lets Ethereum price different kinds of operations according to how much network computation they require. A simple ETH transfer is relatively light, while token transfers, swaps and complex contract calls can use more gas.

Why Ethereum Uses Gas

Every Ethereum transaction asks the network to perform work. Gas gives that work a measurable cost and prevents unlimited computation from being executed without a fee.

The amount of gas a transaction uses depends on what it does. Sending native ETH, transferring an ERC-20 token and interacting with a decentralized application can all require different amounts of gas even when the value transferred is similar.

Gas Units and the Fee Paid in ETH

Gas units describe how much work a transaction consumes. The gas price describes how much ETH is paid per unit of gas. They are related, but they are not the same thing.

Ethereum gas fee concept illustration with ETH coin and circuit lines
TermMeaning
Gas unitsAmount of computational work used by the transaction
Gas pricePrice paid per unit of gas, commonly displayed in gwei
Transaction feeGas used × effective price per gas unit
ETHAsset used to pay the Ethereum Mainnet network fee

For a deeper explanation of the unit used to display gas prices, see What Is Gwei?.

Simple ETH Transfer Example

A basic native ETH transfer uses 21,000 gas units. That makes it a useful example for understanding how gas turns into an ETH-denominated fee.

If a simple transfer used a gas price of G gwei, a simplified estimate would be:

21,000 × G × 10^-9 ETH

The 10^-9 factor converts gwei into ETH. This 21,000-gas value should not be reused as a universal estimate for token transfers or contract interactions because those operations can require more gas.

Base Fee and Priority Fee Under EIP-1559

Ethereum's fee model separates the network's base-fee component from the optional priority component used to incentivize transaction inclusion. Wallets can also expose maximum-fee settings that cap what the sender is willing to pay.

The effective fee therefore depends on both the gas consumed and the fee parameters used for the transaction. The concepts of gas limit, gas used, base fee and priority fee are compared in detail in Ethereum Gas Limit vs Gas Price.

Who Pays Ethereum Gas?

The account that sends an Ethereum Mainnet transaction pays the network fee in ETH. The recipient does not pay gas simply because ETH arrives in the wallet.

This matters for swap routes on SwapETH.org:

  • when ETH is the source asset, the sender needs enough ETH for the amount being swapped and for the outgoing network fee;
  • when ETH is the payout asset, the recipient does not need to pay gas merely to receive the payout;
  • gas becomes relevant again if the received ETH is later sent or used in another Ethereum transaction.

What Happens Without Enough ETH for Gas?

A wallet normally cannot submit a transaction if the account does not have enough ETH to cover the required network fee. The wallet's estimate at signing time is the practical value to check before broadcasting.

A different problem occurs when a transaction is submitted with an insufficient gas limit for the work it tries to execute. The transaction can fail or revert, while gas already consumed by the attempted execution is still spent.

Common Ethereum Gas Misconceptions

Gas terminology is easy to mix together because several related values appear in wallet interfaces. The most important distinctions are straightforward.

  • Gas is not a separate cryptocurrency that has to be purchased independently from ETH.
  • Gwei is a denomination of ETH used to express gas prices, not a separate investment token.
  • Gas limit is not the same as the final fee.
  • A 21,000-gas transfer example applies to a simple native ETH transfer, not every Ethereum transaction.
  • Receiving ETH does not by itself require the recipient to pay gas.
  • A fixed gwei number in an article should not be treated as the current network price.

Check Current Ethereum Gas

Gas mechanics are relatively stable, but current gwei conditions are not. Use the live tracker for Low, Standard and Fast gas, a simple-transfer estimate and recent history.

Check the Ethereum Gas Tracker

For practical ways to reduce costs without relying on fixed "best times," see How to Reduce Ethereum Gas Fees.

Ethereum Gas FAQ

What does gas mean in Ethereum?

Gas is the unit Ethereum uses to measure the computational work performed by a transaction or smart-contract operation. The resulting network fee is paid in ETH.

How do ETH gas fees work?

A transaction consumes gas units, and each unit has an effective price. Multiplying gas used by the effective per-unit price gives the network fee paid for the transaction.

What is ETH gas used for?

It prices the computational work required to process transactions and execute smart-contract logic on Ethereum.

What happens if I run out of Ethereum gas?

If the gas limit is too low for the operation, the transaction can fail or revert and the gas consumed by the attempt can still be spent. This is different from simply having too little ETH in the wallet to fund the transaction.

How do I send a gas fee?

You normally do not send gas as a separate payment. The wallet includes the Ethereum network fee when it creates and submits the transaction, and that fee is paid from the sender's ETH balance.