Gwei
Gwei is a small unit of ether: one gwei is one billionth of an ETH (0.000000001 ETH). Ethereum gas prices are usually quoted in gwei.
When a wallet shows an Ethereum fee of “12 gwei”, it is not quoting the total fee. It is quoting a price per unit of gas, in a unit far smaller than one ETH. Gwei exists because whole ETH is too large a unit for fees: writing 0.000000012 ETH is awkward, while 12 gwei is easy to read. This entry explains what gwei is, how it relates to wei and ETH, and how to turn a gwei price into a fee you can understand.
- Category
- Cryptocurrency and Blockchain
- Reading time
- 5 min
- Also called
- Gigawei, Wei, Gas price
- Updated
Gwei in plain words
Ether can be split into very small pieces. The smallest piece is the wei, and one ETH equals 10¹⁸ wei.1
Gwei means giga-wei, a billion wei, so one gwei is 10⁻⁹ ETH.1 One gwei equals 1,000,000,000 wei.2
Its main job is to make gas prices readable for people.1 Under the hood, the network records transaction values and balances in wei.1
How to read a gas price in gwei
Find the gas used
Each action uses a number of gas units; a simple ETH transfer uses 21,000.2
Multiply
Fee in gwei = gas used × (base fee + priority fee).2
Convert to ETH
Divide the gwei total by 1,000,000,000, because one gwei is one billionth of an ETH.2
Convert to your currency
Multiply the ETH fee by the current ETH price to see the cost in dollars or euros.
Check before you sign
The base fee moves from block to block, so a quote can change within seconds.2
Worked examples
Example 1 — Converting units
Unit conversionA hypothetical gas price of 25 gwei, shown in wei and in ETH.
| In wei | 25 × 10⁹ = 25,000,000,000 wei |
| In ETH | 25 × 10⁻⁹ = 0.000000025 ETH |
The same price written three ways. Gwei is simply the most readable of the three.
Example 2 — Fee for a simple transfer
$0.63 feeA transfer uses 21,000 gas at a hypothetical 15 gwei (base fee plus tip). ETH is a hypothetical $2,000.
| Fee in gwei | 21,000 × 15 = 315,000 gwei |
| Fee in ETH | 315,000 gwei = 0.000315 ETH |
| Fee in dollars | 0.000315 × $2,000 = $0.63 |
The gwei figure is a price per unit of gas, not the fee. The fee also depends on how much gas the action uses.
Example 3 — Quiet vs. busy network
10× the feeThe same 21,000-gas transfer at a hypothetical 5 gwei on a quiet day and 50 gwei on a busy one.
| Quiet day | 21,000 × 5 = 105,000 gwei |
| Quiet day in ETH | 0.000105 ETH |
| Busy day | 21,000 × 50 = 1,050,000 gwei |
| Busy day in ETH | 0.00105 ETH |
A tenfold gas price means a tenfold fee for the same action. Timing matters when the network is congested.
Wei, gwei and ether
| Aspect | Value in ETH | Typical use |
|---|---|---|
| Wei | 10⁻¹⁸ | Protocol and code |
| Gwei | 10⁻⁹ | Gas prices |
| Ether (ETH) | 1 | Balances and trading |
Why gwei matters
Reading wallet fees
Wallets show the base fee and tip in gwei. See Gas Fee.
Timing transactions
Comparing the gwei price over the day helps you avoid sending during congestion.
Setting limits
You can cap the most you will pay per gas, and the unused part is refunded.2
Understanding the burn
The base fee is burned, so a higher gwei base fee means more ETH removed from supply.2 See Token Burn.
Advantages and disadvantages
Advantages
- Turns tiny ETH amounts into easy whole numbers.
- The standard way Ethereum wallets and tools quote gas prices.
- Simple conversion: one billion gwei make one ETH.
- Lets you compare network busyness at a glance.
Disadvantages
- Easy to mistake the gwei price for the total fee.
- Gas prices in gwei change from block to block.
- The cost in dollars also depends on the ETH price.
- Many decimal places when converting by hand invite errors.
Going deeper
Read as far as you need. Each level builds on the one before it.
Price per unit, not the bill
Beginner
Think of gwei like a price per litre at a petrol station. The bill depends on both the price and how many litres, here units of gas, the action uses.
Base fee, tip and max fee
Intermediate
The London upgrade of August 2021 split the gas price into a base fee and a priority fee.3 Since EIP-1559, the base fee is set by the protocol and must be paid for a transaction to be valid.2 Users add a priority fee for validators and set a max fee; anything between the max fee and base fee plus tip is refunded.2
Why the code uses wei
Advanced
Technical specifications calculate in wei, and transaction values and account balances are stored in wei.1 Integer wei avoids rounding problems; gwei and ETH are display units built on top of it.
The EIP-1559 specification shows this: it sets the starting base fee as 1,000,000,000, a number in wei that equals exactly 1 gwei.4
Common mistakes
Reading gwei as the fee
The fee is gas used × price; a token swap uses far more gas than a transfer.
Mixing up gwei and wei
One gwei is a billion wei, not a thousand.
Dropping a zero
Count decimal places carefully when converting gwei to ETH.
Assuming the quote is fixed
The base fee can change by up to 12.5% per block.2
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- One gwei is one billionth of an ETH, or one billion wei.
- Gas prices are quoted in gwei per unit of gas.
- Fee = gas used × (base fee + tip), then convert to ETH.
- The same action costs more when the gwei price is high.
- Wei is the unit the protocol uses internally.
Frequently asked questions
How much is 1 gwei in ETH?
Is a lower gwei price always better?
Does gwei apply to Bitcoin?
Further learning
- Gas Fee
How the full transaction fee is built.
- EIP-1559
The base fee and tip system behind gwei prices.
- Ethereum (ETH)
The network that uses gwei.
- Layer 1 and Layer 2
Where fees are often lower.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- ethereum.org. Intro to ether (opens in a new tab) Checked .
- ethereum.org. Ethereum gas and fees: technical overview (opens in a new tab) Checked .
- ethereum.org. Timeline of all Ethereum forks (opens in a new tab) Checked .
- Ethereum Improvement Proposals. EIP-1559: Fee market change for ETH 1.0 chain (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.