Planning & productivity

Rectangular box fit calculator

Compare uniform grid orientations of smaller boxes inside a larger box.

Rectangular box fit calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Tests the six axis-aligned item orientations, removing duplicates. For each, multiplies floor(container dimension/item dimension) along the three axes. Shows whole-item counts using exact integer products. Every item in a tested layout has the same orientation; this is not an optimal mixed-orientation packing solver and excludes clearance, weight and stacking constraints.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Container length (same unit)
60
Container width
40
Container height
30
Item length
20
Item width
15
Item height
10

Example result

First 5 rows of the example result
Item along lengthItem along widthItem along heightAlong lengthAlong widthAlong heightWhole items
20151032318
20101534224
15201042324
15102044116
10201562224

Tests uniform axis-aligned orientations only; mixed-orientation packing can fit more.