ERC-20, opened on 26 November 2026 (Asia/Shanghai), defines transfer values as uint256 integer units and marks decimals, name, and symbol as OPTIONAL methods that interfaces must not expect to be present. When decimals is confirmed, the specification's own rule is to divide the raw amount by 10 raised to that decimals value (its example uses 8 decimals and a divisor of 100,000,000). A labelled synthetic table applies the same raw amount, 1,000,000 units, to a fictional 6-decimal token (display 1.000000) and a fictional 18-decimal token (display 0.000000000001). A third case with missing metadata is a stop state: the amount stays 1,000,000 raw units and is not converted. A labelled counter-example shows that treating the 6-decimal case as 18 decimals mis-scales the display figure by 10**12. No real token metadata is guessed, and no contract was called.
Calculation and worked example. AI-assisted drafting. Educational information; no individual financial advice.
ERC-20 transfer values are integer units. The optional decimals method, when it is present, only tells an interface how to divide those units for display. A ticker does not carry that scale, and the standard does not require a token to expose decimals at all.
This article is a unit-reading method for a transfer amount you already have as a raw integer. It uses a labelled table for two explicitly fictional tokens, one with 6 decimals and one with 18, and a stop state for missing metadata. No real token's decimals, name, or symbol is guessed. No transfer was sent, and no contract was called.
What ERC-20 says about units and optional metadata
ERC-20, a Final standard created on 19 November 2015 and opened on 26 November 2026 at https://eips.ethereum.org/EIPS/eip-20, defines transfer and transferFrom with a uint256 _value. The Transfer event uses the same integer _value. Those fields are amounts of token units, not a pre-scaled display figure.
The specification also defines decimals as follows: it "Returns the number of decimals the token uses - e.g. 8 , means to divide the token amount by 100000000 to get its user representation." That example of 8 decimals is the specification's own illustration. It is not a reading of any live token in this article.
The same method is OPTIONAL. The standard says this method "can be used to improve usability, but interfaces and other contracts MUST NOT expect these values to be present." name and symbol are OPTIONAL under the same wording. A ticker, including a familiar one, is optional metadata. It is not a substitute for a confirmed decimals value, and it is not a reason to assume a display scale.
If decimals is present and confirmed for that token contract, the specification's conversion is a division: display amount = raw integer units / (10 ** decimals). If it is not present, this method stops. It does not assume 18, 6, or 8.
A labelled unit table for two fictional tokens
The tokens, decimal values, and integer amounts below are assumed for the arithmetic. They are not taken from a live contract, a wallet, or a named ticker.
Assume the same raw transfer amount, 1,000,000 integer units, is being read in three situations.
| Case | Decimals metadata | Conversion used | Display amount | Stop or continue |
|---|---|---|---|---|
| Fictional token A | 6, confirmed | 1,000,000 / 10**6 = 1,000,000 / 1,000,000 | 1.000000 | Continue, with the confirmed scale |
| Fictional token B | 18, confirmed | 1,000,000 / 10**18 = 1,000,000 / 1,000,000,000,000,000,000 | 0.000000000001000000 | Continue, with the confirmed scale |
| Fictional token C | Missing or unconfirmed | None | Not converted | Stop, and keep the amount as 1,000,000 raw units |
The two converted rows use the specification's own rule (divide the token amount by 10 raised to the decimals). They are labelled synthetic arithmetic. The same raw integer is 1.000000 in the 6-decimal case and 0.000000000001 in the 18-decimal case. Those display figures are not interchangeable, and neither one can be inferred from a ticker alone.
A clearly labelled counter-example shows the cost of guessing the wrong scale. If someone treated fictional token A as if it had 18 decimals, the same 1,000,000 raw units would be shown as 0.000000000001 instead of 1.000000. That is a 1012 (one trillion) times error in the display figure: 10(18-6) = 1,000,000,000,000. The counter-example is illustrative only. It is not a live token, and it is not a reason to guess 6 or 18 when metadata is missing.
The official example in the specification (8 decimals, divide by 100,000,000) follows the same rule. For a raw amount of 1,000,000 under that documented example, the display amount would be 1,000,000 / 100,000,000 = 0.01000000. That figure is included only to show the specification's own example applied to the same raw integer. It is not a third fictional token in the table, and it is not assigned to a named asset.
The no-metadata stop state
Fictional token C is the stop state. ERC-20 tells interfaces they must not expect decimals to be present. When the method is missing, the raw _value is still a valid integer amount of units. What is not valid, in this method, is to fill in a display scale from habit, from a similarly named ticker, or from another token's metadata.
The stop is narrow. It does not mean the transfer did not happen. It does not mean the raw unit count is unusable. It means the display conversion is withheld until decimals are confirmed for that token contract. Optional name and symbol values, if they later appear, still do not supply the scale by themselves.
This article does not look up any real token's decimals, including widely known stablecoins or wrapped assets. Doing so would be guessing metadata the fixture is not allowed to import. If you need a display amount for a real token, confirm decimals from that token's own contract or from a primary source that states the figure for that contract, then apply the division. Until then, report the raw integer.
The method is about value encoding, not about which venue or network to use, and not about a list of official contract addresses. The ERC-20 page opened on 26 November 2026 matched the 24 November 2026 snapshot byte for byte. Recheck that page on publish day. No contract was called, and no wallet or explorer session is claimed.
Sources & method
What this article adds
A unit-reading method that treats ERC-20 transfer values as raw integer units and applies a labelled conversion table only when decimals metadata is confirmed. Two explicitly fictional tokens, with 6 and 18 decimals, convert the same raw amount of 1,000,000 units to 1.000000 and 0.000000000001 respectively. A no-metadata stop state refuses to assume 18, 6, or 8 and keeps the amount as 1,000,000 raw units. A labelled counter-example shows a 10**12 display error if the 6-decimal case is read as 18 decimals. The specification's own 8-decimal example is applied to the same raw integer only as documentation arithmetic, not as a named live token. No real-token decimals, name, or ticker is imported.
How it was prepared
Prepared research base KWREF-traderoutelab-04 (token transfer authorization and receiver semantics) from keyword-research/evidence-2026-11-25-to-2026-12-01 was reused, including the 24 November 2026 EIP-20 snapshot. The official ERC-20 page was re-opened on 26 November 2026 at 09:02 Asia/Shanghai with box curl and returned HTTP 200. The raw bytes matched the 24 November snapshot exactly. The 6-decimal, 18-decimal, and no-metadata cases, the 1,000,000 raw unit amount, and the 10**12 counter-example are synthetic and illustrative. The specification's 8-decimal example is quoted from the official page and applied only as labelled documentation arithmetic. No contract, wallet, or explorer session was used, and no real token metadata was looked up or guessed.
- ERC-20: Token Standard Checked 2026-11-26
The 26 November 2026 fetch of ERC-20 supplies the optional status of decimals, name, and symbol, the requirement that interfaces must not expect those methods to be present, the official conversion example (8 decimals, divide by 100,000,000), and the definition of transfer and Transfer value as uint256 integer units. No affiliate links are placed, so there is no commercial disclosure in the body.
For corrections, contact the publisher. Editorial policy · Affiliate disclosure