Wei to ETH Converter — Gwei & Ethereum Unit Calculator

Instantly convert between Wei, Gwei, and ETH — Ethereum's three main denominations. Enter any amount in Wei, Gwei, or ETH and see all three values simultaneously, plus optional USD conversion at a live or custom price.

Enter the value to convert

Select input denomination

Leave blank to skip USD conversion

How to Use the Wei to ETH Converter

Select your input denomination from the dropdown — Wei, Gwei, or ETH — then enter the amount. The converter instantly calculates all three denominations simultaneously. There is no need to click anything: the result updates as you type.

Optionally enter a current ETH price in USD to see the dollar value of your amount. This is useful when estimating the cost of gas fees in dollar terms — for example, if a transaction costs 21,000 gas at 20 Gwei, enter 420,000 Gwei to see the fee in ETH and USD.

Common conversions to bookmark:

  • Gas fee estimate: Multiply gas units × gas price (Gwei) to get total Gwei, then convert to ETH using this tool.
  • Smart contract amounts: Solidity stores ETH as Wei integers. Paste the Wei value from a contract or block explorer to see the ETH equivalent.
  • Wallet transfers: Enter your ETH amount to verify the Wei representation for contract calls.

The Formula

Ethereum uses a fixed decimal hierarchy with no floating point. All values are stored internally as Wei integers:

  1. 1 ETH = 109 Gwei = 1,000,000,000 Gwei
  2. 1 ETH = 1018 Wei = 1,000,000,000,000,000,000 Wei
  3. 1 Gwei = 109 Wei = 1,000,000,000 Wei

Conversion formulas:

  • ETH → Gwei: multiply by 1,000,000,000
  • ETH → Wei: multiply by 1,000,000,000,000,000,000
  • Gwei → ETH: divide by 1,000,000,000
  • Gwei → Wei: multiply by 1,000,000,000
  • Wei → ETH: divide by 1,000,000,000,000,000,000
  • Wei → Gwei: divide by 1,000,000,000

USD value = ETH amount × ETH price in USD. The ETH price is not fetched automatically — enter the current market price manually for accurate USD conversions.

Practical Examples

Example 1 — Calculating a Gas Fee

A standard ETH transfer uses 21,000 gas units. If the current base fee is 20 Gwei and you add a 2 Gwei priority fee (miner tip), your total gas price is 22 Gwei:

  • Total fee in Gwei: 21,000 × 22 = 462,000 Gwei
  • In ETH: 462,000 ÷ 1,000,000,000 = 0.000462 ETH
  • At $3,000/ETH: 0.000462 × $3,000 = $1.386

Enter 462000 in the converter with "Gwei" selected to instantly verify this. During network congestion, gas prices can spike to 200+ Gwei, making the same transaction cost $13+.

Example 2 — Reading a Solidity Contract Value

You are interacting with a smart contract that shows a value of 500000000000000000 Wei (a common ERC-20 balance or transfer amount). Enter that number in the converter with "Wei" selected:

  • Wei: 500,000,000,000,000,000
  • Gwei: 500,000,000
  • ETH: 0.5 ETH

This is why Wei exists: Solidity cannot handle floating point numbers. Instead of storing "0.5 ETH", contracts store the integer 500000000000000000 — eliminating all rounding errors from decimal arithmetic.

Example 3 — Converting a Wallet Balance

Your MetaMask balance shows 1.337 ETH. You want to know how many Gwei this is (for a contract call that expects Gwei):

  • ETH: 1.337
  • Gwei: 1,337,000,000
  • Wei: 1,337,000,000,000,000,000

Understanding Ethereum Gas Fees

Gas fees after EIP-1559 (August 2021) consist of two components: the base fee (set by the network, burned permanently) and the priority fee (your tip to the validator). Both are denominated in Gwei. Gas prices are quoted in Gwei rather than ETH because the numbers are more human-readable: "30 Gwei" is clearer than "0.00000003 ETH". The base fee fluctuates dynamically based on network demand — during the peak of DeFi summer in 2021, gas prices exceeded 500 Gwei, making simple transfers cost $50+.

Frequently Asked Questions

Related Calculators

Embed This Calculator on Your Website