8 min read

Cryptocurrency Units: Understanding Satoshis, Wei, and Fiat Conversion

Published April 24, 2026

Cryptocurrency uses fractional unit systems unlike traditional currencies. Bitcoin divides into satoshis; Ethereum into wei; stablecoins track fiat values. Understanding these unit conversions is essential for traders calculating precise holdings, developers building blockchain applications, and anyone managing digital assets across multiple cryptocurrencies and exchanges.

Understanding the Basics

Bitcoin's smallest unit is the satoshi (sat)—named after Satoshi Nakamoto, Bitcoin's pseudonymous creator. 1 Bitcoin = 100,000,000 satoshis. This design enables micropayments and precise accounting without decimal precision loss in computers. Similarly, Ethereum's smallest unit is wei: 1 Ether = 10^18 wei. These fractional units prevent floating-point arithmetic errors that plague financial systems using decimal representations.

Cryptocurrency trading involves three conversion dimensions: crypto-to-crypto (BTC to ETH), crypto-to-fiat (BTC to USD), and unit conversions within each cryptocurrency. A trader might see prices in satoshis/byte for transaction fees, gwei for gas prices, or millibitcoins for easier calculation. Understanding these conversions prevents costly trading errors and enables efficient portfolio management across different cryptocurrencies and denominations.

Cryptocurrency Units

Bitcoin (BTC)

  • Bitcoin (BTC): 1 BTC = 100,000,000 satoshis. Primary unit; most recognizable cryptocurrency denomination.
  • Millibitcoin (mBTC): 1 mBTC = 100,000 satoshis = 0.001 BTC. Used for everyday transactions; easier mental math.
  • Satoshi (sat): 1 sat = 0.00000001 BTC. Smallest Bitcoin unit; used for micropayments and transaction fees (measured in sat/byte).

Ethereum (ETH) and Other Blockchains

  • Ether (ETH): 1 ETH = 10^18 wei. Ethereum's native token; used for transactions and smart contract execution.
  • Gwei (gigawei): 1 Gwei = 10^9 wei = 0.000000001 ETH. Standard unit for gas prices in Ethereum transactions.
  • Wei: 1 wei = 0.000000000000000001 ETH. Smallest Ethereum unit; used in smart contracts for precise calculations.

Conversion Formulas

FromToMultiply By
Bitcoin (BTC)Satoshis (sat)100,000,000
Bitcoin (BTC)Millibitcoins (mBTC)1,000
Ether (ETH)Wei10^18
Ether (ETH)Gwei10^9

Worked Examples

Example 1: Bitcoin Transaction Fee

A Bitcoin transaction fee is quoted as 50 satoshis per byte. For a 250-byte transaction, what is the fee in BTC?

50 sat/byte × 250 bytes = 12,500 sat. 12,500 sat ÷ 100,000,000 = 0.000125 BTC ≈ $5.50 at $44k/BTC. Understanding satoshi fees enables miners and users to calculate precise transaction costs.

Example 2: Ethereum Gas Price

Gas price is 40 Gwei per unit of gas. A transaction uses 21,000 gas. What is the total cost in ETH?

40 Gwei × 21,000 gas = 840,000 Gwei. 840,000 Gwei ÷ 10^9 = 0.00084 ETH. Converting from Gwei (human-readable) to ETH (blockchain standard) is essential for transaction planning.

Practical Applications

Cryptocurrency exchanges quote prices in satoshis or wei per unit of fiat currency. A Bitcoin priced at 44,000 USD can also be expressed as 22 million satoshis per dollar. Traders calculating position sizes or leverage must convert fluently between these units to avoid ordering errors that could cost thousands.

Smart contract developers working with Ethereum must convert wei to Gwei for gas calculations and back to wei for contract execution. Mistakes converting between units (e.g., submitting wei instead of Gwei) cause transactions to fail or execute with incorrect values. Development frameworks provide conversion utilities, but developers must understand the underlying mathematics.

Portfolio trackers consolidate holdings across multiple cryptocurrencies and must convert all holdings to satoshis or wei (or a common fiat value) for accurate net worth calculations. A portfolio with 0.5 BTC and 10 ETH requires unit conversion to compare relative values and rebalance asset allocation.

Best Practices

💡 Pro Tip: Always Verify Chain and Decimals

Different blockchains and tokens use different decimal places. Bitcoin uses 8 decimals (satoshis); Ethereum uses 18 (wei); many ERC-20 tokens use 6-18 decimals. Always verify the correct number of decimals for any token before converting—using the wrong decimal place can cause million-fold errors.

  • Use established libraries: JavaScript's ethers.js, web3.py for Python, and official SDKs include unit conversion utilities.
  • Test conversions explicitly: Always verify conversion logic with known values before deployment.
  • Display user-friendly units: Show satoshis or mBTC to users instead of raw wei; provide easy conversion to familiar denominations.
  • Handle precision carefully: Use integers for blockchain calculations; only convert to decimals for display.

Common Mistakes

⚠️ Decimal Place Confusion

The most common mistake: using wrong decimal places. Sending a transaction with 10 wei instead of 10 Gwei is a 10^9-fold difference. Always explicitly verify the unit before and after conversion. Smart contracts include decimal checks, but off-chain calculations are vulnerable to human error.

Tools and Resources

  • Ethers.js Utils: Provides ethers.utils.parseUnits() and ethers.utils.formatUnits() for Ethereum conversions.
  • Web3.py: Python library with Web3.toWei() and Web3.fromWei() for unit conversion.
  • Online Converters: CoinmarketCap, CoinGecko provide real-time fiat conversion for all major cryptocurrencies.

Key Takeaways

  • 1 BTC = 100,000,000 satoshis; 1 ETH = 10^18 wei (use established libraries for conversion)
  • Bitcoin fees measured in satoshis/byte; Ethereum gas priced in Gwei—understand both for cost calculation
  • Different blockchains use different decimal places; always verify before converting
  • Use integer math on-chain; only convert to decimals for user display
  • Test all conversion logic explicitly; unit confusion can cause million-fold errors in transactions

Ready to Convert?

Try our free converter for instant results.

Try Related Unit Converters

Use our precision conversion tools to convert the units mentioned in this article

💡 Pro Tip: Bookmark Converterse and use our converters regularly for quick, accurate unit transformations without ads or registration.

More Resources

More Conversion Guides

Explore our comprehensive guides for different measurement types

Back to Blog

Return to the blog listing to explore more articles