Rectangular prism calculator

Measurements
cm

cm

cm

Advanced

Changing a measurement unit keeps its number: 3 cm becomes 3 m. Unit for all measurements applies to every input and the result. Result unit converts only the answers.

Three perpendicular dimensions. Surface area includes all six faces; no wall thickness.

Number format

Use a decimal point or comma, without thousands separators. Up to 15 significant digits and 64 characters; no fractions or expressions.

Rectangular prism schematic. Three perpendicular dimensions. Surface area includes all six faces; no wall thickness.LWh

Not to scale

Enter your measurements to see the results.

No personal result is available. These are the rectangular prism formulas and conditions.

Formulas and conditions

Rectangular prism

A rectangular prism in parallel projection with length L, receding width W and vertical height h. Hidden edges are dashed.LWh
Volume
V=LWh
Surface area
SA=2LW+2Lh+2Wh

L length · W width · h height · V volume · SA closed surface area

Three mutually perpendicular dimensions, all positive. Closed, six faces; no wall thickness.

Surface area counts all six faces; it is not material volume.

Diagrams are schematic, not to scale.

Volume is base area L × W multiplied by height. Surface area adds two faces of each size: L × W, L × h and W × h.

Use the dimensions of the solid being measured. These formulas do not calculate the amount of material in a hollow box or subtract an open face.

Use the same length unit throughout a formula. Convert mixed measurements first. Length and perimeter use units such as cm; area uses cm²; volume uses cm³. Decimal examples below are rounded to at most six significant figures, with ≈ marking an approximation.

Worked example: A 2 cm by 3 cm by 4 cm prism

  1. V = 2 × 3 × 4 = 24 cm³.
  2. SA = 2 × (2 × 3 + 2 × 4 + 3 × 4) = 52 cm².

The six face areas are 6, 6, 8, 8, 12 and 12 cm². Adding them independently gives 52 cm².

Formula sources

Formulas are checked against these references. The explanation, diagrams and worked calculations here are authored for Geometry Glance.