Convert & calculate · Wei, gwei, ether

ETH & gas converter

Convert between wei, gwei and ether, and price a transaction in ETH.

Runs in your browser

An amount of ETH

Ether, gwei and wei are the same currency at three different zoom levels.

Anything from 0.0001 to the 18-digit wei figures block explorers show.

Automatic reads decimals as ether and long whole numbers as wei.

What a transaction will cost

Gas used multiplied by the price you pay for each unit.

A plain ETH transfer always uses 21,000. Wallets show this estimate before you confirm.

What gas prices are usually quoted in. Your wallet or a gas tracker shows the current price, which changes block by block.

The same amount, three ways

Type an amount on the left and you'll see it in wei, gwei and ether at the same time.

No transaction priced yet

Fill in the gas used and a gas price to see what the transaction costs in ETH.

How much gas things usually use

Rough figures. The exact number depends on the contract and the state it's in.

What you're doingGas used
Sending ETH to someone21,000
Sending an ERC-20 token~ 50,000 – 65,000
Approving a token for a contract~ 45,000
Minting an NFT~ 85,000 – 150,000
Swapping on a DEX~ 150,000 – 250,000
Deploying a contract500,000 and up

One ether = 1,000,000,000 gwei = 1,000,000,000,000,000,000 wei. Gas prices are quoted in gwei because a whole ether per unit of gas would be absurd, and wei per unit would be unreadable.

About this tool

Wei, gwei and ether are units of the same currency: 1 ether is 1,000,000,000 gwei, and 1 gwei is 1,000,000,000 wei. This converter shows any amount in all three units as you type, using exact integer math, so long wei values copied from a block explorer convert without rounding. It also prices a transaction: gas used multiplied by the gas price in gwei gives the fee in ETH.

Common questions

How many wei are in one ether?

1,000,000,000,000,000,000 wei, which is 10^18. One gwei is 1,000,000,000 wei (10^9), so one ether is also 1,000,000,000 gwei.

How do I calculate a transaction fee in ETH?

Multiply the gas used by the price paid per unit of gas. A plain ETH transfer uses 21,000 gas, so at 2 gwei it costs 42,000 gwei, which is 0.000042 ETH. Since EIP-1559, the price per unit is the base fee plus your priority fee.

Why does sending ETH cost 21,000 gas?

21,000 is the fixed base cost every Ethereum transaction pays before any code runs. A plain transfer to a regular wallet runs no code and carries no data, so it costs exactly that. Contract calls add gas for their data and execution.