Quality Acceptance Calculator
Determine lot acceptance or rejection based on ANSI/ASQ Z1.4 (ISO 2859-1) sampling plans. Calculate defect rates, AQL compliance, and acceptance decisions.
Calculator
Results
Defect Rate
2.00%
Percentage of defective items in sample
10-
Projected number of defectives in full lot
Reject
Lot acceptance decision per sampling plan
0-
Maximum allowable defectives for acceptance
1-
Minimum defectives for rejection
1.00%
Acceptable Quality Level for the sampling plan
0.00%
Statistical confidence in the acceptance decision
H
ANSI/ASQ Z1.4 code letter for the lot size
Visualizations
Results Overview
Formula
Acceptance sampling uses statistical sampling to determine whether to accept or reject a lot based on the number of defective items found in a random sample.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| n | Sample Size | - | Number of items randomly selected from the lot |
| d | Defectives Found | - | Number of defective items in the sample |
| N | Lot Size | - | Total number of items in the inspection lot |
| Ac | Acceptance Number | - | Maximum number of defectives that allows lot acceptance |
| Re | Rejection Number | - | Minimum number of defectives that triggers lot rejection |
Explanation
Acceptance sampling plans balance the cost of inspection against the risk of accepting defective lots. The AQL defines the quality level that is acceptable. The OC curve shows the probability of accepting lots at various quality levels.
Derivation
The ANSI/ASQ Z1.4 (ISO 2859-1) standard provides sampling plans indexed by lot size and inspection level. The code letter is determined from the lot size, then the sample size and Ac/Re values are determined from the AQL.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Determine the lot size and select the inspection level to find the sample size code letter.
Look up the sample size and acceptance/rejection numbers (Ac, Re) from the AQL table.
Randomly sample n items from the lot and count defective items.
Compare defectives found (d) with Ac and Re to make acceptance decision.
Worked Examples
See how the calculator works with different scenarios.
Scenario
A lot of 500 machined parts is inspected using general level II. Sample size of 50 parts yields 1 defective. AQL = 1.0%.
Inputs
Calculation
Code letter H → Sample size 50 Ac = 1, Re = 2 (for AQL = 1.0%) d = 1 ≤ Ac = 1
Result
Lot ACCEPTED. Defect rate = 2.0%
Interpretation
The lot meets the AQL requirement. Note: defect rate exceeds AQL but the sampling plan allows statistical variation.
Understanding Your Result
Your Result: Defect Rate: 2.00 %
Typical range: AQL values: 0.65% (critical), 1.0% (major), 2.5% (minor), 4.0% (general). Inspection levels: I (reduced), II (normal), III (tightened). Lot sizes: 50-100,000+.
What This Means
Quality acceptance sampling provides a statistically valid method for deciding whether to accept or reject a production lot based on inspecting a random sample, balancing inspection cost against the risk of accepting defective products.
Why It Matters
Efficient acceptance sampling reduces inspection costs compared to 100% inspection while maintaining quality control. It provides documented evidence of quality conformance for customer and regulatory requirements.
Professional Interpretation
The OC curve shows the probability of accepting lots at various quality levels. The plan is designed to accept good lots with high probability (producer risk α = 0.05) and reject bad lots with high probability (consumer risk β = 0.10).
Recommendations
- •Use normal inspection (Level II) for new suppliers and routine lots
- •Switch to tightened inspection when recent lots have been rejected
- •Consider reduced inspection for suppliers with consistent quality history
- •Document all acceptance decisions with supporting data
- •Train inspectors on proper sampling and defect classification
- •Review AQL levels periodically based on process capability and customer requirements
Educational Content
Introduction
Quality acceptance sampling is a statistical quality control method where a random sample is inspected to determine if a production lot meets specified quality standards. It is defined by standards such as ANSI/ASQ Z1.4 and ISO 2859-1.
Concept Explanation
The operating characteristic (OC) curve describes the performance of a sampling plan. It plots the probability of accepting a lot against the actual defect rate in the lot. The plan is characterized by the sample size (n) and acceptance number (Ac).
Applications
Benefits
- •Reduces inspection costs compared to 100% inspection
- •Provides statistical quality assurance
- •Creates documented evidence of quality verification
- •Enables efficient supplier quality management
- •Supports continuous improvement through defect tracking
Limitations
- •Always carries some risk of incorrect decisions (producer/consumer risk)
- •Does not provide detailed process capability information
- •Requires proper randomization of sampling
- •May not detect isolated defect clusters within a lot
Best Practices
- •Use random sampling to ensure representative samples
- •Maintain proper sample identification and traceability
- •Document defect types and categories for analysis
- •Apply appropriate inspection level based on quality history
- •Review and update sampling plans with process improvements
- •Combine with statistical process control for comprehensive quality management
Common Misconceptions
Practical Tips
- •Use random number tables or software for truly random sample selection
- •Inspect samples immediately after collection to prevent mix-ups
- •Classify defects correctly as critical, major, or minor per your quality standard
- •Switch to tightened inspection if 2 out of 5 consecutive lots are rejected
- •Consider reduced inspection after 10 consecutive lots are accepted
- •Document all deviations from standard sampling plans
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is quality acceptance sampling?
What does AQL stand for?
What is the difference between Ac and Re?
What ANSI/ASQ Z1.4 inspection level should I use?
How do I choose the AQL?
What is an OC curve?
What is producer risk vs consumer risk?
When should I use tightened inspection?
What is the sample size code letter?
Can I use this for 100% inspection?
How is defect rate calculated?
What is the difference between defects and defectives?
What is the zero acceptance number plan?
How do I estimate lot defectives from sample?
What if the sample has zero defectives?
Can I accept a lot with defectives exceeding AQL?
What standards govern acceptance sampling?
How do I classify critical vs major vs minor defects?
What is the confidence level in the decision?
How does lot size affect the sampling plan?
What is the switching rule for inspection levels?
Can I use attribute sampling for variable data?
What is the difference between single and double sampling?
How do I handle defects from different severity classes?
What is the producer's risk point?
What is the consumer's risk point?
Can I create my own sampling plan?
How does inspection level affect sample size?
What if my sample size doesn't match standard plans?
How often should I review my AQL?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Ac
- Acceptance Number - the maximum number of defective items allowed in the sample for the lot to be accepted.
- AQL
- Acceptable Quality Level - the maximum defective rate that is considered acceptable for the supplier's process.
- Code Letter
- A letter (A-Q) determined from lot size and inspection level that defines the required sample size.
- Consumer Risk (β)
- The probability of accepting a lot with a defective rate at or above the RQL (typically 10%).
- Defective
- An item that fails to conform to one or more specified quality requirements.
- Inspection Level
- Specifies the relative sample size: I (reduced), II (normal), III (tightened).
- Lot
- A defined quantity of product produced under essentially the same conditions.
- OC Curve
- Operating Characteristic curve - plots the probability of accepting a lot versus its actual defect rate.
- Producer Risk (α)
- The probability of rejecting a lot with a defective rate at or below the AQL (typically 5%).
- Re
- Rejection Number - the minimum number of defective items in the sample that triggers lot rejection.
- RQL
- Rejectable Quality Level - the defect rate at which the consumer risk is 10% (also called LTPD).
- Sample
- One or more items randomly selected from a lot to represent the quality of the entire lot.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-07-30
2.0.0
- ANSI/ASQ Z1.4 - Sampling Procedures and Tables for Inspection by Attributes
- ISO 2859-1 - Sampling Procedures for Inspection by Attributes
- MIL-STD-1916 - DoD Preferred Methods for Acceptance of Product
- AIAG MSA 4th Edition - Measurement Systems Analysis
- ASQ - Acceptance Sampling in Quality Control
- NIST Engineering Statistics Handbook - Acceptance Sampling
- ISO 17025 - General Requirements for Laboratory Competence
Free to use for educational and professional purposes.