Skip to content
Finality

Crypto protocol and market news

What Is Gwei? Read Your Wallet’s Gas Cost

What is gwei in simple terms? It is a tiny unit for quoting gas prices; multiply the price by gas used to work out the fee in the chain’s native coin.

The Finality Desk4 min read#bff461

What Is Gwei? Read Your Wallet’s Gas Cost

Gwei is a small unit used to quote the price of blockchain gas: on Ethereum, one gwei is one billionth of an ETH. Wallets use it because gas prices are tiny fractions of a coin, and the gwei figure can be multiplied by the gas used to estimate a transaction fee.

What gwei means

Gwei is short for gigawei: “giga” means billion, and one gwei equals 1,000,000,000 wei. Wei is the smallest unit of ETH, so one gwei is 0.000000001 ETH. Ethereum.org’s Ether denominations documentation gives these conversion values.

Think of it as quoting a small amount in cents instead of writing a long string of decimal places. Gwei is not a separate coin or a fee by itself. It is a way of expressing a gas price in a more readable unit.

Gas measures the computational work a transaction requires. The gwei price tells you how much of the chain’s native coin is charged per unit of gas. A simple transfer uses gas; a more involved transaction, such as a token swap, can use more because it requires more computation.

How to turn a gwei price into a fee

To estimate a network fee, multiply the gas used by the gas price, then convert the result from gwei into the chain’s native coin. Since one gwei is 0.000000001 ETH, divide the total gwei by one billion to get ETH.

Say a transaction uses 21,000 gas and the quoted price is 20 gwei. The calculation is 21,000 × 20 = 420,000 gwei. That equals 0.00042 ETH. The gas price is 20 gwei per gas unit; the final fee depends on both that price and the amount of gas the transaction uses.

When reviewing a Matcha swap before confirming, read the network fee as a separate cost from the tokens being exchanged. Its estimate comes from gas used × gwei price, converted into ETH or POL for the network involved. For practical checking, compare that fee in the native coin you will spend; 0x protocol relates to the exchange routing behind Matcha swap, while gwei helps you read the network cost.

Why the chain matters

Gwei is a denomination, so the coin it measures depends on the chain. On Ethereum, one gwei means a billionth of an ETH. On Polygon, gwei means a billionth of POL, the chain’s native coin. The same displayed gwei figure on those networks therefore represents a different token amount and can have a different real-world value.

Keep the network’s gas units separate from the swap’s token amounts. A swap might exchange one token for another, but the network fee is paid in the chain’s native coin. A wallet showing a fee in ETH or POL is naming the asset used to pay; a gwei figure is expressing its gas price. Neither alone tells you the total cost: you also need the gas used.

This distinction matters when comparing fees across chains. Even if two wallets show the same gwei price, they may be quoting different native coins. And even on one chain, two transactions at that price can cost different amounts if they use different amounts of gas.

Questions readers ask next

Why does the gwei price change minute to minute?

The gwei price changes as demand for transaction space changes. When more users are trying to get transactions processed, the fee required to have a transaction included can rise; when demand eases, it can fall. The wallet’s current quote is a snapshot, so it may differ by the time you submit or confirm.

What gwei price should I set for a swap?

Use the wallet’s current estimate as a starting point and check that the displayed network fee is acceptable before confirming. A lower price can affect how quickly a transaction is processed, depending on the network’s conditions. The gwei setting is only the price per gas unit, so consider it together with the estimated gas used and the total fee.

Is a lower gwei price always cheaper overall?

No. A lower price per gas unit does not guarantee a lower total fee if the transaction uses more gas. Compare the estimated fee, calculated from gas used × gwei price, and make sure you are comparing amounts in the same native coin and on the same network.

Why is gwei so much lower on Arbitrum than on Ethereum?

A gwei figure on one network is not directly comparable with the same unit on another: the native coin and the network’s fee calculation matter. Compare the final estimated fee in the asset you will pay, such as ETH, rather than judging cost from the gwei number alone.