Crypto Unit Converter
Convert between BTC and satoshis, ETH and gwei, or ETH and wei instantly. A simple crypto unit converter with a reference table.
Cryptocurrency uses multiple denomination units that can trip up even experienced users. Gas fees are quoted in gwei, Lightning Network invoices show satoshis, and smart contracts deal in wei. This converter handles the three most common crypto unit pairs - BTC/satoshis, ETH/gwei, and ETH/wei - with instant bidirectional conversion and precise arithmetic that avoids floating-point errors.
For informational purposes only. Not financial advice. Calculations are estimates and may not reflect your exact situation. Consult a qualified financial adviser for personalised guidance.
About Crypto Unit Converter
How Crypto Denominations Work
Just as one pound splits into 100 pence and one dollar into 100 cents, cryptocurrencies divide into smaller units. The difference is scale. Bitcoin splits into 100 million sub-units (satoshis), and Ethereum splits into a quintillion sub-units (10^18 wei). These tiny denominations exist because crypto prices range from fractions of a penny to tens of thousands of dollars, and the networks need to handle transactions at every scale - from a $0.01 Lightning tip to a multi-million-dollar DeFi swap.
Unlike fiat currencies that typically have one sub-unit, crypto networks define several named denominations at different scales. Bitcoin uses a handful of intermediate units between BTC and satoshis. Ethereum goes further with seven named denominations, each honouring a pioneer in computer science or cryptography. In practice, most people only encounter three of these regularly: ether for exchange prices, gwei for gas fees, and wei for smart contract development.
Bitcoin Units - From BTC to Satoshi
| Unit | In BTC | In Satoshis | Common Use |
|---|---|---|---|
| 1 BTC | 1 | 100,000,000 | Exchange prices, large transactions |
| 1 mBTC (millibit) | 0.001 | 100,000 | Mid-size transactions |
| 1 μBTC (microbit / bit) | 0.000001 | 100 | Tipping, micro-payments |
| 1 satoshi (sat) | 0.00000001 | 1 | Lightning invoices, smallest on-chain unit |
| 1 millisatoshi (msat) | - | 0.001 | Lightning Network fee routing (off-chain only) |
The satoshi is named after Satoshi Nakamoto, Bitcoin's pseudonymous creator who published the Bitcoin whitepaper in 2008. At a BTC price of around $74,000 (as of April 2026, per CoinDesk), one satoshi is worth approximately $0.00074 - less than a tenth of a cent.
Worked example: A Lightning invoice shows 250,000 sats. To convert to BTC: 250,000 / 100,000,000 = 0.0025 BTC. At $74,000 per BTC, that works out to $185.
The millisatoshi (msat) only exists on Bitcoin's Lightning Network. Routing nodes calculate fees to fractions of a satoshi for precision, but settled amounts always round to whole satoshis. You won't encounter millisatoshis in on-chain wallets or block explorers.
Bitcoin's 8-decimal-place precision was set in Satoshi Nakamoto's original source code in 2009. With 100 million satoshis per BTC and a fixed supply cap of 21 million BTC, the total supply is 2.1 quadrillion satoshis - enough granularity for a global currency even at extreme valuations. The community has increasingly adopted sats as the default unit for smaller amounts, sometimes called the "sat standard". Saying "a coffee costs 5,000 sats" is more intuitive than "0.00005 BTC", and several exchanges and wallets now offer a sats display mode.
Ethereum Units - From Ether to Wei
Ethereum's denomination system was designed by Vitalik Buterin and documented in the Ethereum Yellow Paper. Each unit honours someone whose work contributed to cryptocurrency and computer science:
| Unit | In Wei | Named After | Common Use |
|---|---|---|---|
| Wei | 1 | Wei Dai (b-money creator) | Smart contract arithmetic |
| Kwei (Babbage) | 10^3 | Charles Babbage (mechanical computer) | Rarely used |
| Mwei (Lovelace) | 10^6 | Ada Lovelace (first programmer) | Rarely used |
| Gwei (Shannon) | 10^9 | Claude Shannon (information theory) | Gas prices |
| Microether (Szabo) | 10^12 | Nick Szabo (smart contracts concept) | Rarely used |
| Milliether (Finney) | 10^15 | Hal Finney (cypherpunk, early BTC contributor) | Rarely used |
| Ether | 10^18 | - | Standard unit, exchange prices |
In daily use, only three matter. Ether is the standard unit on exchanges and in wallets. Gwei (short for gigawei, meaning 10^9 wei) is the standard unit for gas prices because it puts fees into a human-readable range. Wei is what Solidity smart contracts operate in - the Ethereum Virtual Machine (EVM) has no floating-point types, so all value arithmetic uses unsigned 256-bit integers denominated in wei.
Worked example: A smart contract requires a 0.05 ETH payment. In wei, that is 0.05 x 10^18 = 50,000,000,000,000,000 wei. In Solidity, developers write 0.05 ether as shorthand, which the compiler converts to the wei value. When reading raw transaction data on Etherscan, you will see these large wei values and need to convert back to ETH.
How Ethereum Gas Fees Use Gwei
Every Ethereum transaction requires gas, and gas prices are quoted in gwei. Since August 2021, when EIP-1559 activated with the London hard fork, Ethereum uses a two-part fee system. The base fee is set automatically by the protocol based on network demand and is burned (permanently destroyed). The priority fee (or tip) is set by the sender to incentivise validators to include the transaction quickly.
The total cost formula is: Gas Fee = Gas Units x (Base Fee + Priority Fee), where both fee components are measured in gwei.
Gas prices have dropped dramatically in 2026 following the Dencun upgrade (March 2024), which introduced blob transactions (EIP-4844) that slashed Layer 2 posting costs. According to Etherscan's gas tracker, the mainnet base fee in April 2026 sits around 0.07 gwei during quiet periods - a fraction of the 30-50 gwei averages common in 2023. A simple ETH transfer uses 21,000 gas units:
| Network State | Gas Price | Simple Transfer (21,000 gas) | USD Cost (~$2,370/ETH, April 2026) |
|---|---|---|---|
| Low traffic (April 2026) | 0.07 gwei | 0.00000147 ETH | ~$0.003 |
| Moderate congestion | 1 gwei | 0.000021 ETH | ~$0.05 |
| High congestion | 10 gwei | 0.00021 ETH | ~$0.50 |
| Extreme spike | 100 gwei | 0.0021 ETH | ~$4.98 |
The sub-1-gwei baseline reflects Ethereum's scaling success. Layer 2 networks like Arbitrum, Optimism, and Base handle roughly 95% of ecosystem transaction throughput as of early 2026 (per L2Beat data), keeping mainnet gas at historic lows. A more complex operation like a token swap uses 150,000-300,000 gas units. At the current 0.07 gwei average, a 200,000-gas swap costs approximately 0.000014 ETH, or about 3 cents at current prices.
Why Precision Matters for Wei Conversions
Standard JavaScript uses IEEE 754 double-precision floating point, which provides roughly 15-17 significant digits of accuracy. Wei values routinely exceed that. For example, 1 ETH equals 1,000,000,000,000,000,000 wei - 19 digits. At this scale, JavaScript cannot distinguish between adjacent integers: expressions like 10^18 + 1 and 10^18 evaluate to the same number. This means floating-point arithmetic can silently produce incorrect wei amounts, and in a smart contract context, even a 1-wei mismatch can cause a transaction to revert.
This converter avoids that problem by using integer arithmetic internally. Input values are split into integer and decimal parts, each multiplied as whole numbers, then reassembled with the correct decimal placement. This mirrors the approach used by production Ethereum libraries like ethers.js and web3.js, which implement custom BigNumber types rather than relying on native JavaScript numbers for wei calculations.
In Solidity, the EVM uses unsigned 256-bit integers natively - there are no floating-point types at all. Developers must work exclusively in wei within contract logic and handle decimal formatting on the frontend. Accurate ETH-to-wei conversion is a daily task for anyone building or auditing smart contracts.
When You Need a Crypto Unit Converter
The conversion you need depends on which part of the crypto ecosystem you are interacting with. Here are the most common situations:
| Scenario | Conversion | Why |
|---|---|---|
| Reading a Lightning invoice | Sats to BTC | Invoices display amounts in sats - convert to understand the dollar value |
| Checking gas fees on Etherscan | Gwei to ETH | Gas trackers show gwei prices - convert to estimate total transaction cost |
| Writing Solidity code | ETH to Wei | Contract logic uses wei for all value comparisons via msg.value |
| Setting gas in MetaMask | Gwei reference | MetaMask accepts manual gas prices in gwei |
| Comparing micro-payments | Sats to fiat | "50,000 sats" - is that $5 or $50? Quick conversion settles it |
| Auditing raw transaction data | Wei to ETH | Block explorer raw data shows values in wei |
Other Blockchain Unit Systems
Bitcoin and Ethereum established the pattern, but most blockchains follow the same design of using a small base unit for internal arithmetic and a larger unit for human display.
| Blockchain | Display Unit | Base Unit | Factor | Named After |
|---|---|---|---|---|
| Bitcoin | BTC | Satoshi | 10^8 | Satoshi Nakamoto |
| Ethereum | ETH | Wei | 10^18 | Wei Dai |
| Solana | SOL | Lamport | 10^9 | Leslie Lamport |
| Cardano | ADA | Lovelace | 10^6 | Ada Lovelace |
Solana's lamport is named after Leslie Lamport, the computer scientist whose work on distributed systems and consensus algorithms helped lay the groundwork for blockchain technology. Cardano's lovelace honours Ada Lovelace, the same historical figure behind Ethereum's "Lovelace" denomination at 10^6 wei. The convention of naming base units after pioneers in computing and cryptography has become a shared tradition across the ecosystem. Each chain picks a factor large enough to handle micro-transactions at any price point - Ethereum's 10^18 is the most granular, giving developers headroom even if ETH reaches extreme valuations. When working across multiple chains, the most common mistake is assuming all base units use the same factor. Sending a transaction with the wrong decimal adjustment on a cross-chain bridge can result in transferring a vastly different amount than intended.
To calculate profit on a crypto trade including fees, try the Crypto Profit Calculator. For planning regular purchases with dollar-cost averaging, the DCA Calculator models returns over time. For hexadecimal, binary, and other number system conversions, check the Number Base Converter. All conversions run entirely in your browser with no data sent to any server.
Sources
Frequently Asked Questions
How many satoshis are in 1 Bitcoin?
There are 100,000,000 (100 million) satoshis in 1 Bitcoin. A satoshi is the smallest unit of Bitcoin, named after Bitcoin's pseudonymous creator Satoshi Nakamoto.
How many gwei are in 1 ETH?
There are 1,000,000,000 (1 billion) gwei in 1 ETH. Gwei is the unit most commonly used for Ethereum gas prices.
How many wei are in 1 ETH?
There are 1,000,000,000,000,000,000 (10^18) wei in 1 ETH. Wei is the smallest denomination of Ether, similar to how a satoshi is the smallest unit of Bitcoin.
Why are crypto units so large?
Cryptocurrencies use very small base units to allow for precise transactions. When BTC costs tens of thousands of dollars, you need small units like satoshis to transact amounts worth a fraction of a cent. The same applies to ETH gas fees measured in gwei.
Is this converter accurate for very large numbers?
Yes. The converter uses precise integer arithmetic instead of floating point math, so it handles the full range accurately. This matters especially for ETH-to-wei conversions where numbers can be 18 digits long.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/crypto-unit-converter/" title="Crypto Unit Converter - Free Online Tool">Try Crypto Unit Converter on ToolboxKit.io</a>