LazyTools

🔒 Every tool runs in your browser — the files and values you enter are never uploaded to any server. How it works

⟠ Ethereum Unit Converter (Wei, Gwei, Ether)

Convert between Ethereum units — wei, kwei, mwei, gwei, szabo, finney and ether — exactly, plus satoshi ⇄ BTC. No floating-point rounding, ever.

wei1000000000000000000
kwei1000000000000000
mwei1000000000000
gwei1000000000
szabo1000000
finney1000
ether1

Exact conversion via BigInt fixed-point — no floating-point error even at 18 decimals. 1 ether = 10¹⁸ wei · 1 gwei = 10⁹ wei. 🔒 Computed in your browser.

Bitcoin — satoshi ⇄ BTC

1 BTC = 100,000,000 satoshi (8 decimals).

Rate this tool:
Anonymous — no account, no identifier

How the ethereum unit converter (wei, gwei, ether) works

Ethereum amounts are integers of wei (1 ether = 10¹⁸ wei), and gas prices are quoted in gwei (10⁹ wei). Enter a value in any unit and every other unit is computed with BigInt fixed-point arithmetic, so an 18-decimal value like 0.000000000000000001 ether converts to exactly 1 wei — something floating-point maths cannot represent without error. A separate section converts Bitcoin between BTC and satoshi (1 BTC = 100,000,000 sats).

A developer utility, not a price tool: it converts *units*, never fetches an exchange rate, price, or gas oracle. It handles no keys or funds and gives no financial advice.

Frequently asked questions

How many wei are in one ether?

Exactly 1,000,000,000,000,000,000 — that is 10¹⁸ wei. Ether is the human unit; wei is the smallest indivisible unit that the Ethereum protocol actually counts in.

What is gwei used for?

Gwei (10⁹ wei, also called “nanoether” or “shannon”) is the standard unit for gas prices. A gas price of “30 gwei” means 30 × 10⁹ wei per unit of gas.

Why use BigInt instead of normal numbers?

Because 10¹⁸ exceeds JavaScript’s safe-integer range and 18-decimal fractions can’t be stored exactly as floating-point. This tool uses BigInt fixed-point maths, so conversions are exact to the last wei.

Does it show live prices or gas fees?

No — it is purely a unit converter. It never fetches a price, exchange rate or live gas fee, and it gives no financial advice. For a “gas cost in ether” figure you supply the gas price yourself.

Can it convert satoshi and BTC?

Yes — the Bitcoin section converts between BTC and satoshi, where 1 BTC = 100,000,000 satoshi (8 decimal places).

Is anything uploaded?

No — all conversion runs in your browser.

Related developer tools