Question: how do you measure the length width and height of a box?
Answer: The first dimension to measure is length. Length is always the longest side of the box that has a flap.
The next dimension is width. The width side also has a flap, but is always the side shorter than the length.
Measure the height of the package. Height is the only dimension without a flap.