🌐 EN

Rectangular Prism Calculator

Calculate a rectangular prism’s volume, surface area, and diagonal lengths.

Volume
—
Surface Area — Space Diagonal — Face Diagonal (L×W) — Face Diagonal (L×H) — Face Diagonal (W×H) —
Rectangular prism 3D diagram L: 10 cm W: 5 cm H: 3 cm

Inputs and checks

  • Enter positive length, width, and height values in centimetres; defaults are 10, 5, and 3.
  • The number fields use steps of 0.01; enter ordinary positive decimals.
  • Use Calculate or change an input; Reset returns to the initial dimensions.

Reading the result

  • Volume is in cm³, total area in cm², and diagonals in cm, displayed to two decimal places.
  • The space diagonal joins opposite corners through the solid; face diagonals run across its rectangular faces.
  • A zero or negative dimension can leave earlier results on screen instead of showing an error. Open boxes and wall thickness are not included.

Examples

Prism 3 by 4 by 12

Input
Length 3 cm; width 4 cm; height 12 cm.
Result
Volume 144.00 cm³; surface 192.00 cm²; space diagonal 13.00 cm; face diagonals 5.00 cm, 12.37 cm, 12.65 cm.
How to check it
3 × 4 × 12 = 144; the space diagonal is √(9 + 16 + 144) = 13.

Prism 2 by 3 by 6

Input
Length 2 cm; width 3 cm; height 6 cm.
Result
Volume 36.00 cm³; surface 72.00 cm²; space diagonal 7.00 cm; face diagonals 3.61 cm, 6.32 cm, 6.71 cm.
How to check it
2 × 3 × 6 = 36; the space diagonal is √(4 + 9 + 36) = 7.

Frequently asked questions

Does surface area include all six faces?
Yes. It is the outer area of a closed box, including top and bottom.
What is a space diagonal?
It is the straight line between two opposite corners inside the box.
Can I calculate an open-top box?
No. This calculation includes the top face.