How Laetus Pharmacode Binary Bar Encoding Works
Pharmacode (also known as Pharmaceutical Binary Code, developed by Laetus) is an industrial verification symbology designed for pharmaceutical packaging machinery. Unlike retail EAN-13 or logistics Code 128 symbols, Pharmacode does not encode letters or variable-width spaces. Instead, every gap between bars has a fixed uniform width, and only the bars themselves vary between narrow and thick to represent a decimal integer from 3 to 131,070.
Mathematical Encoding Examples (Right-to-Left Powers of 2)
Each bar position i (counting from i = 0 on the rightmost bar) contributes 2^i when narrow and 2 × 2^i when thick. Because every bar carries at least 1 × 2^i, two narrow bars produce the minimum value 1 + 2 = 3, and sixteen thick bars produce the maximum value 131,070.
| Decimal Code | Bar Sequence (Left → Right) | Positional Math (Right → Left) | Bar Count |
|---|---|---|---|
| 3 | Narrow, Narrow | 1 + 2 = 3 | 2 bars (minimum) |
| 15 | Narrow, Narrow, Narrow, Narrow | 1 + 2 + 4 + 8 = 15 | 4 bars |
| 1234 | N, N, T, T, N, T, N, N, T, T | 2+4+4+8+32+32+128+256+256+512 = 1234 | 10 bars |
| 131070 | 16× Thick Bars | 2 + 4 + 8 + ... + 65536 = 131070 | 16 bars (maximum) |
Pharmacode Technical Specifications & Packaging Rules
| Parameter | Standard Laetus Specification | Packaging Line Guidance |
|---|---|---|
| Numeric Range | 3 – 131,070 | Integers only (14 bits / 2–16 bars) |
| Narrow / Thick Bar Width | 0.5 mm narrow / 1.5 mm thick (3:1 ratio) | Uniform 1.0 mm gap between all bars |
| Recommended Bar Height | 8 mm – 12 mm minimum | Taller bars tolerate vertical web drift on leaflets |
| Human-Readable Text | Optional (often hidden on carton flaps) | Use the toggle above to show or hide numerals |
| Color & Contrast | High contrast (dark ink on light board) | Export vector SVG for exact spot-color carton prepress |
Need serialization with batch/expiry dates alongside carton verification? Pair Pharmacode flap checks with Code 128 or Code 39 tracking codes, and follow our 203 DPI vs 300 DPI Printing Guide for sharp bar edges.


