Skip to main content

Items per Box Calculator

Find a uniform grid for identical rectangular items. Compare allowed orientations, reserve packing space, and estimate cartons for an order.

Use a decimal point without commas or units. Lengths: equivalent of 0.000001 to 10,000,000 cm; allowances may be zero. Order quantity: whole numbers from 0 to 10,000,000.

Changing units converts existing dimensions and spacing.

Usable inside box dimensions (cm)

One item’s outside dimensions (cm)

Packing space · wall 0 cm, gap 0 cm

Reserved on each opposite box wall. Blank means zero.

Used between items, including layers. No extra gap after the final item. Blank means zero.

Reset clears measurements and order settings; your measurement unit is retained.

How many whole items fit?

Enter the box’s three inside dimensions and one item’s three outside dimensions. Results update automatically.

A carton can have more than enough total volume and still waste room between rigid products. Whole items have to fit along its length, width, and height. This calculator tests uniform grids for identical rectangular items, shows the best tested orientation, and turns that count into a carton plan when you have an order quantity.

How to measure and use the calculator

  1. Measure usable inside space. Enter the box’s inside length, width, and height. Account for features that reduce the space you can actually load, such as a fitted liner or an insert. Outside shipping dimensions are a different measurement.
  2. Measure one ready-to-pack item. Include any individual wrapper, sleeve, or retail carton that will remain around every unit. Keep its length, width, and height labels meaningful, especially if the item must stay upright.
  3. Set real packing constraints. Add a wall allowance or an inter-item gap when your packing method requires one. Check the grid and orientation. If planning an order, enter the total number of items and read the final-carton quantity too.

What the grid count means

A uniform grid places every item in the same orientation, in complete rows and layers. The calculator tries all six ways to assign the item’s length, width, and height to the box’s three axes. It selects the arrangement with the greatest whole-item count. When several arrangements tie, it keeps the first tested one; the tie does not establish that one is physically easier to load.

If you enable upright-only packing, the original item height stays vertical along the box height. The length and width can swap, giving two choices instead of six. This matters for goods that cannot safely be laid on their side. The calculator follows your restriction; it does not decide whether the product can tolerate a particular orientation.

Why wall clearance and item gaps are different

Wall clearance is space reserved between the grid and each opposite box wall. An allowance of 1 cm removes 2 cm from each inside dimension. The between-item gap is then applied only where two neighboring items meet, including between stacked layers. A row of three items contains two inter-item gaps, not three.

Do not count the same packaging twice. If an individually wrapped item already measures 10 cm across, use that complete measurement. Add a gap only for extra separation beyond that wrapper. A carton liner may instead reduce the usable inside box dimensions. These are different ways of describing space, and the inputs should reflect the actual packing sequence.

The count formula, including the final gap

For one box axis, let B be the inside box dimension, c wall clearance per side, d the item dimension aligned with that axis, and g the gap between neighboring items. First find usable space U = max(0, B − 2c).

n items occupy n × d + (n − 1) × g

Whole positions = max(0, floor((U + g) ÷ (d + g)))

Items per box = length positions × width positions × layers

The added gap in the numerator corrects for the fact that no extra inter-item gap follows the last item. For example, three 3 cm items with two 0.5 cm gaps occupy exactly 10 cm. Dividing 10 by 3.5 and rounding down would incorrectly return two items. The correct expression is floor((10 + 0.5) ÷ (3 + 0.5)) = 3. The same test is applied independently on all three axes before their counts are multiplied.

Two worked examples

Turning the item increases the tested count

A box measures 12 × 10 × 8 inches inside. One item measures 6 × 4 × 3 inches, with no extra wall clearance or gaps. In the entered orientation, the grid is 2 × 2 × 2, giving 8 items. Upright-only mode keeps that height of 3 inches and the best tested upright count remains 8.

If the item may be laid on its side, the 6 × 3 × 4 orientation gives 2 along the 12-inch box length, 3 across its 10-inch width, and 2 layers through its 8-inch height. That grid holds 12 items. It leaves 1 inch across the box width after the grid. The calculation identifies a dimensional opportunity; a trial pack must confirm that this orientation suits the product.

Allowances change both capacity and the order plan

Suppose the inside box is 40 × 30 × 20 cm and the item is 10 × 5 × 4 cm. With no allowances, one tested grid is 4 × 6 × 5, or 120 items. Now reserve 1 cm at each wall and a 0.5 cm gap between neighbors. Usable dimensions become 38 × 28 × 18 cm.

In the 10 × 5 × 4 orientation, the counts are floor(38.5 ÷ 10.5) = 3, floor(28.5 ÷ 5.5) = 5, and floor(18.5 ÷ 4.5) = 4. The best tested capacity is 60 items. An order of 125 items therefore needs 3 cartons: 60 in each of the first two and 5 in the final carton. That final carton has 55 unused grid positions, which are not necessarily usable space for a different product.

Turn a capacity into cartons for an order

Divide the order quantity by capacity and round upward to obtain whole cartons. The number in the final carton is the order quantity minus the capacity of all earlier full cartons. This also handles exact multiples: an order of 600 at 60 per carton needs 10 cartons, and the last carton contains 60 items rather than zero.

The order plan assumes the same usable carton and arrangement throughout the batch. Keep damaged items, spares, inspection samples, and expected rejects separate unless they are deliberately part of your entered order quantity. If no items fit, the tool cannot create a useful carton plan; choose a different box or revise a packing assumption first.

Why this is not a universal maximum

All tested grids use one orientation for every item. A mixed layout can use otherwise wasted spaces. For example, a 5 × 5 × 1 box and 3 × 2 × 1 items give a uniform-grid count of 2. A mixed pinwheel arrangement can place four around a central gap. This calculator does not search that arrangement, so its result is called the best uniform-grid capacity rather than the maximum possible packing.

It also does not check gross weight, carton strength, divider construction, crush limits, nesting, compression, loading access, or whether lower layers support upper ones. An attractive geometric count can exceed a practical weight limit or leave too little room to close the flaps. Start with the tested layout, then confirm it physically with the actual item and box materials.

  • Verify the inside dimensions and ready-to-pack item measurements on representative samples.
  • Check the selected orientation, particularly the upright restriction and the number of layers.
  • Confirm that wrapping and spacing have not been counted twice.
  • Weigh a trial packed carton and check the packaging specification before scaling to the full order.

Frequently asked questions

Is this the maximum possible number of items?
It is the best count among the tested uniform grids. Every item uses the same orientation. Mixed orientations, staggered layouts, diagonal placement, nesting, and compression may give a different count and are not searched.
What does keep item height upright mean?
The entered item height stays vertical along the box height. The calculator may swap the item length and width in the horizontal plane, so it tests two orientations instead of six. It does not sort your dimensions first.
How are wall clearance and item gaps different?
Wall clearance is reserved on both opposite faces of each box axis. The gap applies only between neighboring items inside a row or stack. The last item does not need an additional inter-item gap at the wall.
Should I include individual wrapping in item dimensions?
Yes. Measure the outside of the wrapped item if every unit already has packaging. Add only extra spacing not already included in that measurement, so you do not count the same wrapping twice.
Why does volume division give a larger answer?
Volume division ignores incomplete rows and how side lengths line up. Leftover spaces may have enough combined volume but the wrong shape for another whole item. This tool fits whole positions along each axis before multiplying.
Does a completed grid mean the carton is safe to ship?
No. Check gross weight, carton strength, stacking, cushioning, dividers, closure, and handling requirements separately. Test the layout physically before relying on it for a production batch.

Sources and related box decisions

The Uline box guide explains inside box measurements and manufacturing variation. EcoEnclose’s sizing guidance supports measuring the packed envelope, allowing for cushioning, and checking samples. The grid arithmetic here is a declared geometric model, not a carrier packing specification.

Use the Compare Shipping Boxes Calculator for two candidate cartons or the Packing Tape Calculator to plan tape once the carton count and sealing method are known.