Sampling Compliance Checker
Enter your lot, sample plan, and defect results. The checker evaluates sample adequacy, acceptance decision, critical-defect status, and an AQL reference line.
Example data table
| Lot | Lot Size | Required Sample | Actual Sample | Ac / Re | AQL % | Defective Units | Critical | Major | Minor | Decision |
|---|---|---|---|---|---|---|---|---|---|---|
| Batch A | 1200 | 80 | 80 | 3 / 4 | 2.50 | 2 | 0 | 1 | 3 | Accepted |
| Batch B | 900 | 50 | 42 | 2 / 3 | 1.50 | 2 | 0 | 2 | 4 | Review Sample Size |
| Batch C | 2500 | 125 | 125 | 5 / 6 | 2.50 | 6 | 1 | 3 | 5 | Rejected |
Formula used
Defective Units Found ÷ Actual Sample Size × 100
Actual Sample Size ÷ Required Sample Size × 100
Acceptance Number ÷ Actual Sample Size × 100
(Critical × 5) + (Major × 2) + (Minor × 1)
Pass when Actual Sample ≥ Required Sample, Defective Units ≤ Ac, Defective Units < Re, and Critical Defects = 0
floor(Actual Sample Size × AQL ÷ 100)
The acceptance and rejection numbers are the decisive plan rules here. The AQL line is shown as a practical reference, not as a replacement for formal sampling tables.
How to use this calculator
- Enter the lot size for the batch under review.
- Type the required sample size from your inspection plan or customer standard.
- Enter the actual number of units inspected by the team.
- Provide the acceptance and rejection numbers from the chosen sampling plan.
- Add the AQL percentage used for reference reporting.
- Record defective units and the counts of critical, major, and minor defects.
- Press Check Compliance to show the decision above the form.
- Use the CSV and PDF buttons to export the result for audits, supplier follow-up, or internal records.
FAQs
1) What does this checker evaluate?
It checks whether the inspected sample meets the required sample size, stays within the acceptance rule, avoids critical defects, and aligns with the entered AQL reference.
2) What is the difference between Ac and Re?
Ac is the highest defective-unit count still accepted. Re is the count that triggers rejection. Re must always be greater than Ac.
3) Why can a lot fail even when defects seem low?
A lot can fail because the actual sample was too small, the defective-unit count exceeded Ac, or a critical defect was found during inspection.
4) Why are critical defects treated strictly?
Critical defects usually affect safety, function, or legal compliance. Many quality systems require immediate escalation or rejection when any critical defect appears.
5) Does AQL directly decide acceptance here?
No. This calculator uses your entered Ac and Re values as the main decision rules. The AQL field acts as a practical comparison benchmark.
6) What does the 95% upper defect bound mean?
It estimates a cautious upper limit for the true defect rate in the lot based on the inspected sample. Higher values mean greater risk uncertainty.
7) Can this be used for supplier audits?
Yes. It is useful for incoming inspection, supplier scorecards, release meetings, and audit evidence where quick pass or fail documentation matters.
8) Should defect totals equal defective units?
Not always. One unit may contain several defects, so critical, major, and minor counts can exceed the number of defective units found.