Container Packing (SQA National 5 Applications of Mathematics): Revision Note
Exam code: X844 75
Container packing
What is the container packing problem?
You will be given:
a container with dimensions
a box with dimensions
You need to find the maximum number of boxes that fit in the container
All boxes need to be aligned in the same direction
Consider the direction orientations for the boxes
There are 6 different orientations
However, there will be restrictions in a question to reduce this to 2 or 3

How do I find the number of boxes that will fit in a container using a given orientation?
Change any necessary lengths so that they are all in the same units
STEP 1
Find how many boxes you can fit on top of each otherDivide the height of the container by the height of a box
Round down to the next whole number
STEP 2
Find how many boxes you can fit on next to each other in one directionDivide the width of the container by the width of a box
Round down to the next whole number
STEP 3
Find how many boxes you can fit on next to each other in the other directionDivide the breadth of the container by the breadth of a box
Round down to the next whole number
STEP 4
Multiply the number of boxes in the three directions together

What are the options if the boxes need to be packed upright?
There are two orientations if the boxes need to be packed upright
It is easier to visualise these using a bird's eye view
The two options are:
the longer side of the box sits alongside the longer side of the container
the shorter side of the box sits alongside the longer side of the container

Examiner Tips and Tricks
Don't forget to still divide the heights for these options when calculating the number of boxes.
What are the options if the boxes have a square base?
There are three orientations if the boxes have a square base
Two of the lengths are equal and the third is different
The three options are:
the third length is used as the height of the box
the third length is used as the width of the box
the third length is used as the breadth of the box

Worked Example
A small box has dimensions 7.2 cm × 2.8 cm × 4.3 cm.

The small boxes are packed into a bigger box with dimensions 1.6 m × 0.8 m × 1.0 m.

The small boxes must be aligned in the same direction.
Calculate the maximum number of small boxes that can be packed into the bigger box.
Answer:
Convert metres into cm by multiplying by 100
1.6 m = 160 cm
0.8 m = 80 cm
1.0 m = 100 cm
The 4.3 cm side of the small box must align with the 1.0 m side of the big box
This is to keep the boxes the right way up
Calculate the number of boxes that can fix on top of each other
23 boxes
Option 1 -the 7.2 cm side aligns with the 1.6 m side
Calculate the number of boxes that can fit next to each other in each direction
Calculate the number of small boxes
Option 2 -the 2.8 cm side aligns with the 1.6 m side
Calculate the number of boxes that can fit next to each other in each direction
Calculate the number of small boxes
Choose the maximum number
14,421
Unlock more, it's free!
Was this revision note helpful?