EVM Wei, Gwei, ETH & 6-Decimal USDC Converter
Type any amount and read it as Wei, Gwei, ETH, and 6-decimal ERC-20 units. Every step is integer BigInt math, so 18-decimal balances never drift through floating-point rounding.
1 ETH = 1,000,000,000 Gwei = 1018 Wei · 1 Gwei = 109 Wei · 1 USDC = 106 base units. Every row shows the same raw integer with the decimal point moved to that unit's precision — no price or exchange-rate conversion is applied (1,000,000 raw units reads as 1 USDC and as 0.000000000001 ETH).
Gas cost calculator
Cost = gas limit × gas price. The product stays an exact integer count of Wei until it is formatted.
Why do USDC and USDT use 6 decimals instead of 18?
ERC-20 contracts declare their own decimals(). ETH and most 18-decimal tokens use 1018 base units, while USDC and USDT on Ethereum, Base, Arbitrum, and Optimism use 6 — so 1 USDC = 1,000,000 base units. Always read decimals() from the contract before doing math; the "Custom token decimals" option here covers anything else.
Does this converter lose precision on very large amounts?
No. Inputs are parsed straight into a BigInt integer count of the smallest unit and every row is derived from that integer, so values like 123,456,789.123456789123456789 ETH stay exact. Nothing is ever stored as a JavaScript float, and the only "rounding" that can happen is rejecting digits finer than the unit you selected.