Wednesday, October 14, 2026
Learn / Ethereum and smart contracts

What is gwei in crypto?

Gwei is a tiny unit of ether equal to one billionth of an ETH, used to quote gas prices for transactions on Ethereum and similar networks.

Ethereum and smart contracts Illustration: Cryptoweek

Gwei is a small unit of ether, the currency of Ethereum, equal to one billionth of one ETH. The name is short for gigawei. It exists because the amounts paid for each unit of computing work on Ethereum are tiny, and quoting them in gwei is easier than writing long decimals of ETH. When a wallet shows a gas price, it is almost always in gwei.

What is the difference between wei, gwei and ether?

Ethereum.org lists ether's denominations as powers of ten:

  • Wei is the smallest possible amount of ether. Ethereum's software does its internal arithmetic in wei.
  • Gwei is 1,000,000,000 wei (10 to the power of 9).
  • Ether (ETH) is 1,000,000,000 gwei, or 10 to the power of 18 wei.

This is similar to bitcoin, whose smallest unit is the satoshi.

How do you convert gwei to ETH?

Divide by one billion. So 1 gwei is 0.000000001 ETH, 1,000 gwei is 0.000001 ETH, and 1,000,000 gwei is 0.001 ETH. To go the other way, multiply ETH by one billion.

What does a gas price in gwei mean?

A gas fee is the amount of gas a transaction uses multiplied by the price per unit of gas. Ethereum.org gives a worked example: a simple ETH transfer uses 21,000 units of gas. With a base fee of 10 gwei and a tip of 2 gwei, the total is 21,000 times 12 gwei, which is 252,000 gwei, or 0.000252 ETH.

Under the fee system introduced by EIP-1559, the price has two parts. The base fee is set by the network and is burned, and it can move by at most 12.5% from one block to the next depending on how full blocks are. The priority fee is a tip to the validator who includes the transaction. Users can also set a maximum fee per unit of gas, and anything left between that cap and what was actually charged is refunded. Because demand changes constantly, the gas price in gwei rises and falls through the day.

What is the gas limit in Ethereum?

The gas limit is the most units of gas a transaction is allowed to use. It is a count of work, not a price, so it is not measured in gwei. A plain ETH transfer needs 21,000 units, and calling a smart contract usually needs more.

Ethereum.org explains what happens at the edges. If you set a limit of 50,000 for a simple transfer, 21,000 is used and the rest is not charged. If the limit is below what basic validation requires, the transaction is rejected and nothing is spent. If a transaction runs out of gas partway through, its changes are undone but the gas already used is still paid. That is why a failed transaction can still cost a fee, a situation also covered in insufficient funds for gas.

Blocks have a gas limit too, which caps how much work fits in one block. The network targets half of that limit, and the base fee adjusts to pull usage back toward the target.

This guide explains how things work. It is not financial, legal or tax advice. Last updated .