Wei to gwei converter

Convert wei, the base unit of ether, into gwei. One gwei equals 10^9 wei, so this tool divides your wei input by 1,000,000,000 to give the gwei value.

すべてブラウザ内で実行されます。API キー不要、データはこのページから出ません。

The exact relationship

1 gwei = 10^9 wei, so to convert wei to gwei you divide by 1,000,000,000. That makes 1000000000 wei equal to 1 gwei and 25000000000 wei equal to 25 gwei. Since wei is the smallest unit, the result may carry decimals for values that are not exact multiples of 10^9.

Where you hit this in real work

RPC responses report gas prices in wei, hex-encoded. When eth_gasPrice returns 0x4a817c800 you decode 20000000000 wei, which is 20 gwei. Converting the raw wei figure into gwei turns an opaque number into the gas price you actually reason about.

よくある質問

What is 1000000000 wei in gwei?

It is exactly 1 gwei, because one gwei is defined as 10^9 wei.

Why do RPC calls return gas prices in wei?

Wei is the canonical base unit for all ether amounts on chain, so nodes report every value, including gas prices, in wei for consistency.

関連ツール

チャージして、キーを取得し、リリース。

セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。

APIキーを取得