AQL Sample Size by Lot Size and Inspection Level

By william Jerry on December 2, 2026

aql-sample-size-by-lot-size

The number of pieces to inspect is not a guess at the dock, and it is not a number someone types into the lot. In iFactory Incoming Inspection (IQC) the sample size comes from two things you already have: the quantity you just received and the inspection level on the part. ANSI/ASQ Z1.4 turns those into a code letter, and the letter becomes the sample size for that lot, shown on the plan bar before anyone picks up a gauge. A Z1.4 sampling workspace works this out when you receive the lot, so the inspector is not looking up tables on paper.

Incoming Inspection (IQC) · ANSI/ASQ Z1.4 · Sample size

How many pieces to inspect, from the lot you just received

Enter the quantity, keep the part's inspection level, and the lot page shows the code letter and a line such as Inspect 80 of 800. The sample size is stored on the lot, so later lots can use a different plan without rewriting this one.

Lot size Inspection level Code letter Sample size
Lot IQC-000016 SEA-OR-024 Rubber O-ring, Normal inspection, level II, code letter J, Inspect 80 of 800, with critical, major and minor accept and reject numbers and a Still inspecting panel

What sets the sample size

Z1.4 does not start from a percentage of the lot. It looks up a code letter from the lot size and the inspection level, then reads the sample size from that letter. These figures are taken from lots in the IQC portal, not from a made-up chart.

Quantity
received
Inspection
level on the part
Code letter
from Z1.4
Sample size
on the lot
Lot in the portal
Level and letter
Sample size shown
800 received, Normal
Level II, code letter J
Inspect 80 of 800
600 received, Normal
Level II, code letter J
Inspect 80 of 600
350 received, Normal
Level II, code letter H
Inspect 80 of 350
136 received, Tightened
Level II, code letter F
Inspect 32 of 136

The same letter can produce the same sample size on different lot quantities, which is why 800 and 600 at level II both show 80 on letter J. A smaller lot, or a different letter, can show a different sample size, as with 32 of 136 on letter F.

What the sample size is tied to

The module does not let you type a sample size over the plan. It follows the part and the quantity, and it keeps that plan on the lot after receipt.

The part already has a level

Each part carries an inspection level: I, II, III or a special level S-1 to S-4. Level II is labelled usual. The receive form and the lot plan both read the level from that part record.

The quantity is what arrived

Sample size uses the quantity received, not a guess and not only the quantity ordered. If 800 arrived against an order of 800, the plan uses 800.

The letter is shown, not typed

The plan bar names the code letter beside the level. Nobody looks the letter up or keys it in. Changing the letter by hand is not a module function.

Accept and reject numbers come with it

Once the sample size is known, each defect class gets its own accept and reject numbers for that letter, AQL and stage. They appear on the same plan bar as Inspect n of N.

The plan is frozen on the lot

After the lot is received, that sample size stays with it, even if you later change the part's level or AQL. New lots use the new plan; this one keeps the plan it was received with.

See the sample size before the first reading

Load a supplier and part, receive a quantity, and the preview already reads Inspect n of N with the code letter. You do not finish the inspection to find out how many pieces to take.

How sample size is set in Incoming Inspection

1

Set the inspection level on the part

Open the part and choose I, II, III or S-1 to S-4. The helper text on that form says the sample size comes from the lot size and this level. If you are just starting, set up your first part and pick the level there.

2

Receive the lot with the quantity

Choose the supplier and part, enter the PO, lot or heat, and the quantity received. The preview names the sample size, the stage and the code letter, for example Inspect 80 of 600 · Normal inspection, code letter J.

3

Open the lot and read the plan bar

The lot page repeats the same plan: stage, level, code letter and Inspect n of N, plus accept and reject numbers for critical, major and minor.

4

Inspect that many pieces

The sample grid is sized for the plan. A measured characteristic on an 80-piece plan shows 80 rows. Paste values and the column summary use that same n.

5

Leave the plan alone after receipt

Switching the next lot to tightened, or editing the part, does not rewrite a lot that is already received. The history keeps the sample size that was used.

6

Export the plan with the lot

Download CSV includes the plan each lot was inspected under, next to the findings and the decision, so an audit can see n against N without opening every record.

What you see in the portal

The sample size is written in more than one place, so the dock and the inspector see the same number. You can sign up to access the Incoming Inspection micro app and watch the plan appear as soon as a quantity is entered.

Accepted lot IQC-000015 HSG-AL-210 Aluminium motor housing, Normal inspection, level II, code letter H, Inspect 80 of 350, with accept and reject numbers per class and The rules say Accept
A 350-piece lot at level II uses code letter H and still samples 80. Test data entered by iFactory in a QA account, not customer data.

A 800-piece lot at level II

On a Normal lot of rubber O-rings, 800 received, the plan reads code letter J and Inspect 80 of 800. Critical AQL is None allowed.

The same n on a smaller lot

A 350-piece housing lot at the same level uses code letter H, and the plan still reads Inspect 80 of 350. The letter changed; the sample size in these two lots did not.

A smaller letter, a smaller sample

A tightened lot of 136 pieces at level II uses code letter F and Inspect 32 of 136. The plan bar shows the Tightened badge beside that letter.

Incoming Inspection To inspect tab listing lots waiting for inspection, including a Tightened badge on a pump housing lot of 136 and Normal lots of rubber O-rings
Lots waiting to be inspected, each already carrying the sample size it was received with. Test data entered by iFactory in a QA account, not customer data.
Level IICode letter JCode letter HInspect 80

What the module does not do

The module applies the Z1.4 look-up and stores the result. It is not a general-purpose sample-size calculator sitting beside the lot.

You do not type the sample size

There is no field for overriding n on a received lot. If the plan looks wrong, check the quantity received and the level on the part, then receive the next lot after the correction.

It is not a standalone AQL calculator

Sample size here is produced by the Incoming Inspection module when a lot is received. Separate calculator pages, if you use them, are not this lot plan.

No skip-lot or Z1.9 plans

The look-up is Z1.4 attribute sampling at the lot's stage. Skip-lot and Z1.9 variables sampling are not part of the module.

Frequently asked questions

How does lot size change the sample size?

Z1.4 first picks a code letter from the quantity received and the inspection level. Lots in different size bands can get different letters, and those letters can carry different sample sizes. Two lots can also share a sample size, as with 80 on both 800 and 350 in the portal examples above.

Does tightened inspection always inspect more pieces?

Not always. Tightened inspection uses stricter accept and reject numbers. The sample size may stay the same as normal for that letter, or it may differ, depending on the letter. The tightened example in the portal, 32 of 136 on letter F, is the plan that lot was received with.

Who chooses the inspection level?

You set it on the part, with level II offered as usual. Special levels S-1 to S-4 are available when a smaller sample is the plan you want for that part.

Can I change the sample size on a lot that is already open?

No. The plan is frozen at receipt. Change the part's level for future lots; the open lot keeps Inspect n of N as received.

Where do I see the code letter?

On the receive-form preview, on the lot plan bar, and in the lots CSV. It sits next to the level and the Inspect n of N line.

How do I try it?

Start the 14-day trial with no card, or load the sample receiving dock first to see plans on demo lots. You can start the free trial here.

Let the lot size set the sample, not a spreadsheet

Receive the quantity and read Inspect n of N on the plan. The code letter, the sample size and the accept numbers are already on the lot.

  • Sample size from quantity and inspection level
  • Code letter shown on the receive preview and the lot
  • Plan frozen on each lot for a clean history

Free for 14 days · no card needed

Lots list scrolled through accepted, rejected, on-hold and to-inspect rows, with rejection lines such as 5 major defective in 80 sampled

Share This Story, Choose Your Platform!