Gwei

    « Back to Glossary Index

    The term gwei refers to a small denomination of ether (ETH), which is the native currency of the Ethereum blockchain.

    Along with ETH, gwei is the most commonly used denomination of Ethereum’s cryptocurrency, and it is particularly useful when talking about gas. Simply put, gas is the pricing mechanism used on the Ethereum network. Such a mechanism is responsible for calculating the fees when users perform a transaction or execute a smart contract operation.

    Specifically, a unit of gwei is defined as one-billionth (one Nano) of an ether. So 1 gwei equals 0.000000001 or 10e-9 ETH. Conversely, 1 ETH equals one billion (10e9) gwei.

    As presented on the Ethereum GitHub, there are several other denominations of ether, each representing a multiple of wei (the smallest unit of ETH).

    UnitWei ValueWeiEther Value
    Wei1 wei110e-18 ETH
    Kwei10e³ wei1,00010e-15 ETH
    Mwei10e6 wei1,000,00010e-12 ETH
    Gwei10e9 wei1,000,000,00010e-9 ETH
    Microether10e12 wei1,000,000,000,00010e-6 ETH
    Milliether10e15 wei1,000,000,000,000,00010e-3 ETH
    Ether10e18 wei1,000,000,000,000,000,0001 ETH

    To better understand the concept of gwei, we may use an analogy with the US dollar, where gwei would be equivalent to coins (cents) and ETH to dollar bills. For small purchases, it’s easier to refer to prices in cents rather than in fractions of a dollar. As such, gwei may come handy when measuring small values, and that’s the reason it is widely used when calculating the gas price.

    Although less common, gwei may sometimes be referred to as a Shannon, NanoEther or Nano. The term Shannon refers to the mathematician and cryptographer, Claude Shannon, who is known as the father of Information Theory.