2026-07-30 8 min

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

Unit System
Lot Size
Sample Size
Defectives Found
AQL (%)
Critical Defects
Major Defects
Minor Defects

Results

Critical

Defect Rate

2.00%

Percentage of defective items in sample

Estimated Lot Defectives

10-

Projected number of defectives in full lot

Acceptance Decision

Reject

Lot acceptance decision per sampling plan

Acceptance Number (Ac)

0-

Maximum allowable defectives for acceptance

Rejection Number (Re)

1-

Minimum defectives for rejection

AQL

1.00%

Acceptable Quality Level for the sampling plan

Confidence Level

0.00%

Statistical confidence in the acceptance decision

Sample Size Code Letter

H

ANSI/ASQ Z1.4 code letter for the lot size

Visualizations

Results Overview

2%Defect Rate
10%Estimated Lot Defectives
1%Rejection Number
1%AQL

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.

DefectRate = (d / n) × 100%, Decision: d ≤ Ac → Accept, d ≥ Re → Reject

Alternative Form

Estimated Lot Defectives = (d / n) × N

Variables

SymbolNameUnitDescription
nSample Size-Number of items randomly selected from the lot
dDefectives Found-Number of defective items in the sample
NLot Size-Total number of items in the inspection lot
AcAcceptance Number-Maximum number of defectives that allows lot acceptance
ReRejection 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.

Step 1

Determine the lot size and select the inspection level to find the sample size code letter.

Lot Size:500 units
Inspection Level:General Level II
Result: Code Letter: H
Step 2

Look up the sample size and acceptance/rejection numbers (Ac, Re) from the AQL table.

AQL:1%
Code Letter:H
Result: Ac = 0, Re = 1
Step 3

Randomly sample n items from the lot and count defective items.

Sample Size:50
Defectives Found:1
Result: Defect Rate = 2.00%
Step 4

Compare defectives found (d) with Ac and Re to make acceptance decision.

If d ≤ Ac → Accept; if d ≥ Re → Reject
d:1
Ac:0
Re:1
Result: Decision: Reject
Final Answer
2.00

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

Lot Size:500
Sample Size:50
Defectives:1
AQL:1.0%

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

▸Incoming raw material quality verification
▸In-process production lot acceptance
▸Final product quality release
▸Supplier quality performance monitoring
▸Regulatory compliance inspection
▸Customer acceptance testing programs

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

Myth: Acceptance sampling guarantees lot quality.
Truth: Sampling provides statistical assurance but does not guarantee that every item in the lot conforms. There is always some risk.
Myth: AQL is the acceptable percentage of defectives in the lot.
Truth: AQL is a process quality level, not a lot quality specification. It represents the worst-case quality level that is acceptable for the supplier's process.
Myth: Zero defects in a sample guarantees zero defects in the lot.
Truth: Even with zero defects in the sample, there is a statistical probability of defects in the uninspected portion of the lot.

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

Using convenience sampling instead of random sampling
Implement systematic random sampling (every kth item) or use random number generation for true randomness.
Confusing defectives with defects (multiple defects per item)
Count defective items (units with one or more defects), not individual defects, for attribute sampling.
Applying the wrong inspection level for the product type
Use general level II as default. Specify level III for critical features or when greater discrimination is needed.
Not adjusting Ac/Re when switching between normal and tightened inspection
Always consult the appropriate switching rules and sampling tables from ANSI/ASQ Z1.4.

Assumptions

This calculator makes the following assumptions to provide estimates:

Random Sampling: The sample is assumed to be randomly selected from the entire lot, with equal probability for each item.
Large Lot Assumption: The sampling plan assumes the lot is large relative to the sample (hypergeometric distribution approximates binomial).
Defect Classification: Defects are correctly classified as critical, major, or minor according to established quality standards.
Independent Items: Each item in the lot is independently produced. Defect clustering is not accounted for.

Limitations

Be aware of these limitations when using this calculator:

Simplified AQL Table: This calculator uses a simplified subset of ANSI/ASQ Z1.4 AQL tables. Full standard tables include additional AQL values and sample sizes.
Normal Inspection Only: Only normal inspection plans are implemented. Tightened and reduced inspection plans require switching rules.
Single Sampling Only: This calculator implements single sampling plans. Double, multiple, and sequential sampling plans are not included.
No Severity Classification: Critical, major, and minor defects are accepted as input but the calculator uses total defectives for the decision.

Frequently Asked Questions

Answers to common questions about this calculator.

What is quality acceptance sampling?
Acceptance sampling is a statistical method where a random sample is inspected to decide whether to accept or reject an entire production lot.
What does AQL stand for?
AQL stands for Acceptable Quality Level — the maximum percentage of defectives that is considered acceptable for a process.
What is the difference between Ac and Re?
Ac (Acceptance Number) is the maximum defectives allowed for acceptance. Re (Rejection Number) is the minimum defectives for rejection.
What ANSI/ASQ Z1.4 inspection level should I use?
General Inspection Level II is the standard. Use Level I for reduced inspection and Level III for tightened or critical applications.
How do I choose the AQL?
AQL is typically specified in the contract or quality standard. Common values: 0.65% (critical), 1.0% (major), 2.5% (minor), 4.0% (general).
What is an OC curve?
An Operating Characteristic (OC) curve shows the probability of accepting a lot at various actual defect rates. It measures the plan's discriminatory power.
What is producer risk vs consumer risk?
Producer risk (α) is the probability of rejecting a good lot (typically 5%). Consumer risk (β) is the probability of accepting a bad lot (typically 10%).
When should I use tightened inspection?
Switch to tightened inspection when 2 out of 5 consecutive lots have been rejected. Return to normal after 5 consecutive accepted lots.
What is the sample size code letter?
The code letter (A through Q) is determined from the lot size and inspection level. It determines the sample size for the acceptance plan.
Can I use this for 100% inspection?
This calculator is for sampling. 100% inspection requires different analysis and is typically reserved for critical characteristics.
How is defect rate calculated?
Defect Rate = (Number of Defectives / Sample Size) × 100%. It represents the percentage of defective items in the sample.
What is the difference between defects and defectives?
A defective is an item with one or more defects. A defect is a nonconformity (could be multiple per item). Sampling plans count defectives.
What is the zero acceptance number plan?
An Ac = 0, Re = 1 plan rejects the lot if any defectives are found. Used for critical safety-related characteristics.
How do I estimate lot defectives from sample?
Estimated Lot Defectives = (Defectives Found / Sample Size) × Lot Size. This projects the sample proportion to the full lot.
What if the sample has zero defectives?
If d = 0 and Ac ≥ 0, the lot is accepted. This does not guarantee zero defectives in the lot, only that the statistical criteria are met.
Can I accept a lot with defectives exceeding AQL?
Yes, if d ≤ Ac. The AQL is a process quality level, not a lot limit. Sampling allows statistical variation around the process quality.
What standards govern acceptance sampling?
Primary standards: ANSI/ASQ Z1.4 (US), ISO 2859-1 (international), MIL-STD-1916 (DoD), and GB/T 2828.1 (China).
How do I classify critical vs major vs minor defects?
Critical: safety or regulatory noncompliance. Major: function or fit affected. Minor: cosmetic or non-functional deviations.
What is the confidence level in the decision?
The confidence level estimates how certain we are that the lot quality is acceptable. Higher defect rates in the sample reduce confidence.
How does lot size affect the sampling plan?
Larger lots require larger sample sizes (code letters progress with lot size), providing better discrimination of lot quality.
What is the switching rule for inspection levels?
Normal → Tightened: 2 of 5 lots rejected. Tightened → Normal: 5 consecutive lots accepted. Normal → Reduced: 10 consecutive lots accepted.
Can I use attribute sampling for variable data?
No, attribute sampling (go/no-go) is for discrete classification. Variable data requires different sampling plans and analysis methods.
What is the difference between single and double sampling?
Single sampling inspects one sample for the decision. Double sampling allows a second sample if the first result is inconclusive.
How do I handle defects from different severity classes?
Fraction defectives are typically weighted or each class is evaluated separately. Critical defects usually trigger immediate rejection.
What is the producer's risk point?
The quality level at which the probability of acceptance is 0.95 (95% chance of accepting good lots). Typically related to AQL.
What is the consumer's risk point?
The quality level at which the probability of acceptance is 0.10 (10% chance of accepting bad lots). Also called RQL or LTPD.
Can I create my own sampling plan?
Custom plans can be designed using the binomial or hypergeometric distribution, but standard plans from Z1.4/ISO 2859-1 are preferred.
How does inspection level affect sample size?
Level I: 50% of Level II sample. Level II: normal sample. Level III: 200% of Level II sample. Larger samples provide better discrimination.
What if my sample size doesn't match standard plans?
Use the nearest standard sample size and corresponding Ac/Re from the tables. Arbitrary sample sizes lack statistical foundation.
How often should I review my AQL?
Review AQL when process capability changes, customer requirements change, or when recurring quality issues are identified.

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

ANSI/ASQ Z1.4ISO 2859-1MIL-STD-1916ISO 17025AIAG MSA 4th Ed.IATF 16949

Was This Calculator Helpful?

Page Information

Last Updated:

2026-07-30

Version:

2.0.0

License:

Free to use for educational and professional purposes.