Width is the distance from one side of something to the other side.
The man is measuring the width of the box.
Example picture