Crypto Unit Converter

Convert Bitcoin (BTC, mBTC, bits, satoshi), Ethereum (ETH, Gwei, wei), token decimals and hashrate with exact BigInt math — zero floating-point error.

Why BigInt? Try 0.1 + 0.2 in floating point → 0.30000000000000004. Every conversion on this page runs as exact integer math on BigInt — this tool never floats.

0.1 + 0.2
float
BigInt
1.23456789 BTC → satoshi
float
BigInt

Bitcoin units

1 BTC = 1,000 mBTC = 1,000,000 bits (μBTC) = 100,000,000 satoshi. Type in any box — the others update instantly.

Ethereum units

1 ETH = 1,000,000,000 Gwei = 1,000,000,000,000,000,000 wei. Gas prices are usually quoted in Gwei.

Token decimals (raw ↔ human)

Contracts and block explorers store integer raw base units; the token’s decimals value says where the point goes. Pick the decimals, then convert either way.

Hashrate

SI decimal prefixes, each step ×1,000: 1 EH/s = 1,000 PH/s; 1 TH/s = 1,000,000,000,000 H/s.

Convert Bitcoin, Ethereum, token and hashrate units

Move between BTC, mBTC, bits and satoshi; ETH, Gwei and wei; raw ERC-20 base units and human amounts for any token decimals; and H/s through EH/s. Type in any box and the linked boxes update live. Every result is computed with exact BigInt fixed-point arithmetic — full precision, thousands grouping, no scientific notation, and nothing leaves your browser.

Crypto units are just powers of ten — 1 bitcoin is 100,000,000 satoshis, 1 ether is 10^18 wei, 1 Gwei is 10^9 wei — but converting them with ordinary floating-point math silently corrupts the low digits: 1.23456789 BTC × 10^8 evaluates to 123456788.99999999 in IEEE-754 doubles. Off-by-one-satoshi errors are invisible until they matter.

Every conversion here runs in exact BigInt fixed-point arithmetic: decimal strings are parsed into integer coefficients, shifted, and formatted back with full precision — never through a float, never in scientific notation. The token-decimals section converts raw on-chain integers (what Etherscan and contracts store) to human amounts for any precision from 0 to 36, with USDC (6), WBTC (8) and standard ERC-20 (18) presets, and a hashrate section covers H/s through EH/s.

FAQ

What is a satoshi?

The satoshi is the smallest unit recorded on the Bitcoin ledger: 1 BTC = 100,000,000 satoshi. An amount like 0.00021500 BTC is really stored as 21,500 whole satoshi, which is why this converter treats the satoshi box as integers only.

Why do wei and Gwei exist?

Ethereum stores every balance as an integer number of wei — 1 ETH = 1,000,000,000,000,000,000 wei — so the chain itself never handles fractions. Gwei (1,000,000,000 wei) is the convenient middle unit: gas prices are usually quoted in Gwei.

What are token decimals, and why does Etherscan show a huge raw value?

ERC-20 contracts store integer base units plus a decimals value that tells wallets where to place the point. USDC uses 6 decimals, so a raw value of 1234567 read from a contract or block explorer means 1.234567 USDC. The Token decimals section converts both directions for any decimals from 0 to 36.

Why does this tool insist on BigInt instead of normal numbers?

Floating point cannot represent most decimal fractions: 0.1 + 0.2 evaluates to 0.30000000000000004, and 1.23456789 × 100,000,000 gives 123456788.99999999 instead of 123456789. Converters built on floats leak such errors into the last satoshi or wei. Every conversion here parses your input as an exact integer (BigInt) plus a decimal shift, so results are exact at any scale and are never shown in scientific notation.

Is anything I type uploaded?

No. All conversions run locally in your browser with no server call — amounts you enter never leave your device.

Does it convert between different coins?

No. This is a pure unit converter: it rescales denominations of the same quantity (BTC↔satoshi, ETH↔wei, raw↔human token amounts, hashrate prefixes). It contains no market data of any kind.

Last updated: