Omni-Chain Unit & Hex Converter

Convert blockchain units instantly

Wei, Gwei, Ether, Satoshi, Lamports, and Hex conversions for Ethereum, Bitcoin, and Solana.

Input Value
Detected Format:
UNKNOWN
Conversions
Ethereum (EVM)

Bitcoin

Solana

Raw Data

Understanding Blockchain Units

Master the conversion between different blockchain denominations. Whether you're calculating gas fees, processing payments, or auditing smart contracts, understanding these units is essential for accurate blockchain development.

Ethereum Units: Wei, Gwei & Ether

Wei is the smallest and most fundamental unit of Ether (ETH). Named after Wei Dai, a computer scientist and cryptographer, 1 ETH equals exactly 1,000,000,000,000,000,000 (10^18) Wei. This precision is crucial for smart contract calculations where fractional amounts must be handled with absolute accuracy.

Gwei (Gigawei or Giga-wei) represents 1 billion Wei (10^9). It's the standard unit for expressing gas prices on Ethereum. When you see 'gas price: 50 Gwei,' it means each unit of gas costs 50 billion Wei. Understanding Gwei is essential for optimizing transaction costs.

Other Ethereum denominations include Kwei (10^3), Mwei (10^6), Szabo (10^12), and Finney (10^15), though these are rarely used in practice. Most developers work primarily with Wei, Gwei, and Ether.

Bitcoin Units: Satoshi & BTC

Satoshi (Sat) is Bitcoin's smallest unit, named after Bitcoin's pseudonymous creator, Satoshi Nakamoto. One Bitcoin (BTC) equals 100,000,000 Satoshis. This 8-decimal precision allows for micro-transactions and precise value transfers.

With Bitcoin's limited supply of 21 million BTC, Satoshis become increasingly important for everyday transactions. As Bitcoin's value grows, many transactions are denominated in Satoshis rather than full Bitcoin.

Lightning Network and other Layer 2 solutions often work with millisatoshis (mSat), which are 1/1000th of a Satoshi, enabling even smaller micro-payments.

Solana Units: Lamports & SOL

Lamport is Solana's base unit, named after Leslie Lamport, a renowned computer scientist known for his work in distributed systems. One SOL equals 1,000,000,000 (10^9) Lamports, providing 9 decimal places of precision.

Solana's high throughput and low fees mean transactions often cost just a few thousand Lamports. Understanding this unit is crucial for developers building on Solana, especially when calculating rent exemptions and transaction fees.

Hexadecimal Conversions

Hexadecimal (Hex) notation is fundamental in blockchain development. Smart contract addresses, transaction hashes, and encoded data all use hex format (base-16). The '0x' prefix indicates a hexadecimal number.

Converting between decimal and hex is essential when reading blockchain explorers, debugging smart contracts, or working with Web3 libraries. For example, the decimal value 255 is represented as 0xFF in hexadecimal.

Frequently Asked Questions

1 Gwei equals 0.000000001 ETH (1 billionth of an Ether). To convert Gwei to ETH, divide by 1,000,000,000. For example, 50 Gwei = 0.00000005 ETH.

Divide the Wei amount by 1,000,000,000,000,000,000 (10^18). For example: 1,500,000,000,000,000,000 Wei = 1.5 ETH. Most Web3 libraries provide utility functions like ethers.formatEther() for this conversion.

Gwei provides a more readable format for gas prices. Instead of saying '0.000000050 ETH per gas', we can say '50 Gwei per gas'. It's similar to how we use cents instead of fractional dollars for small amounts.

0.01 BTC equals 1,000,000 Satoshis (1 million Sats). To convert BTC to Satoshis, multiply by 100,000,000. This is useful for Lightning Network transactions and micro-payments.

Lamports are to SOL what cents are to dollars, but with 9 decimal places instead of 2. 1 SOL = 1,000,000,000 Lamports. Solana programs typically work with Lamports for precision, while user interfaces display SOL for readability.

Use hex when working with smart contract addresses (0x742d35Cc...), transaction hashes, encoded function calls, or raw blockchain data. Hex is the standard format for blockchain explorers and Web3 APIs. Our converter helps you quickly switch between decimal and hex formats.