Gwei
Gwei is a denomination of Ether (ETH), the native currency of the Ethereum network. Since standard Ether is too large for most transaction fee calculations, the network uses Gwei (short for giga-wei) to measure gas prices. One Gwei is equal to one-billionth of an Ether (10^-9 ETH). It serves as the standard unit for expressing the cost of computational effort required to process transactions and execute smart contracts, allowing for precise fee management.
Explain Like I'm 12
Think of Gwei like cents to a dollar. If Ether is the dollar, Gwei is the small change you use to pay the 'toll' on the Ethereum highway. It is much easier to say a fee is 20 Gwei than saying it is 0.000000020 Ether.
Why It Matters
Gwei allows users and wallets to easily understand and adjust transaction costs in real-time. It provides the granularity needed to ensure that network traffic remains manageable during periods of high demand.
How It Works
Users specify how many Gwei they are willing to pay per unit of gas when sending a transaction. The network prioritizes transactions with higher Gwei bids. The total cost is determined by multiplying the gas limit (computational effort) by the Gwei price.
Real-World Example
During a busy NFT drop, users might increase their Gwei tip to ensure their transaction is included in the next block before others.
Advantages
- Precise cost estimation
- Standardized unit for gas pricing
- Easier to manage small denominations
Limitations
- Can be confusing for beginners
- Fluctuates rapidly based on demand
- High Gwei makes micro-transactions difficult
Common Misconceptions
- Some believe Gwei is a separate cryptocurrency, but it is just a tiny fraction of Ether.
- Many confuse gas limit with gas price (Gwei), but they serve two different purposes in fee calculation.
Knowledge Explorer
Explore This Concept in the Knowledge Graph
See how Gwei connects to other concepts, books, research, and developer resources.
Related Terms
Base Fee
The protocol-determined minimum fee component under fee-market designs such as Ethereum's EIP-1559.
Ether
Ether (ETH) is the native cryptocurrency of the Ethereum blockchain. It functions not only as a digital asset that acts as a store of value but also as the primary fuel that powers the network. ETH is required to pay for transaction fees, known as gas, and serves as a medium of exchange for decentralized applications (dApps) built on Ethereum. Unlike Bitcoin, which primarily functions as digital gold, Ether is programmable money, deeply integrated into the operational logic of the Ethereum network’s smart contracts.
Gas
Gas is the unit used to measure the computational effort required to execute operations on the Ethereum network. Since every operation—such as writing to storage, performing math, or sending tokens—consumes computing resources, gas ensures that network participants are compensated for their work. Users must pay for this gas in Ether, which prevents spam and ensures that infinite loops or resource-intensive tasks cannot clog the network, as the execution will fail once the provided gas is exhausted.
Priority Fee
An optional fee component paid to a block producer or validator to encourage transaction inclusion.
Transaction Fee
A transaction fee is a payment made by a user to network participants (miners or validators) to prioritize and include their transaction in a block. These fees incentivize network security by rewarding validators for the computational resources spent processing data. In many chains, fees also serve as a spam prevention mechanism, making it computationally and financially expensive for malicious actors to flood the network with useless traffic.