ETH to wei converter

Convert ETH into wei, the smallest indivisible unit of ether. One ether equals 10^18 wei, so this tool multiplies your ether input by that factor to give the exact integer wei value.

完全在浏览器中运行。无需 API 密钥,数据不离开本页面。

The exact relationship

1 ether = 10^18 wei. To convert ETH to wei you multiply by 1,000,000,000,000,000,000. So 1 ETH is 1000000000000000000 wei and 0.001 ETH is 1000000000000000 wei. The result is always a whole number, because wei is the indivisible base unit.

Where you hit this in real work

When you build a transaction or call a contract, value fields must be expressed in wei, not ether. Sending 1 ETH means setting value to 1000000000000000000. Getting this multiplication right is essential, because an off-by-one factor of ten silently sends the wrong amount.

常见问题

Why do transactions use wei instead of ETH?

Wei is an integer, which avoids floating-point rounding errors. Encoding all amounts in the base unit keeps on-chain arithmetic exact and deterministic.

What is the wei value of 1 ETH?

1 ETH equals 1000000000000000000 wei, which is 10^18 wei.

相关工具

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥