Tools / Sample size

Local calculation · no AI required

Sample Size

How much data should I collect?

Choose a common scenario, enter the key parameters, and get the recommended sample size with the calculation logic and formula.

Simple by design You do not need to choose a statistical test name first.

The scenario determines the calculation method.

Which situation are you planning for?
Scenario 01

New equipment / supplier acceptance

Use “all inspected units pass” to support that the true defect rate is below an acceptable limit.

Mixture probability

Will every variety make it into the pack?

Assorted packs are filled from a mixed hopper, so each pack is a random draw from the mix. Equal shares do not guarantee a full set in every pack. Work out how often a pack misses a variety, or a piece gets too few inclusions, before customers find out.

Random has no memory Five flavours in equal shares, ten pieces per bag: 48% of bags miss at least one flavour.

Twenty pieces per bag brings it down to about 1 bag in 17.

What are you mixing?
Equal shares

Every variety, equal shares

The pack is filled at random from a well-mixed hopper with the same share of each variety.

Find the pack size for a target
Fill weight

How much should go into each pack?

Under the average quantity system (e-mark, OIML R 87) the label is a promise about the average, with limits on short packs. The spread of the filler decides how far above the label you must aim, and every gram above it is product given away.

Giveaway is the price of variation Without a checkweigher, every 1 g off the standard deviation can take up to 3.7 g off the target.

The calculator shows which rule sets your target and what the giveaway costs per year.

How are short packs caught on the line?
Average quantity system

Lowest legal target and the cost of giveaway

Use the standard deviation of filled packs from checkweigher data, including tare variation.