Gwei

Gwei is a small unit of ether equal to one billionth of an ETH, and it is the standard unit people use to measure and quote gas prices on Ethereum.

If you have ever sent a transaction on Ethereum, you have probably seen a number followed by the word "gwei" in your wallet. It looks confusing at first, but gwei is simply a tiny slice of ether that makes network fees much easier to read and compare.

Understanding gwei helps you know what you are paying before you hit confirm. Once you can read a gas price, you can spot when fees are unusually high and decide whether to send now or wait.

What Does Gwei Mean?

Gwei is a denomination of ether (ETH), the native currency of Ethereum. One gwei equals 0.000000001 ETH, or one billionth of a single ether. The name is short for "giga-wei," because one gwei equals one billion wei, and wei is the smallest possible unit of ether.

Think of it like cents and dollars. You would not say a pack of gum costs 0.0150 dollars; you would say it costs about 1.5 cents. In the same way, nobody wants to say a fee is 0.000000020 ETH per unit of gas. Saying "20 gwei" is far simpler, so gwei became the everyday unit for talking about Ethereum fees.

The Units of Ether

Ether can be divided into many smaller units, each named after a person who contributed to cryptography or digital money. Wei, for example, is named after Wei Dai, a computer scientist who proposed an early digital cash system. You will rarely see most of these units, but they help explain where gwei fits:

  • Wei: The smallest unit of ether. One ETH equals 1,000,000,000,000,000,000 wei (10 to the power of 18).
  • Gwei: One billion wei, or one billionth of an ETH. This is the unit used for gas prices.
  • Szabo and Finney: Larger units named after Nick Szabo and Hal Finney. They exist in the code but are rarely used in practice.
  • Ether: The full unit you see when you check your wallet balance or buy ETH on an exchange.

In daily use, you will mostly deal with two of these: ether for balances and gwei for fees.

How Gwei Is Used in Gas Fees

Every action on Ethereum, from sending ETH to swapping tokens or minting an NFT, uses computing power. That work is measured in units called gas, and you pay for each unit of gas in gwei. The total gas fee depends on how much work your transaction needs and how much you pay per unit.

The Basic Formula

Your fee is roughly the gas used multiplied by the price per unit of gas. A simple ETH transfer uses 21,000 units of gas. If the price is 20 gwei per unit, the fee is 21,000 times 20, which equals 420,000 gwei, or 0.00042 ETH. More complex actions, like interacting with a smart contract, use more gas and therefore cost more.

Base Fee and Priority Fee

Since the London upgrade in August 2021, the price per unit of gas has two parts. The base fee is set automatically by the network based on how busy it is, and it is burned (permanently removed from circulation). The priority fee, often called a tip, goes to the validator who includes your transaction in a block. Both parts are quoted in gwei.

Why Gwei Prices Change

Gas prices in gwei are not fixed. They move up and down with demand for space in each block, much like ride-share prices rise during rush hour.

Network Congestion

When many people want to transact at once, such as during a popular token launch or a sharp market move, the base fee climbs. When activity is quiet, it falls. This is why the same transaction can cost very different amounts at different times of day.

Transaction Complexity

The gwei price is only half the story. A swap on a decentralized exchange needs far more gas units than a simple transfer, so it costs more even when the gwei price is the same.

How to Save on Gwei Costs

You cannot control the network, but you can make smarter choices about when and how you transact. A few habits help:

  • Check before you send: Most wallets show an estimated fee in gwei and in dollars. Compare it before you confirm.
  • Wait for quieter periods: Fees are often lower when fewer people are active, such as on weekends or late at night in major time zones.
  • Use Layer 2 networks: Layer 2 networks bundle many transactions together, which can cut fees significantly.
  • Avoid unnecessary tips: A small priority fee is usually enough unless you need your transaction confirmed urgently.

If a transaction gets stuck because the gwei price you offered was too low, many wallets let you speed it up by resubmitting it with a higher fee. Some also let you cancel it before it is confirmed.

Gwei Beyond Ethereum

Many other blockchains that are compatible with the Ethereum Virtual Machine also quote gas prices in gwei, even though their native coin is different. On those networks, gwei means one billionth of that chain's native token rather than one billionth of ETH. Always check which network your wallet is connected to so you understand what you are actually paying.

FAQs about Gwei

How much is 1 gwei worth?

One gwei is always equal to 0.000000001 ETH, so its dollar value moves with the price of ether. Because it is such a tiny amount, gwei is mainly useful for measuring gas prices rather than for holding value.

Is gwei a separate cryptocurrency?

No, gwei is not a separate coin or token. It is just a smaller unit of ether, in the same way that a cent is a smaller unit of a dollar.

Why do I pay a fee even if my transaction fails?

Validators still use computing power to process a transaction that fails, so the gas used up to that point is charged. Setting realistic gas limits and double checking transaction details helps you avoid paying for failed transactions.

Ready to start your crypto journey?

Join 3.000.000+ satisfied customers.

Buy crypto

Latest articles