Gwei

Gwei is a small unit of Ether (ETH), the native crypto asset of the Ethereum network. One gwei equals one billionth of an ether (0.000000001 ETH). The term is short for “giga-wei,” with “wei” being the smallest unit of ETH. 

What is gwei? 

Gwei is a small unit of Ether (ETH), the native cryptoasset of the Ethereum network. One gwei equals one billionth of an ether (0.000000001 ETH). The term is short for “giga-wei,” with “wei” being the smallest unit of ETH. 

Why is gwei used instead of ether? 

Gwei is primarily used to express transaction fees on the Ethereum network. Using gwei makes it easier to quote and compare gas prices without dealing with very small decimal values of ETH. 

How is gwei used in Ethereum transactions? 

When a user submits a transaction on Ethereum, they specify a gas price measured in gwei. 

  • The gas price determines how much the sender is willing to pay per unit of gas.  
  • Total gas used depends on the computational complexity of the transaction.
  • Miners or validators prioritize transactions offering higher gwei values, especially during periods of network congestion. 

The total transaction fee is calculated by multiplying the gas used by the gas price in gwei, then converting the result into ETH. 

What are noteworthy examples of gwei in practice? 

  • A simple ETH transfer may require 21,000 gas units; for example, at a gas price of 0.1 gwei, the cost is 21,000 × 0.1 gwei = 2,100 gwei = 0.0000021 ETH, which at an Ethereum price of $3,000 equals approximately $0.0063.
  • During high network demand, gas prices may rise significantly in gwei, lifting transaction costs.
  • Wallets and explorers commonly display recommended gas prices in gwei to help users estimate fees.