What is Gwei in Ethereum

Gwei is one billionth of an ETH, the standard unit for Ethereum gas prices. The same transfer costs 8x more at peak hours than during quiet periods.

BASICS3 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Jun 24, 2026
Contents

When you send a transaction on Ethereum, you pay a fee for it, commonly referred to as gas (payment for the network's computational work). The fees themselves are so small that it's inconvenient to record them in whole ethers, so a fractional unit called Gwei (gigawai) is used. One Gwei is equal to one billionth of an ETH, meaning 0.000000001 ETH. It is in Gwei that wallets display gas prices, and it is in this unit that it is most convenient to discuss and compare network expenses.

The cost of gas in Gwei is not fixed; it fluctuates with demand. The more people want to conduct transactions at the same moment, the higher the gas price, and the more expensive each action becomes. This unit provides all participants with a common and understandable language for discussing fees.

KEY CONCEPTS

The modern fee calculation is based on the EIP-1559 upgrade: it introduced a mechanism where the fee is divided into two parts and calculated more transparently than before.

  • Base fee: A mandatory part that the network calculates automatically based on current congestion. It is burned, meaning it is permanently removed from circulation and does not go to the validator.
  • Priority fee: An optional tip to the validator to get your transaction included in a block faster.

Both parts are still measured in Gwei, so the total gas price is the sum of the base and priority fees.

HOW IT WORKS

In addition to the gas price, there is also a gas limit, and its purpose is to protect you from unforeseen expenses. The limit sets the upper boundary for how much computational work you are willing to pay for.

If a transaction requires more gas than the set limit, it will not go through. The unpleasant part is that the gas consumed up to the stopping point will not be refunded. Conversely, if the transaction uses less gas than the limit, the unused portion is usually returned to your wallet. In other words, the limit caps the maximum, but only the amount actually required is charged.

USAGE EXAMPLES

To understand how network congestion translates into real money, let's consider a simple ETH transfer with a fixed gas limit of 21,000 units (the standard value for a regular transfer).

Network State Gas Price Transfer Fee
Quiet Hours 10 Gwei 21,000 × 10 = 210,000 Gwei ≈ 0.00021 ETH
Peak Hour 80 Gwei 21,000 × 80 = 1,680,000 Gwei ≈ 0.00168 ETH

The same transaction during peak hours costs approximately eight times more, even though the amount of work for the network hasn't changed. The base fee increases because there isn't enough block space for everyone. At such times, the user has a choice: wait for demand to subside and the price in Gwei to decrease, or increase the priority fee to get the validator to include the transaction faster.

FREQUENTLY ASKED QUESTIONS

The gas price can be set manually, but in practice, most wallets suggest it themselves, based on the current network status. This suggestion can almost always be changed: by setting a higher price, you speed up confirmation, and by choosing a lower one, you save on fees at the cost of potential waiting. Understanding what lies behind the Gwei figure helps you make this choice consciously, not randomly.

FAQ

What is Gwei in simple terms?

Gwei (gigawai) is a fractional unit of ether that is convenient for calculating network fees. One Gwei is equal to one billionth of an ETH (0.000000001 ETH). Gas prices are almost always expressed in Gwei because the fees themselves are too small to record in whole ethers.

Why does the price of Gwei constantly change?

The cost of gas in Gwei depends on the demand for block space. When there is a lot of activity in the network (token launches, NFT surges, market volatility), the base fee increases, and the same transaction becomes more expensive. During quiet hours, demand drops, and the price in Gwei decreases.

Can I set the gas price myself?

Yes. Most wallets set the price automatically based on current network congestion but allow you to change it. By setting a higher priority fee, you speed up confirmation; by setting it lower, you save money but risk waiting longer or having your transaction rejected if the base fee increases.

What happens if I set the gas limit too low?

If a transaction requires more gas than your set limit, it will fail. The gas consumed up to the stopping point will not be refunded. Therefore, it's better not to manually lower the limit and rely on the wallet's estimate.

Is unused gas refunded?

Yes. The gas limit only sets the upper bound of how much you are willing to spend. If a transaction consumes less gas than the set limit, the unused portion is usually returned to your wallet.

How is EIP-1559 related to Gwei?

EIP-1559 is an Ethereum upgrade that splits the fee into a base fee (determined by network congestion and burned) and a priority fee (a tip to the validator for speed). Both parts are still measured in Gwei; the total gas price is simply the sum of these two components.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →