Toolkit
All tools
Crypto unit maths · Free

Satoshi & Gwei Converter

Move an amount between BTC, mBTC, bits and satoshis, between ether, gwei and wei, or across any token's own decimals, with the exact base-unit integer ready to paste into a contract call or a block explorer.

Exact in your browser · No wallet, no lookup, no price feed

1 BTC is 1 BTC and 100000000 sats.

Base units · satoshi
100000000
100,000,000

The integer a contract call, an explorer, or an RPC response uses for 1 BTC.

1 BTC = 100,000,000 sats8 decimals
Conversion desk

Edit any unit; the others follow instantly

Every field is an input. The one you last typed in is marked as the source.

Source
1 BTC = 100,000,000 sats
BTC
1 mBTC = 100,000 sats
mBTC
1 bits = 100 sats
bits
The base unit: whole numbers only
sats
Unit reference

What each denomination is, and where it turns up

UnitSymbolIn satsIn BTCWhere you meet it
bitcoinBTC100,000,0001Exchange tickers, wallet balances, and every headline price.
millibitcoinalso millibitmBTC100,0000.001A denomination setting in Electrum and a few European exchanges.
bitalso microbitcoin, µBTCbits1000.000001The 2017 proposal for retail pricing; still an option in some wallets.
satoshisats10.00000001Lightning invoices, fee rates in sat/vB, and every on-chain output.

Why integers, never decimals

In JavaScript, 1.1 × 1e18 returns 1100000000000000100, a hundred wei that never existed. Every value here is built by moving a decimal point through a string, so what you copy is what the chain stores.

Gas is quoted in gwei

A 21,000-gas transfer at 30 gwei costs 630,000 gwei, which is 0.00063 ETH. Wallets show gwei, contracts and RPC replies deal in wei, and the gap between them is where fee mistakes start.

Decimals belong to the token

USDC uses 6, WBTC uses 8, most ERC-20s use 18, and a few use none at all. Read decimals() from the contract before trusting a balance; assuming 18 is how a $5 transfer becomes $5,000,000.

This page converts numbers and nothing else. It does not look up token addresses, read balances, connect a wallet, or fetch a price; there is no network call anywhere in it, so every figure comes from what you typed. Confirm the amount, the unit, and the destination inside your wallet before signing: an on-chain transfer cannot be undone, and a converter cannot check a transaction for you.

How it works

One integer underneath, every unit on top.

A denomination is not a currency conversion: the units of a chain differ only by a power of ten. This page holds your amount as a single whole number of base units, then renders that number at each unit's own decimal position, which is why nothing drifts and every field agrees.

  1. 01

    Pick the chain

    Bitcoin, Ethereum, or a token of your own. A custom token needs two things: its ticker and the number its decimals() function returns (six for USDC, eighteen for most ERC-20s).

  2. 02

    Type into whichever unit you already have

    Enter 30 in the gwei box or 0.05 in the ether box; every other field on the ladder rewrites itself on the keystroke, and the one you touched is flagged as the source.

  3. 03

    Copy the integer you actually need

    Each row has its own copy button and the figure at the top is the base-unit integer explorers and contract calls expect. Copies always come out ungrouped, whatever the display is doing.

Built for amounts that must be exact

Where a rounding error costs real money.

Integer maths, start to finish

Your typing goes straight into a BigInt and comes back out the same way. No amount is ever a floating-point number, so an eighteen-decimal balance keeps every digit it arrived with.

The whole ladder is live at once

No from-and-to dropdowns to set up. BTC, mBTC, bits and sats (or ether, finney, szabo, gwei and wei) all recalculate from whichever box currently has your cursor in it.

Impossible precision is refused, not rounded

There is no such thing as 1.5 satoshi. Type one and the tool says so, because quietly rounding to 1 or 2 is exactly how a copied amount stops matching the transaction you meant to send.

Any token, zero to thirty-six decimals

Name the ticker, set the decimals, and get a matching ladder with milli and micro rungs wherever there is room for them. A six-decimal stablecoin and an eighteen-decimal token are one field apart.

Messy input is understood

Commas, spaces, underscores, apostrophes, a leading plus, a bare .5 and stray leading zeros all parse cleanly. Minus signs, letters, hex prefixes and anything past a uint256 come back with a reason.

Optional pricing, definitely no price feed

Supply a rate yourself and see what the amount is worth, down to fractions of a cent for a single satoshi. Nothing is fetched, nothing is sent, and the line always says the price came from you.

Denomination questions

Sats, gwei, wei, and token decimals.

How many satoshis are in a bitcoin?+

Exactly 100,000,000. The satoshi is the smallest unit the Bitcoin protocol recognises, so every on-chain amount is a whole number of them. That makes 0.001 BTC 100,000 sats, and the 546-sat dust threshold 0.00000546 BTC.

How many wei are in an ether, and where does gwei fit?+

One ether is 10^18 wei, a quintillion. Gwei is 10^9 wei, so an ether is a billion gwei and a gwei is a billionth of an ether. Gas is quoted in gwei purely for legibility: the same fee in wei is a wall of digits, and in ether it is a string of leading zeros.

What is one gwei worth in dollars?+

That depends entirely on the ether price, and this page deliberately has no price feed. Put the rate you want into the optional price box and the value line follows it. At 3,000 per ETH, one gwei is 0.000003, and a 21,000-gas transfer at 30 gwei costs 0.00063 ETH, about 1.89.

Why does 1.5 satoshi get rejected?+

Because it cannot exist. A satoshi is indivisible on-chain, and wei works the same way on Ethereum: outputs and balances are whole numbers of the base unit. Handing back a rounded 1 or 2 would be returning an amount you never typed, so the tool refuses and explains instead.

What are finney and szabo?+

Names from Ethereum's early years: szabo is a microether (10^12 wei) and finney a milliether (10^15 wei), after Nick Szabo and Hal Finney. Solidity removed them as unit suffixes in version 0.7, so today they turn up mainly in older contracts and documentation, while gwei and wei do the real work.

How do I convert a token amount when I do not know its decimals?+

You cannot do it safely, and no tool can guess for you. The same raw integer means one dollar or a million depending on whether the token uses 6 decimals or 18. Read decimals() from the contract on a block explorer first, then set that number here. This page performs no address lookups of any kind.

Does this connect to a wallet or touch the network?+

No. There is no wallet integration, no address field, no API call, and nothing about your input is transmitted or stored; the arithmetic runs in the page and stays there. Standing advice applies regardless: never type a seed phrase or private key into any website, including this one.

Why do two converters disagree in the last few digits?+

Almost always floating point. A tool that multiplies by 1e18 in JavaScript is working with 53 bits of precision, so 1.1 ETH comes back as 1100000000000000100 wei, a hundred wei of pure invention. Parsing the decimal string into an integer, as this page does, is what keeps the final digits boring.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools