Tool · free · no account · runs offline

Unit Converter

Exact base-integer conversion across the wei family (wei to ether, the way Ethereum actually counts) and the satoshi family (msat to BTC, Lightning-scale included) — plus the fee math every bitcoiner does daily: transaction size in vB times fee rate in sat/vB. No exchange rates fetched, because a converter that needs a price API stops working the moment you go offline.

Works offline

This tool is plain client-side JavaScript — no accounts, no server calls, no telemetry, not even a web font from a CDN. To keep it forever: press Ctrl + S (Mac: Cmd + S), choose "Webpage, Complete", and open the saved file any time — with Wi-Fi off, in airplane mode, on a machine that never touches the internet.

Tool 08 · runs offline

Convert units, calculate fees

Exact base-integer conversion across the wei family (wei to ether, the way Ethereum actually counts) and the satoshi family (msat to BTC, Lightning-scale included) — plus the fee math every bitcoiner does daily: transaction size in vB times fee rate in sat/vB. No exchange rates are fetched, because a converter that needs a price API stops working the moment you go offline. This one never does.

×
Under the hood

How the Unit Converter works

Unit mistakes in crypto are expensive in a way decimal mistakes elsewhere are not, because the smallest units are enormous: one ether is 1018 wei, one bitcoin is 108 satoshi, and one satoshi is itself 103 millisatoshi in Lightning's accounting. Floating-point arithmetic silently loses precision at exactly these magnitudes — so this converter does all arithmetic in JavaScript BigInt, the base integer units themselves, and only formats to decimal strings at the end. Converting 12,345,678,901,234,567,890 wei is exact, not approximate.

The two families are deliberately kept apart. Wei→ether is a fixed 18-decimal relationship, and msat→BTC a fixed 11-decimal one; but wei→BTC or sat→ETH requires a market price, and prices require a data feed. The moment a converter fetches a price, it stops working offline, starts making network requests tied to your queries, and bakes a stale rate into your math. This tool refuses that trade: it converts units, not value, and says so.

The fee calculator covers the multiplication every bitcoiner does before confirming a send: transaction weight in virtual bytes (vB) times the fee rate in sat/vB, both numbers your wallet shows you. 141 vB at 12 sat/vB is 1,692 satoshi — computed exactly, then also expressed in BTC so you can sanity-check against the amount you are sending. If a fee ever looks wrong relative to the transfer, that is your signal to stop and decode the transaction first.

FAQ

Unit Converter — questions

Why won't it convert BTC to ETH or show dollar values? +

Cross-currency values need a market price, and prices need a live data feed — which would stop the tool from working offline and would tie your queries to a third-party API. This converter does exact unit math only; pair it with any price source you trust if you need a value estimate.

What is a millisatoshi (msat)? +

Lightning Network accounting works in millisatoshi — one thousandth of a satoshi — because routing fees and HTLC amounts are computed at that granularity. A msat never exists on-chain (a bitcoin cannot be split below one sat), but it is real in Lightning invoices and channel balances, so it belongs in any honest satoshi-family converter.

Can large numbers lose precision here? +

No. All arithmetic uses BigInt — JavaScript's arbitrary-precision integers — on the smallest unit of each family. Rounding only happens in the final display string, and the exact integer is shown alongside so you can verify. That is precisely why this tool exists: 10^18-scale numbers break ordinary float calculators.