VisualMathX

SEE INSIDE A SOLID

Inside a rectangular prism.

A box is more than its surface. Spin it to reveal a lattice of unit cubes, stacked layers, and the diagonal running through its centre.

4 × 3 × 2 UNIT CUBESA rectangular prism with length 4, width 3, height 2 contains 24 unit cubes. Use the rotation and tilt sliders to explore its interior.

Turn it. Look inside.

Unit-cube latticeSpace diagonalMiddle horizontal layerPlane diagonal (base face)

Count the space inside.

Four cubes along the length, three along the width, and two layers high. Together they fill the rectangular prism with 24 unit cubes.

V = l × w × h = 24 units³

Join opposite corners.

The gold line is the space diagonal. It passes through the centre, linking two opposite corners. The lighter gold line is the plane diagonal on the base: √(4² + 3²) = 5. The darker gold space diagonal joins this to the height: √(5² + 2²) = √29.

d = √(l² + w² + h²) = √29