{
 "meta": {
  "title": "Sample size code letters and single sampling plans for normal inspection",
  "source": {
   "document": "MIL-STD-105E, Sampling Procedures and Tables for Inspection by Attributes, U.S. Department of Defense, 10 May 1989",
   "tables": {
    "codeLetters": "Table I — Sample size code letters (page 13)",
    "singleNormal": "Table II-A — Single sampling plans for normal inspection (Master table) (page 14)"
   },
   "status": "United States Government work in the public domain. ANSI/ASQ Z1.4 and ISO 2859-1 are the current standards that descend from it.",
   "scan": "https://archive.org/details/MIL-STD-105E_1"
  },
  "verification": {
   "date": "2026-10-11",
   "method": [
    "All 105 code-letter cells and all 416 Table II-A cells (including every arrow) were read from the page scans of MIL-STD-105E and keyed in column by column.",
    "The resolved plan for every cell (sample size, Ac, Re after following arrows) was compared by script with the tables in the R package AQLSchemes 1.7-2 (CRAN, function AAZ14Single, normal inspection): 416 of 416 cells and 105 of 105 code letters agree.",
    "Not compared cell by cell against the current paid editions of ANSI/ASQ Z1.4 or ISO 2859-1."
   ]
  },
  "cellEncoding": "Each Table II-A cell is either [Ac, Re], or \"D\" (arrow down: use the first sampling plan below the arrow), or \"U\" (arrow up: use the first sampling plan above the arrow). When an arrow is followed, the sample size is that of the code letter where the plan is found.",
  "footnote": "If the sample size equals or exceeds the lot or batch size, do 100 percent inspection (Table II-A footnote).",
  "note": "Reference data only. The standard named in your contract or purchase order, in the edition it names, is what governs."
 },
 "levels": [
  "S-1",
  "S-2",
  "S-3",
  "S-4",
  "I",
  "II",
  "III"
 ],
 "lotRanges": [
  {
   "min": 2,
   "max": 8
  },
  {
   "min": 9,
   "max": 15
  },
  {
   "min": 16,
   "max": 25
  },
  {
   "min": 26,
   "max": 50
  },
  {
   "min": 51,
   "max": 90
  },
  {
   "min": 91,
   "max": 150
  },
  {
   "min": 151,
   "max": 280
  },
  {
   "min": 281,
   "max": 500
  },
  {
   "min": 501,
   "max": 1200
  },
  {
   "min": 1201,
   "max": 3200
  },
  {
   "min": 3201,
   "max": 10000
  },
  {
   "min": 10001,
   "max": 35000
  },
  {
   "min": 35001,
   "max": 150000
  },
  {
   "min": 150001,
   "max": 500000
  },
  {
   "min": 500001,
   "max": null
  }
 ],
 "codeLetters": {
  "S-1": [
   "A",
   "A",
   "A",
   "A",
   "B",
   "B",
   "B",
   "B",
   "C",
   "C",
   "C",
   "C",
   "D",
   "D",
   "D"
  ],
  "S-2": [
   "A",
   "A",
   "A",
   "B",
   "B",
   "B",
   "C",
   "C",
   "C",
   "D",
   "D",
   "D",
   "E",
   "E",
   "E"
  ],
  "S-3": [
   "A",
   "A",
   "B",
   "B",
   "C",
   "C",
   "D",
   "D",
   "E",
   "E",
   "F",
   "F",
   "G",
   "G",
   "H"
  ],
  "S-4": [
   "A",
   "A",
   "B",
   "C",
   "C",
   "D",
   "E",
   "E",
   "F",
   "G",
   "G",
   "H",
   "J",
   "J",
   "K"
  ],
  "I": [
   "A",
   "A",
   "B",
   "C",
   "C",
   "D",
   "E",
   "F",
   "G",
   "H",
   "J",
   "K",
   "L",
   "M",
   "N"
  ],
  "II": [
   "A",
   "B",
   "C",
   "D",
   "E",
   "F",
   "G",
   "H",
   "J",
   "K",
   "L",
   "M",
   "N",
   "P",
   "Q"
  ],
  "III": [
   "B",
   "C",
   "D",
   "E",
   "F",
   "G",
   "H",
   "J",
   "K",
   "L",
   "M",
   "N",
   "P",
   "Q",
   "R"
  ]
 },
 "letters": [
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "J",
  "K",
  "L",
  "M",
  "N",
  "P",
  "Q",
  "R"
 ],
 "sampleSizes": {
  "A": 2,
  "B": 3,
  "C": 5,
  "D": 8,
  "E": 13,
  "F": 20,
  "G": 32,
  "H": 50,
  "J": 80,
  "K": 125,
  "L": 200,
  "M": 315,
  "N": 500,
  "P": 800,
  "Q": 1250,
  "R": 2000
 },
 "aqls": [
  "0.010",
  "0.015",
  "0.025",
  "0.040",
  "0.065",
  "0.10",
  "0.15",
  "0.25",
  "0.40",
  "0.65",
  "1.0",
  "1.5",
  "2.5",
  "4.0",
  "6.5",
  "10",
  "15",
  "25",
  "40",
  "65",
  "100",
  "150",
  "250",
  "400",
  "650",
  "1000"
 ],
 "singleNormal": {
  "A": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "D",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   [
    30,
    31
   ]
  ],
  "B": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   [
    30,
    31
   ],
   [
    44,
    45
   ]
  ],
  "C": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   [
    30,
    31
   ],
   [
    44,
    45
   ],
   "U"
  ],
  "D": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   [
    30,
    31
   ],
   [
    44,
    45
   ],
   "U",
   "U"
  ],
  "E": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   [
    30,
    31
   ],
   [
    44,
    45
   ],
   "U",
   "U",
   "U"
  ],
  "F": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "G": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "H": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "J": [
   "D",
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "K": [
   "D",
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "L": [
   "D",
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "M": [
   "D",
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "N": [
   "D",
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "P": [
   "D",
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "Q": [
   [
    0,
    1
   ],
   "U",
   "D",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ],
  "R": [
   "U",
   "U",
   [
    1,
    2
   ],
   [
    2,
    3
   ],
   [
    3,
    4
   ],
   [
    5,
    6
   ],
   [
    7,
    8
   ],
   [
    10,
    11
   ],
   [
    14,
    15
   ],
   [
    21,
    22
   ],
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U",
   "U"
  ]
 }
}