Convert wei, gwei and ether without rounding errors
This tool runs entirely in your browser. Nothing you type here is transmitted.
Every chain counts in its own smallest unit, and mixing them up is how people send a thousand times too much.
Why exact arithmetic matters here
This converter handles Ethereum, Bitcoin and Monero units plus any token by its decimals, using exact integer arithmetic so nothing is silently rounded. Ordinary decimal numbers in a browser lose precision above roughly fifteen digits - and a wei amount has eighteen. A converter built on them can quietly turn a balance into an almost-right number, which is exactly the kind of error nobody notices until a transfer is off. This one does the whole conversion in integers and moves the decimal point as text, so the digits you get are the digits that exist. All of it runs in your browser and needs no data from us, so you can load the page, go offline, and keep working.
The units, and where you meet them
Each ecosystem names its smallest unit differently, but the idea is the same: chains store integers, and the decimal form is a display convention.
- Ethereum: 1 ether is 10^18 wei; gas prices are quoted in gwei, 10^9 wei.
- Bitcoin: 1 BTC is 100,000,000 satoshi; fees are quoted per byte in satoshi.
- Monero: 1 XMR is 10^12 piconero.
- Tokens: decimals vary - USDT and USDC use 6, most others use 18. Guessing here is a real way to lose money.
Check the decimals before you trust a raw amount
A raw token amount is meaningless without knowing its decimals: the same integer is a millionth of a token or a thousand tokens depending on the contract. Explorers show the decimals on the token page; the custom mode here lets you plug them in directly.
Questions
- Why do gas prices use gwei rather than ether?
- Because ether amounts for gas would be long strings of zeros. Gwei keeps the numbers human, and this converter turns them back into ether when you need the real cost.
- Does the converter round?
- No. All arithmetic is done in integers and the decimal point is placed as text, so every digit you see is exact rather than a floating-point approximation.