Denomination Units
- Category
- Cryptocurrency
- Level
- Foundation
Simple definition
The smaller units a digital asset is divided into, and the names given to them. One bitcoin is 100 million satoshi; one ether is a billion billion wei.
Professional definition
The integer base unit a protocol actually records, plus the display names layered on top of it. Bitcoin uses satoshi at eight decimal places; Ethereum uses wei at eighteen, with gwei at nine as the conventional unit for gas prices. Token contracts declare their own decimals field.
Technical definition
Protocols store balances as integers of a base unit to keep consensus arithmetic exact, and the human-readable figure is a presentation layer. Because an ERC-20 style contract chooses its own decimals, no cross-token assumption about eighteen places is safe: reading a raw balance with the wrong scale misstates it by orders of magnitude. Unlike national currencies, these assets have no ISO 4217 code, so ticker symbols are conventions set by venues and data providers.
Academic definition
The hierarchy of integer base units and derived display units in which a digital asset's quantities are represented, fixed per protocol or per contract rather than by any external standard.
Mechanism
Integer base units exist for consensus, not for convenience: if nodes rounded decimals differently they would disagree about balances, so the smallest unit is made indivisible and everything above it is cosmetic. The practical consequence is that every interface must know the scale of the thing it displays, and a wrong scale is a silent error rather than a visible one.
In practice
- Who uses it
- Wallet and exchange engineers, accountants reconciling on-chain data, bot authors parsing contract calls, and anyone reading a raw balance from a block explorer.
- Why it matters
- Every conversion between a protocol figure and a displayed figure passes through the unit scale, so the scale is where quantity errors originate.
- Limitations
- There is no cross-chain standard: decimals are set per protocol or per token contract, and tickers are not standardised either.
Common mistakes
- Assuming every token uses eighteen decimals.
- Reading a gwei gas price as if it were ether.
- Storing amounts as floating-point numbers instead of integers.
Examples
A contract reports a balance of 2,500,000 raw units. At eighteen decimals that is 0.0000000000025 tokens; at six decimals it is 2.5 tokens. The same integer, a difference of twelve orders of magnitude.
- raw integer balance = 2,500,000
- case A: decimals = 18
- case B: decimals = 6
- case A: 2,500,000 / 10^18 = 2.5 x 10^-12
- case B: 2,500,000 / 10^6 = 2.5
The decimals value must be read from the contract itself. Nothing in the raw number reveals its scale.
A national currency has one legal subdivision and an ISO code. A digital asset may have several informal unit names and no ISO code at all, so two venues can list the same asset under different tickers.
Mathematical foundation
Variables
| a_{\text{raw}} | Integer amount as stored by the protocol or contract | base units |
| a_{\text{display}} | Human-readable amount in the headline unit | headline units |
| d | Decimals declared by the protocol or token contract | count |
Procedure
Read the decimals value from the protocol specification or the token contract, never from habit. Divide the raw integer by ten to that power for display, and multiply when writing an amount back into a transaction.
Worked example
- raw amount = 1,500,000,000 wei-style base units
- d = 9 (gwei scale)
- 10^9 = 1,000,000,000
- 1,500,000,000 / 1,000,000,000 = 1.5
Interpretation
The result is the same quantity expressed at a chosen scale. It is a unit conversion only, with no economic content.
Assumptions
- d is a property of the protocol or the specific token contract, not a universal constant.
- Division is applied to an exact integer; performing it in floating point can lose low-order digits of large balances.
- The formula converts units and says nothing about value, liquidity or whether the balance is transferable.
- A contract may declare decimals and still display amounts differently in its own interface, so display conventions and the contract value can diverge.
Related terminology
Lot Size
Denomination is how finely an asset can be divided on its ledger. Lot size is how finely a venue will let you trade it. A chain can support eight decimals while an exchange enforces a much coarser minimum order.
Sources
O'Reilly · 2017 · chapter on units, denominations and amount representation
Print source
Ethereum Foundation · entries for wei, gwei and ether
https://ethereum.org/glossary/ URL verified
bitcoin.org · 2008-10-31 · section 9, combining and splitting value
https://bitcoin.org/bitcoin.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
