Code 39 Barcode: Size, Structure and Check Digit

Barcodes · General-purpose linear codes

Code 39: Linear (1D). Data: Variable (start/stop *). Error checking: Optional modulo 43. Standard: ISO/IEC 16388. Typical use: Automotive (AIAG), defense (LOGMARS), healthcare, ID badges.

Type
Linear (1D)

Drawing

*CODE-39*
Real, scannable symbol for CODE-39 (no check character).

Code 39 specifications

TypeLinear (1D)
Character set43 characters: 0–9, A–Z, space, - . $ / + %
Data lengthVariable (start/stop *)
Check digit / error correctionOptional modulo 43
StandardISO/IEC 16388
Quiet zone10 X each side
Typical useAutomotive (AIAG), defense (LOGMARS), healthcare, ID badges

Code 39 is self-checking and very tolerant of poor printing, but long: each character takes about 13–16 X. It encodes only upper case, digits and seven symbols, with an asterisk as start/stop. Full ASCII Code 39 uses pairs of characters for lower case.

Also known as

USD-3LOGMARS

All barcode types

Compare all 17 barcode types →

Sources

  1. GS1 General Specifications (Release 24.0): §5 symbol specifications, symbol specification tables
  2. GS1: How to calculate a check digit manually
  3. GS1 Sweden: Barcode size guide (X-dimension and height tables)
  4. GS1 UK: How big should an ITF-14 barcode be?
  5. ISO/IEC 15420 (EAN/UPC), 15417 (Code 128), 16388 (Code 39), 16390 (ITF), 24724 (GS1 DataBar)
  6. ISO/IEC 18004 (QR Code), 16022 (Data Matrix), 15438 (PDF417), 24778 (Aztec Code)
  7. JsBarcode (MIT): Code 128 / Code 39 / Codabar pattern tables used to cross-check the drawings

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.