Home / Formulation & filling

Filling and overfill calculator

Find how many units the batch fills, how much overfill your filler needs to pass net-content checks, how much product you are giving away and how many bottles, caps, labels and cases to pull.

Pre-sizing and estimating tool: results do not replace design, calculations or reports signed by a licensed professional, nor verification against the applicable codes and standards.

Check
Batch
Content and fill

Blank T uses the OIML R 87 table. U.S. packages are checked against NIST Handbook 133 MAVs, which differ; the example uses 1 fl oz, the HB 133 MAV for 32 fl oz.

Packaging materials
Filler and production
Economic analysis
—Units filled from the batch
—

Fill distribution and limits

Normal curve with the mean and standard deviation entered. Lines: labeled (Qn), Qn − T, Qn − 2T and suggested mean.

Tap the chart to see the values.

Materials to pull for the batch

Quantities including each material’s loss, rounded up.

Cost per filled unit

Product (including overfill) and each packaging material, with losses.

Tap the chart to see the values.

Next step

Take this page’s results to another calculator with the fields already filled in.

Project payback

Cash flow of the improvement: investment in year 0 and annual savings escalated at the rate entered, discounted at the MARR.

Tap the chart to see the values.

The calculation report gathers this page's inputs, results, equations, assumptions and references, with fields for project, engineer and revision. The full report also includes the charts and interpretations, in color. In the print dialog, choose Save as PDF.

Method, assumptions and references

Equations used

Available mass = (batch − heel · ρ) · (1 − line loss); units = floor(available mass ÷ [(Qn + overfill) · ρ])
T per OIML R 87: 9% (up to 50), 4.5 (50–100), 4.5% (100–200), 9 (200–300), 3% (300–500), 15 (500–1000), 1.5% (1000–10,000), 150 (10,000–15,000), 1% (above); g or mL, rounded up
Minimum overfill = max(0; 1.96·σ − T; 3.72·σ − 2T); suggested = minimum + margin · σ; share below Qn − T = Φ[(Qn − T − μ) ÷ σ]
Materials = ceil(units · (1 + loss)); hours = units ÷ (speed · 60 · efficiency); product given away per year = (overfill − suggested) · ρ · annual output

Assumptions and limits

  • Fill follows a normal distribution with the mean and standard deviation entered. The three rules applied (mean ≥ labeled; up to 2.5% of units below Qn − T; none below Qn − 2T, taken as probability under 1 in 10,000) are those of OIML R 87; enforcement uses its own sampling plans and correction factors, and NIST HB 133 differs in detail.
  • Volume content is converted to mass with the specific gravity entered (at the product’s reference temperature). Annual output and product cost set the value of product given away; rework costs and fines are not included.

Standards and technical documents

  • OIML R 87:2016 — Quantity of product in prepackages
  • Council Directive 76/211/EEC (℮ mark) and Directive 2007/45/EC (nominal quantities)
  • NIST Handbook 133 — Checking the Net Contents of Packaged Goods (current edition), Appendix A, Tables 2-5 and 2-6 (MAV)
  • UK Weights and Measures (Packaged Goods) Regulations 2006 (SI 2006/659) — the three packers’ rules
  • Montgomery, D. C. Introduction to Statistical Quality Control, 8th ed., Wiley, 2019

U.S. regulations

  • NIST Handbook 133 and Uniform Packaging and Labeling Regulation (NIST Handbook 130), adopted by the states
  • 16 CFR Part 500: Fair Packaging and Labeling Act regulations (net quantity of contents)
  • 21 CFR 101.105: declaration of net quantity of contents for foods
  • OSHA 29 CFR 1910.212: machine guarding on filling equipment

Frequently asked questions

What does this calculator answer?

It answers the filling-day questions: how many units the batch fills, how much overfill the filler needs to pass net-content checks, how much product is being given away and how many bottles, caps, labels and cases to pull. In the example, a 500 gal batch at 8.6 lb/gal with 5 gal of heel and 0.5% line loss fills 1,939 bottles of 32 fl oz in about 1.4 hours.

What are the tolerable negative error and the MAV?

They set how far below the labeled quantity a package may fall before it counts as short. OIML R 87, used in Europe and many countries, gives T = 15 g or mL from 500 g to 1 kg and 1.5% from 1 to 10 kg. In the U.S., NIST Handbook 133 uses its own Maximum Allowable Variations: about 1 fl oz (29 mL) for 32 fl oz, entered in the example. The calculator applies three rules to that value: average at least the labeled quantity, no more than 2.5% of units below Qn − T and none below Qn − 2T.

How much overfill is really needed?

It depends on your filler’s spread. The calculator takes the largest of zero, 1.96·σ − T and 3.72·σ − 2T and adds a margin in standard deviations. In the example, with σ = 0.2 fl oz and a 1 fl oz MAV, the statistical minimum is zero (the mean only needs to sit at label) and with a one-sigma margin the suggested overfill is 0.2 fl oz. The filler runs at 0.5 fl oz, so 0.3 fl oz per bottle is extra.

How do I measure the filler’s standard deviation?

Weigh 30 or more consecutive units, subtract the average tare of bottle and cap (weigh a few empties) and compute mean and standard deviation, for example with STDEV in Excel. Repeat at different times of the shift, since tank level, temperature and foam change the spread. Well-adjusted volumetric fillers usually run 0.3% to 1% of fill.

How much does overfill cost?

In the example, 0.3 fl oz above suggested on 300,000 bottles a year adds up to about 6,050 lb of product, roughly $2,720 at $0.45/lb. With a $5,000 investment in a checkweigher or filler adjustment, payback is about 1.8 years. Even the full 0.5 fl oz overfill costs only $0.015 a bottle, but that is about $4,500 a year.

How does the calculator decide what materials to pull?

It multiplies units by each material’s loss and rounds up: in the example, 1,959 bottles (1% loss), 1,969 caps (1.5%), 1,978 labels (2%) and 164 cases of 12 (1%). At the prices entered, packaging costs $944 for the batch, or $0.487 per unit. Use your stockroom history to tune the losses.

What are the limits of the calculation?

It assumes normally distributed fills and uses specific gravity to convert volume to weight; measure density at filling temperature. Inspectors use HB 133 sampling plans and criteria that differ in detail from these rules, and some products have their own requirements, so check what applies. Foam, drips and drift over a shift call for extra margin: do not cut overfill without SPC and frequent check weighing.