As a general rule a hide box should be big enough so that the snake can curl up in it with its sides and back touching the sides and/or the top of the box.