Gwei

Gwei, short for giga-wei, is a denomination of Ether equal to one billion wei, or 0.000000001 ETH. It is the unit most commonly used to quote gas prices on Ethereum and similar networks.

Ether can be split into very small pieces. The smallest unit is the wei, and one gwei equals 1,000,000,000 wei. Because the price of each unit of computation on Ethereum is a tiny fraction of one ETH, wallets and gas trackers express it in gwei so the numbers stay readable: "20 gwei" is easier to compare than "0.00000002 ETH". Under Ethereum's current fee model, both the base fee and the optional priority fee (tip) are quoted in gwei per unit of gas.

The total fee is the gas used multiplied by the price per unit. A simple ETH transfer uses 21,000 gas. At 20 gwei per unit, the fee is 21,000 × 20 = 420,000 gwei, which equals 0.00042 ETH. A token swap using 150,000 gas at the same price would cost 3,000,000 gwei, or 0.003 ETH. Wallets usually suggest a gwei setting, and some let users set a custom value. A higher price per unit generally means faster inclusion when the network is busy.

A common mistake is confusing gas with gwei. Gas measures the amount of work a transaction needs, and gwei is the price paid for each unit of that work. Gwei is also not a separate coin or token. It is simply a way of counting ETH, much as cents count dollars. A gwei figure alone does not show the cost in local currency, because that depends on the gas used and the market price of ETH at the time. Many EVM-compatible networks use the same term for fractions of their own native coin.

Learn more

Related terms