1 ETH equals 1,000,000,000 gwei and 10^18 wei. ethereum.org defines wei as 10^-18 ETH, the smallest amount of ether and the unit contracts and transactions count in, and gwei as 10^-9 ETH, the unit gas fees are quoted in. Converting between them only moves the decimal point: 9 places between gwei and ETH, 18 between wei and ETH. The converter below does it both ways and adds the dollar value at the live ETH price.
Exact to the last wei: wei, gwei and ETH are converted with whole-number math, no rounding. 1 WETH uses the same 18 decimals as 1 ETH.
- The scale: 1 ETH = 10^9 gwei = 10^18 wei; 1 gwei = 10^9 wei (ethereum.org).
- Wei to ETH: divide by 10^18. Gwei to ETH: divide by 10^9.
- Gwei to USD: gwei x ETH price / 10^9. At $3,000 per ETH, 1 gwei is $0.000003.
- Gas: a plain transfer uses 21,000 gas, so at 1 gwei it costs 21,000 gwei = 0.000021 ETH.
- WETH: 18 decimals, the same scale as ETH, so 1 WETH = 10^18 base units.
Ethereum Units Table: Wei, Gwei, Finney and Ether
Ether has a ladder of named units, each 1,000 times the one below. In daily use only three matter: wei, gwei and ETH. The other names come from developer libraries such as web3.js, which accepts all of them in its toWei function, and they turn up in older tutorials and code.
| Unit | Other names | Value in wei | Value in ETH |
|---|---|---|---|
| Wei | - | 1 | 0.000000000000000001 |
| Kwei | babbage, femtoether | 1,000 | 0.000000000000001 |
| Mwei | lovelace, picoether | 1,000,000 | 0.000000000001 |
| Gwei | shannon, nanoether | 1,000,000,000 | 0.000000001 |
| Szabo | microether | 10^12 | 0.000001 |
| Finney | milliether | 10^15 | 0.001 |
| Ether (ETH) | - | 10^18 | 1 |
A wallet that shows a balance in ETH and an explorer that shows the same transaction value in wei are showing one number in two units. ethereum.org notes that a transaction’s value field is always denominated in wei.
How to Convert Wei to ETH
To convert wei to ETH, divide the wei amount by 10^18, which is moving the decimal point 18 places to the left. To convert ETH to wei, multiply by 10^18.
- Write the wei amount in full: for example 2,500,000,000,000,000 wei.
- Move the decimal point 18 places to the left: 2,500,000,000,000,000 wei becomes 0.0025 ETH.
- Check the digit count: 1 ETH has 19 digits in wei (a 1 followed by 18 zeros). Fewer digits means less than 1 ETH.
Explorers and contract calls return balances in wei because contracts store whole numbers only. The converter above handles numbers of any length without the rounding a spreadsheet or calculator applies to more than 15 significant digits.
How to Convert Gwei to ETH and ETH to Gwei
Gwei to ETH is division by 10^9: 50,000,000 gwei is 0.05 ETH. ETH to gwei is multiplication by 10^9: 0.25 ETH is 250,000,000 gwei. Gwei to wei is another 9 places: 1 gwei = 1,000,000,000 wei.
Gwei is the unit wallets and explorers use for gas prices, short for giga-wei (ethereum.org). A gas price of 0.5 gwei is half a gwei per unit of gas; a fee is that price times the gas the transaction uses.
Gwei to USD: What a Gas Fee Costs in Dollars
Gwei to USD is the gwei amount times the ETH price divided by 10^9. The table converts common gwei amounts at the live ETH price; without the live feed, the last column shows each amount as a share of the ETH price.
| Gwei | In ETH | What it is | Value in USD |
|---|---|---|---|
| 1 gwei | 0.000000001 ETH | One gwei | ETH price / 10^9 |
| 100 gwei | 0.0000001 ETH | - | ETH price / 10^7 |
| 21,000 gwei | 0.000021 ETH | A plain transfer at 1 gwei | ETH price x 0.000021 |
| 210,000 gwei | 0.00021 ETH | A plain transfer at 10 gwei | ETH price x 0.00021 |
| 1,000,000 gwei | 0.001 ETH | - | ETH price / 1,000 |
| 1,000,000,000 gwei | 1 ETH | - | ETH price |
A transaction fee in dollars follows the same chain: gas used x gas price in gwei = fee in gwei, then / 10^9 = fee in ETH, then x ETH price = fee in USD. A plain ETH transfer always uses 21,000 gas; wraps, token transfers and swaps use more. WETH gas fees gives the gas used by a wrap, an unwrap and an approval. For whole ETH amounts in dollars, use ETH to USD.
WETH Uses the Same Units
WETH counts in the same units as ETH. The WETH9 contract returns 18 from its decimals() function (Ethereum RPC, December 5, 2026), so 1 WETH is 10^18 base units, exactly as 1 ETH is 10^18 wei. A wrap of 0.0025 ETH, sent as 2,500,000,000,000,000 wei, mints exactly 2,500,000,000,000,000 base units of WETH: no rounding at any amount. The WETH to ETH converter shows that 1:1 rate with its dollar value.
Other tokens do not all follow this scale. USDC and USDT on Ethereum return 6 from decimals(), so 1 USDC is 1,000,000 base units, not 10^18 (Ethereum RPC, December 5, 2026). The wei, gwei and ETH units apply to ETH and to tokens with 18 decimals such as WETH.
Common Conversion Mistakes
Most unit errors are an off-by-9 or off-by-18 shift of the decimal point. Three cases come up again and again:
- Gwei read as wei: a gas price of 5 gwei is 5,000,000,000 wei, not 5 wei. A fee that looks a billion times too small has been read in the wrong unit.
- Token decimals assumed to be 18: a raw USDC balance of 1,000,000 is 1 USDC, not 0.000000000001. Check the token’s decimals() before converting a raw balance.
- Rounded long numbers: spreadsheets keep about 15 significant digits, so a wei amount like 1,234,567,890,123,456,789 loses its last digits. The converter on this page uses whole-number math and keeps every wei.
The dollar value is a market snapshot: it moves with the ETH price and leaves out any fee charged when ETH is actually sold.