Compare a 40 × 30 × 20 cm box with a 50 × 10 × 10 cm rigid item. The item has less volume, but no axis-aligned placement accommodates its 50 cm edge.

The worked example

Calculation
40 * 30 * 20 = 24000
50 * 10 * 10 = 5000

These are constructed inputs. Displayed decimals are rounded; they are not product measurements.

Understand the result before using it

Volume is a useful rejection test: an item larger than the entire usable box volume cannot fit. Passing that test is not enough. For axis-aligned packing, sort the three internal box edges and the three item edges and compare them pair by pair. Here the longest box edge is 40 cm and the longest item edge is 50 cm, so that placement fails.

A zero-thickness rod and a thick rectangular object have different diagonal constraints. The space diagonal alone cannot prove the thick item fits. Packaging compressibility, permitted rotation and protective padding are additional requirements. A paper mock-up of the rectangular footprint can catch a simple mismatch before packing, but it does not establish diagonal clearance for the complete solid.

The boundary of this calculation

Diagonal packing is a separate geometry problem; padding and internal dimensions matter.

Inspect the example inputs and run the Python checks. They use only the published examples and do not read personal folders.