Port Displacement
if it uses of the sides of the box for one side of its port wall, then:
(port height) x (port length-wood thickness) x (port width + wood thickness) / 1728
if the ports in the middle of the box, and has its own walls, then:
(port height) x (port length - wood thickness) x [port width + 2(wood thickness)] / 1728