Lab — Devtool

Ethereum Unit Converter

Ethereum Unit Converter is a free online tool that converts between wei, gwei and ether with exact integer arithmetic — type a value in any unit and the other two update instantly, with no floating-point rounding. It also estimates what a transaction costs at any gas price. Everything runs in your browser; nothing leaves the page.

Convert — type in any unit

Gas-cost calculator

Cost in wei—
Cost in gwei—
Cost in ether—
Cost in USD (sample price)—

The ETH price above is a sample value you can edit — it is not a live market price. The USD figure is an estimate only.

Unit magnitudes

UnitWeiUsed for
wei1The base unit — everything on-chain is counted in wei
kwei1,000Rarely used in practice
mwei1,000,000Rarely used in practice
gwei1,000,000,000Gas prices — the unit you see in every wallet
szabo1,000,000,000,000Historical; rarely used today
finney1,000,000,000,000,000Historical; rarely used today
ether1,000,000,000,000,000,000Balances and transfer values

How the units relate