Rectangular prism calculator

Calculate volume from your inputs.

Your numbers

All lengths use the selected unit. Changing the unit labels numbers; it does not convert them.

Volume (cm³)24
Surface area (cm²)52
Space diagonal (cm)5.38516481

View shape

Shape illustration; not to scale.

Your calculation, explained

Formula and assumptions

Volume = length × width × height. Surface area = 2(lw + lh + wh). Diagonal = √(l² + w² + h²).

All dimensions must share a unit. Volume is in cubic units.

Geometry background: OpenStax Prealgebra ↗

Examples worth trying

Original dimensions

Volume: 24; Surface area: 52; Space diagonal: 5.38516481.

Double the dimensions

Volume: 192; Surface area: 208; Space diagonal: 10.77032961.

Half the dimensions

Volume: 3; Surface area: 13; Space diagonal: 2.6925824.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.