Skip to main content
Popular searches
BlockchainUpdated: Nov 11, 2026

Wei

Wei is the smallest unit of Ether, the native cryptocurrency of the Ethereum blockchain. 1 Ether equals 1 quintillion Wei.

Also known as:smallest Ethereum unit

What Is Wei?

Wei is the smallest unit of ether (ETH), the native currency of Ethereum. One ether equals 1,000,000,000,000,000,000 wei (10 to the power of 18). The unit is named after Wei Dai, the cryptographer who proposed b-money, an early design for digital cash.

Ethereum itself works only in wei. Balances, transfer amounts and fees are stored as whole numbers of wei, which avoids rounding errors in smart contracts. Wallets convert these integers into ether for display.

The unit seen most often is gwei, one billion wei, used for gas prices. A fee is the gas used multiplied by the gas price: a plain ETH transfer uses 21,000 gas, so at 10 gwei it costs 210,000 gwei, or 0.00021 ETH.

On a hardware wallet you normally see the amount in ETH and the maximum fee, already converted. Raw integers appear when a device cannot decode a contract call and shows the data as it is. Tokens add a trap: each token defines its own number of decimals (many use 18 like ether, USDC uses 6), so the same raw number can mean very different amounts. That is one reason to prefer transactions the device can display in readable form.

Real-World Examples

Example 1: A user sends 0.01 ETH from a Cypherock X1. Inside the transaction the value is 10,000,000,000,000,000 wei; the device screen shows 0.01 ETH and the fee.

Example 2: The network gets busy and the gas price rises from 10 to 50 gwei. The fee for the same plain transfer goes from 0.00021 ETH to 0.00105 ETH.

Example 3: A block explorer lists the value of a contract call as 1000000000000000000. Counting the digits shows that this is exactly 1 ETH.

BlockchainEthereum

Read full definition: Ethereum
BlockchainSmart Contract

Read full definition: Smart Contract
TransactionGas Price

Read full definition: Gas Price
WalletHardware Wallet

Read full definition: Hardware Wallet
BlockchainToken

Read full definition: Token
BlockchainStablecoin

Read full definition: Stablecoin
BlockchainBlock Explorer

Read full definition: Block Explorer

Frequently Asked Questions

How do I convert an amount in wei to ETH?

Divide it by 10 to the power of 18: one ether equals 1,000,000,000,000,000,000 wei. A raw value of 1000000000000000000 is therefore exactly 1 ETH, and 0.01 ETH is 10,000,000,000,000,000 wei. Counting the digits is a quick check when a block explorer shows a raw number.

How is gwei used to calculate an Ethereum fee?

Gwei is one billion wei and is the unit for gas prices. The fee is the gas used multiplied by the gas price. A plain ETH transfer uses 21,000 gas, so at 10 gwei it costs 210,000 gwei, or 0.00021 ETH; at 50 gwei the same transfer costs 0.00105 ETH.

Why does my hardware wallet sometimes show a long raw number instead of an amount in ETH?

When a device cannot decode a contract call, it shows the data as it is, with amounts as raw integers. Tokens add a trap: each token defines its own number of decimals, many using 18 like ether and USDC using 6, so the same raw number can mean very different amounts. Transactions the device can display in readable form avoid this.

Ready to Choose a Secure Wallet?

Use our tools to find the right hardware wallet for your needs.