Enter the population size, confidence level, and margin of error into the calculator to determine the required sample size for inventory auditing. This calculator helps in estimating the number of inventory items to sample when conducting an audit or quality control.

Inventory Sample Size Calculator

Enter three values (leave one field blank) to calculate the missing variable. Confidence level must be provided.


Related Calculators

Inventory Sample Size Formula

Inventory sample size is the number of units you should inspect from a larger inventory population to estimate the overall discrepancy, defect, or error rate within a chosen confidence level and margin of error. This calculator uses the standard proportion sample-size equation and then applies a finite population correction so the result fits the actual inventory count.

n_0 = \frac{Z^2 \cdot p \cdot (1-p)}{e^2}
n = \frac{n_0}{1 + \frac{n_0 - 1}{N}}

If you do not have a prior estimate for the inventory error rate, a conservative assumption is to use 50% variability. That produces the largest starting sample for a given confidence level and margin of error:

n_0 = \frac{Z^2}{4e^2}
  • N = total inventory population size
  • Z = Z-score tied to the selected confidence level
  • p = estimated proportion of items expected to have the attribute being tested, such as a count error or damage issue
  • e = desired margin of error written as a decimal
  • n0 = starting sample size before adjusting for a finite population
  • n = final corrected sample size

How to Calculate Inventory Sample Size

  1. Count the total number of items in the population you want to test.
  2. Select a confidence level. This is required because it determines the Z-score used in the formula.
  3. Choose a margin of error based on how precise you want the audit result to be.
  4. Estimate the expected error proportion if historical data exists; otherwise use 50% for a conservative sample.
  5. Calculate the starting sample size and then apply the finite population correction.
  6. Round the final result up to the next whole item.

Common Confidence Levels

Confidence Level Z-Score
90% 1.645
95% 1.960
99% 2.576

Quick Reference at 95% Confidence

The table below shows the large-population starting sample when using the conservative 50% variability assumption. The final sample may be lower after the finite population correction is applied.

Margin of Error Starting Sample Size
10% 97
5% 385
3% 1068
2% 2401

Example Calculation

Assume you have 1,000 inventory items, want 95% confidence, and can tolerate a 5% margin of error. If no prior discrepancy rate is known, use the conservative 50% assumption.

n_0 = \frac{1.96^2 \cdot 0.5 \cdot (1-0.5)}{0.05^2} = 384.16
n = \frac{384.16}{1 + \frac{384.16 - 1}{1000}} = 277.74

After rounding up, you would sample 278 items.

How to Interpret the Result

  • A larger sample gives more precision but requires more labor.
  • A smaller margin of error increases the required sample quickly.
  • A higher confidence level also increases the required sample.
  • When the inventory population is small or moderate, the finite population correction can reduce the final sample noticeably.
  • Once inventory populations become very large, sample size is driven more by confidence and margin of error than by population size.

When This Calculator Is Most Useful

This method is most useful when you are estimating a proportion, such as the share of inventory with count discrepancies, damaged packaging, missing labels, wrong locations, or other pass/fail audit conditions. It is especially helpful for cycle counts, quality checks, internal controls, and periodic inventory verification.

Practical Inventory Audit Notes

  • Select items randomly to avoid bias.
  • Round every decimal sample result up, not down.
  • If inventory is split across very different categories, calculate separate samples by warehouse, product family, or risk class.
  • High-value or high-risk items are often better audited with heavier sampling than low-risk items.
  • If you know the historical discrepancy rate is much lower than 50%, the true required sample may be smaller than the conservative estimate.
  • Plan a small overage in case some sampled items are unavailable, mislocated, or unsuitable for review.