devpocket.dev

Ethereum Unit Converter

Convert Wei, Gwei, Ether, satoshi, BTC, lamports, SOL, Token units, and gas fees exactly.

Runs locally
Loading tool…

How to use

Choose Ethereum, Bitcoin, or Solana and edit any unit field; every other unit updates from the same exact raw integer. A hexadecimal value is treated as a smallest-unit integer. For a custom Token, set decimals from 0 to 36 and choose whether the input is human-readable or raw to see decimal, hex, and 32-byte ABI forms. The Gas fee mode supports EIP-1559 base plus priority fees and legacy gas price. Extra fractional digits are rejected instead of silently rounded.

FAQ

How many Wei are in one Ether?

One Ether equals 10^18 Wei. One Gwei equals 10^9 Wei, so one Gwei is 0.000000001 Ether.

Does the converter round Token amounts?

No. It uses integer arithmetic and rejects a human-readable value when it has more fractional digits than the selected Token decimals.

How is an EIP-1559 gas fee calculated?

This calculator adds base fee and priority fee to get the effective gas price, then multiplies it by gas used. It also supports a single legacy gas price.

Related tools