Alchemy provides blockchain access, indexed data and wallet infrastructure APIs for application developers.

Wei Converter
A browser calculator for converting ether amounts between wei, gwei and ETH, with an ethers.js conversion example.
About Wei Converter
Alchemy's Wei Converter is a browser calculator for expressing an ether amount in wei, gwei or ETH. The units have fixed relationships: one gwei equals one billion wei, and one ether equals one billion gwei or 10^18 wei. For developers, the page demonstrates converting a balance returned in wei into an ETH display value using ethers.js.
This helps when reading blockchain balances, transaction values and gas-price quotations in different units. Unit conversion does not itself estimate a transaction's total fee: Ethereum fees also depend on gas used and the applicable price per gas. The calculator changes the denomination of an amount; it does not execute a swap, send a transaction or determine a guaranteed future network fee.
Best for
- Web3 developers


