Skip to content
Calc Vault logoCalc Vault

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

Loading live prices…

ETH

1

exact conversion

Wei

1,000,000,000,000,000,000

Gwei

1,000,000,000

Quick Reference

1 ETH = 1,000,000,000 Gwei = 1,000,000,000,000,000,000 Wei

Last reviewed · How we check our calculators


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, exactly: every digit you enter is kept (a 19-digit Wei amount included) and ETH is shown to all 18 decimals it needs. Wei is a whole number and Gwei takes up to 9 decimals, since 1 Wei is the smallest unit. 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

Wei is the smallest denomination of Ether — 1 ETH equals exactly 10^18 (one quintillion) Wei. Wei was named after Wei Dai, the cryptographer who proposed b-money, a precursor to Bitcoin. Ethereum uses Wei internally because computers cannot represent decimal numbers precisely in binary floating point. By working exclusively with integers (Wei counts), the Ethereum virtual machine eliminates rounding errors that could otherwise be exploited in financial contracts. When you send 0.1 ETH, the blockchain actually processes 100,000,000,000,000,000 Wei — a precise, unambiguous integer.

Gwei (gigawei) equals 1,000,000,000 Wei (10^9). It sits between Wei and ETH in scale and was adopted as the standard unit for quoting Ethereum gas prices because the numbers are human-friendly. A gas price of 20 Gwei is far more readable than 0.00000002 ETH or 20,000,000,000 Wei. Gas prices on Ethereum typically range from 1–500 Gwei depending on network congestion, making Gwei the ideal unit — it keeps the numbers between 1 and a few hundred rather than requiring scientific notation.

Transaction cost in ETH = Gas Units × Gas Price in Gwei ÷ 1,000,000,000. A standard ETH transfer costs 21,000 gas units. At 20 Gwei: 21,000 × 20 = 420,000 Gwei = 0.00042 ETH. For ERC-20 token transfers, gas usage is typically 45,000–65,000 units. For complex DeFi interactions (Uniswap swaps, lending protocols), costs range from 100,000 to 500,000+ gas units. You can look up any transaction's gas usage on Etherscan. Use this converter to translate the Gwei total into ETH and USD.

MetaMask converts Wei to ETH for display because ETH values are more intuitive for users. Under the hood, the Ethereum network and every smart contract operate exclusively in Wei. When you type '0.1 ETH' in MetaMask, it multiplies by 10^18 and sends the Wei integer to the network. When a Solidity contract stores a balance, it stores the Wei count. This is why reading raw contract storage or event logs requires converting from Wei to ETH — use this tool to perform that conversion instantly.

Ethereum has several denominations, each named after a cryptography pioneer. The three most commonly used are: Wei (smallest, 10^0), Gwei or Gigawei (10^9, used for gas), and Ether / ETH (10^18, the base currency). Less common intermediates include: Kwei (10^3), Mwei or Megawei (10^6), Microether or Szabo (10^12), and Milliether or Finney (10^15). In practice, only Wei, Gwei, and ETH appear in wallets, exchanges, block explorers, and developer documentation. The 'Gwei' name comes from gigawei: giga = 10^9, matching the SI prefix convention.

Sources

Embed This Calculator on Your Website

Free for blogs, forums and tipster sites. Paste this HTML where the calculator should appear — it resizes automatically.

<div class="calcvault-embed" style="max-width:700px;margin:0 auto;">
  <script src="https://www.calcvault.co/widget.js" data-calc="wei-to-eth-converter" data-backlink="inline"></script>
  <p style="text-align:center;margin:6px 0 0;font-size:12px;font-family:system-ui,sans-serif;"><a href="https://www.calcvault.co/calculators/wei-to-eth-converter">Wei to ETH Converter by CalcVault</a></p>
</div>