Gwei

Gwei is a small unit of ether equal to one billionth of an ETH. Gas prices on the Ethereum network are usually quoted in gwei, which makes fees easier to compare than long fractions of ether.

What Ether Is Made Of

The smallest fraction of ether is called a wei: one ETH contains 10 to the 18th power of them, a billion billion. Counting in wei is awkward because the numbers are too long, so an intermediate unit is used. The prefix “giga” means a billion: 1 gwei equals a billion wei, and one ether contains a billion gwei. It is like dollars and cents, just with more divisions. Bitcoin's equivalent small unit is the satoshi, one hundred-millionth of a BTC.

Why Gwei Is Used

Gas prices are easier to write in gwei: “12 gwei” reads better than “0.000000012 ETH”. Wallets and block explorers display gas prices this way. To get the fee in ether, multiply the gas price in gwei by the gas used and divide by a billion. Historically, gas prices have ranged from fractions of a gwei in quiet periods to hundreds of gwei during frenzies, so the same operation has cost very different amounts.

Where Else It Appears

Ethereum-compatible networks also count gas in gwei, but there it is a fraction of their own coin: on BNB Smart Chain it is a billionth of a BNB, on other networks a billionth of their main coin. So “5 gwei” means different money on different networks. Reference tables also list old names for other fractions of ether, szabo and finney, but in practice people almost always use just wei, gwei and ETH itself.

Using It in Practice

Before a large DeFi operation, check the current gas price in gwei: if it is well above normal, a non-urgent operation can wait. The wallet suggests a price itself, and people rarely change it by hand. Set it too low and the transfer will wait in the queue for a long time; set it too high and you overpay. Remember that the final fee depends not only on the price in gwei but also on how much gas the operation needs.

Example

A token swap on a decentralized exchange uses a notional 150,000 gas. At a gas price of 4 gwei, the fee is 150,000 × 4 = 600,000 gwei, or 0.0006 ETH. If the price climbs to 40 gwei on a frenzied day, the same operation will cost 0.006 ETH, ten times as much.

Related terms

Ethereum GasEthereumSatoshiMempool

On the site

How to buy cryptoCryptocurrenciesBitcoin fees

This article was written by AI. Check specific rates, taxes and broker terms with primary sources.

↑ Top