Token Unit Converter
Convert between token units across multiple blockchain networks
Understanding Token Units
Blockchain networks use different denominations to represent values ranging from very small to very large amounts. Understanding these units is essential for working with smart contracts, calculating gas fees, and conducting transactions.
Common Unit Hierarchy
Most EVM-compatible chains follow a similar unit structure based on powers of 10:
Standard Token Denominations
| Unit | Value in Wei | Decimal Places |
|---|---|---|
| Wei | 1 | 0 |
| Kwei (Kilowei) | 1,000 | 103 |
| Mwei (Megawei) | 1,000,000 | 106 |
| Gwei (Gigawei) | 1,000,000,000 | 109 |
| Szabo (Microether) | 1,000,000,000,000 | 1012 |
| Finney (Milliether) | 1,000,000,000,000,000 | 1015 |
| Ether/MATIC/BNB/AVAX | 1,000,000,000,000,000,000 | 1018 |
Why Gwei Matters
Gwei (Gigawei) is the most commonly used unit in blockchain transactions, especially for specifying gas prices. When you interact with a blockchain, you'll typically see gas prices displayed in Gwei because:
- It provides a convenient scale for typical transaction costs
- Most wallet interfaces display gas prices in Gwei
- It's easier to say "20 Gwei" than "0.00000002 ETH"
- Gas price trackers and calculators use Gwei as standard
Multi-Chain Considerations
Ethereum
The original smart contract platform uses ETH as its native token. Gas prices typically range from 10-100+ Gwei depending on network congestion.
Polygon
A Layer 2 scaling solution for Ethereum using MATIC tokens. Transaction fees are significantly lower, often measured in fractions of a cent.
BNB Chain
Binance's blockchain network using BNB as the native token. Offers lower fees than Ethereum mainnet with faster block times.
Avalanche
High-throughput blockchain using AVAX tokens. Features sub-second finality and low transaction costs.
Practical Examples
Calculating Transaction Costs
If a transaction uses 21,000 gas at 50 Gwei:
- Total gas = 21,000 × 50 = 1,050,000 Gwei
- Convert to ETH = 1,050,000 / 1,000,000,000 = 0.00105 ETH
Smart Contract Interactions
When writing smart contracts, amounts are always stored in the smallest unit (Wei). If you want to transfer 1 ETH, you specify 1000000000000000000 Wei.
Token Precision
Most tokens use 18 decimal places, matching Ether's precision. However, some tokens like USDC use 6 decimals, so always check the token's decimals property.
Quick Reference
Common Conversions
- 1 ETH = 1 billion Gwei
- 1 ETH = 1018 Wei
- 1 Gwei = 109 Wei
- 1 Gwei = 0.000000001 ETH
Typical Gas Prices
- Ethereum: 20-100 Gwei
- Polygon: 30-100 Gwei
- BNB Chain: 3-5 Gwei
- Avalanche: 25-100 nAVAX