Wei, gwei and ether: crypto units explained
How wei, gwei and ether relate, why gas is quoted in gwei, and why token amounts depend on decimals. Quick conversions for ETH, BNB and POL amounts.
By CRYPY2 min read
In short
- 1 ETH = 1,000,000,000 gwei = 1,000,000,000,000,000,000 wei.
- Gas prices use gwei because the numbers stay readable.
- Tokens have their own decimals: 6 for USDC on Ethereum, 18 for most others.
On this page
The units
- wei: the smallest unit. Blockchains store every amount as a whole number of wei.
- gwei: 1,000,000,000 wei (10⁹). Gas prices are quoted in gwei.
- ether (ETH): 1,000,000,000,000,000,000 wei (10¹⁸).
The same units apply to BNB on BNB Chain and POL on Polygon: 1 BNB is 10¹⁸ wei, and gas there is quoted in gwei too.
Quick conversions
- 0.001 ETH = 1,000,000 gwei
- 1 gwei = 0.000000001 ETH
- A gas price of 20 gwei × 21,000 gas = 420,000 gwei = 0.00042 ETH
Token decimals
Tokens store amounts in their own smallest unit, and each token says how many decimals it uses. Most use 18, like ETH. USDC and USDT on Ethereum use 6, so 1 USDT is stored as 1,000,000. The same token on another chain can use different decimals: USDT on BNB Chain uses 18.
Raw amounts in transaction data are in the smallest unit. Reading them with the wrong decimals makes an amount look a trillion times bigger or smaller than it is.
Convert exactly
The Unit Converter converts between wei, gwei, ETH and BNB exactly, with no rounding, including amounts in scientific notation. It runs in your browser; nothing is sent.
Questions
Why not just use ETH for gas prices?
Gas prices in ETH would be numbers like 0.000000015. Gwei keeps them readable: 15 gwei.
Where does the name wei come from?
It honours Wei Dai, a cryptography pioneer. Gwei means giga-wei: a billion wei.
Do all tokens use 18 decimals?
No. Most do, but stablecoins often use 6 on Ethereum. Always check the token's decimals before reading raw amounts.
Check it yourself with the Unit Converter
Convert between wei, gwei and ETH or BNB exactly, without rounding.
Related guides
- Gas & unitsGas fees explained: gwei, base fee and priority feeWhere your fee goes, why it changes, and how to pay less.2 min readTool: Gas Tracker
- TransactionsHow to read a transaction: from, to, value, gas and logsWhat every field on an explorer means, and where token transfers really appear.2 min readTool: Transaction Checker
- Wallet safetyChecksum addresses (EIP-55): why letter case mattersHow mixed upper and lower case letters catch typos in addresses.2 min readTool: Address Formatter