SmartDataAI Lab Notes: Motorcycle Chain Sizes — The Coded Width
A motorcycle chain's size is printed as three digits that are not a size at all until you do arithmetic on them: the first digit, in eighths of an inc...
A motorcycle chain's size is printed as three digits that are not a size at all until you do arithmetic on them: the first digit, in eighths of an inch, is the pitch — the spacing of the links — and the last two digits, in eightieths of an inch, are the inner width the sprocket must fit. A 530 chain is not bigger than a 428 in any single way; it is longer-pitched and wider. We built a 360-row register of six chain sizes and spelled each six ways. The code itself, and the full millimetre pair it decodes to, returned every chain exactly. Either dimension alone — the pitch a fitter measures first, the width a sprocket cares about — merged most of the register, because six chains are built from only three pitches and four widths, and the dimensions repeat independently.
How the register was built and read
The register holds six chains with the dimensions their codes decode to: 420 (pitch 1/2 inch, width 1/4 inch), 428 (1/2, 0.35), 520 (5/8, 1/4), 525 (5/8, 5/16), 530 (5/8, 3/8) and 630 (3/4, 3/8). The decoding is the register's own rule: pitch in inches is the first digit times 1/8; width in inches is the last two digits divided by 80. Each chain was written six ways, ten times each: the code; the pitch-and-width pair in millimetres at two decimals; the pitch alone in millimetres; the width alone in millimetres; the series word (4-series, 5-series, 6-series); and the pitch in whole millimetres. A spelling counts as exact when it returns the chain alone, merged when the set widens, refused when the set is empty. Every count here is measured output from the harness, stored as this batch's result JSON.
The Coded Width, defined
The Coded Width is a dimension that exists in a register only as arithmetic: the printed code carries the width as a count of eightieths, so the width is fully determined by the code and fully hidden by it, and a register that stores the code without decoding it holds the dimension without being able to search it. It is distinct from The Encoded Diameter, the batch 49 guitar-string concept, where the printed number "is the diameter multiplied by a fixed constant, so the true size can be recovered by pure arithmetic". The string code encodes one dimension with one constant. The chain code encodes two dimensions with two different constants — eighths for the pitch, eightieths for the width — packed into one digit string whose split point the reader must already know. Decode it wrong, reading all three digits on one scale, and every dimension is wrong at once; decode it right, and the code is the most compact exact spelling the register has, tied with the millimetre pair it produces. The case-study discipline this article follows is to decode at intake and store both dimensions beside the code, so the register can be searched on the dimension a sprocket actually specifies.
One chain, six ways, worked in full
Take the 530, the register's commonest touring size: pitch 5/8 inch, width 3/8 inch. Written "530", it returns itself. Written as its millimetre pair, "15.88 x 9.53 mm", it returns itself. Written by pitch alone, "15.88 mm pitch", it returns three chains — the 520 and 525 share its pitch exactly. Written by width alone, "9.53 mm inner width", it returns two — the 630, a heavier chain on a longer pitch, carries the same 3/8-inch width, and a width-keyed register would offer it as a match for a sprocket it cannot wrap. Written "5-series chain", it returns the same three as its pitch. Written "16 mm pitch", whole millimetres, it returns the same three again. The 530 is the register's most connected chain: four of its six spellings merge, and the two exact ones are the code and the pair — the spellings that carry both dimensions at once. Neither dimension is a key. Together they are the identity.
What the six spellings returned
| Spelling | Exact | Merged | Refused |
|---|---|---|---|
| Code (530) | 60 | 0 | 0 |
| Pitch × width pair, mm | 60 | 0 | 0 |
| Pitch alone, mm | 10 | 50 | 0 |
| Width alone, mm | 20 | 40 | 0 |
| Series word | 10 | 50 | 0 |
| Pitch, whole mm | 10 | 50 | 0 |
| All 360 rows | 170 | 190 | 0 |
Only the 630 — alone on its 3/4-inch pitch — is exact on the pitch spellings and the series word; every other chain shares its pitch with at least one sibling. The width spelling separates the 428 and the 525, the two chains alone on their widths, and merges the rest into two pairs: 6.35 mm joins the 420 and the 520 across two series, and 9.53 mm joins the 530 and the 630. Nothing in the register is refused — every spelling says something true — which is its own hazard: a register that never refuses can still be wrong on 190 of 360 rows, silently, by returning a set where a single chain was asked for.
Short answers
What is the coded width? The chain code's hidden dimension: the last two digits are the inner width in eightieths of an inch, recoverable only by decoding the code — fully determined, and unsearchable until decoded.
Which spellings identify a chain? The code and the full millimetre pair — 60 of 60 each. Every single-dimension spelling merges.
What does pitch alone return? 12.70 mm returns the 420 and 428; 15.88 mm returns the 520, 525 and 530; only the 630's 19.05 mm pitch is unique, so 50 of 60 pitch rows merge.
Why is the width merge the risky one? Because width is what a sprocket specifies: 9.53 mm returns both the 530 and the longer-pitched 630, and fitting by width alone can match a chain to a sprocket it cannot wrap.
FAQ
Can the code be read as a single number?
No — it is two counts in two units sharing one string: first digit times 1/8 inch for pitch, last two digits over 80 for width. Read as one quantity it decodes to nothing, which is why the register stores the decoded pair beside it.
Does whole-millimetre rounding add merges here?
None beyond the two-decimal spelling's: 13 mm returns the same pair as 12.70, and 16 mm the same triple as 15.88, because the register's pitches are far apart relative to a millimetre. The merges come from shared dimensions, not from rounding.
Why does the series word merge exactly like the pitch?
Because the series is the pitch: the first digit names both. "5-series" and "15.88 mm pitch" are the same spelling in different clothes, and the harness returns the same three chains for each.
What should a parts register store?
The code as the label, and pitch and width as decoded, searchable fields in one stated unit. The pair spelling was exact on all 60 rows; neither field alone came close.
One-line conclusion, with its condition: a chain code is an exact key only while both its dimensions travel together — split them, and each half is a merge; the condition is that the register decodes at intake rather than at search time.
Source: SmartDataAI cleaning run, batch 67: six motorcycle chain sizes decoded and respelled six ways, 360 rows. The result JSON and harness behind every count sit in the batch evidence pack. !Exact returns for the code, the pair and each single dimension, per the results table