Rectangular Prism Calculator

Find the volume and surface area of a rectangular prism, also called a cuboid.

A length greater than 0.

A length greater than 0.

A length greater than 0.

Try

Result

You enteredl=2, w=3, h=4l = 2,\ w = 3,\ h = 4

V=24, S=52\displaystyle V = 24,\ S = 52

Volume

24\displaystyle 24

Surface area

52\displaystyle 52

Space diagonal

29≈5.385165\displaystyle \sqrt{29} \approx 5.385165
Show the work
  1. Volume of a cuboid

    The volume of a cuboid is its length times its width times its height. Here l=2l = 2, w=3w = 3 and h=4h = 4.

    V=lwh=2×3×4=6×4=24\begin{aligned} V &= lwh \\ &= 2 \times 3 \times 4 \\ &= 6 \times 4 \\ &= 24 \end{aligned}
  2. Surface area of a cuboid

    A cuboid has three pairs of identical rectangular faces, with areas lwlw, lhlh and whwh. Add one of each and double the total. Here l=2l = 2, w=3w = 3 and h=4h = 4.

    S=2(lw+lh+wh)=2(2×3+2×4+3×4)=2(6+8+12)=2×26=52\begin{aligned} S &= 2\left(lw + lh + wh\right) \\ &= 2\left(2 \times 3 + 2 \times 4 + 3 \times 4\right) \\ &= 2\left(6 + 8 + 12\right) \\ &= 2 \times 26 \\ &= 52 \end{aligned}
  3. Result

    So the volume is 2424 cubic units and the surface area is 5252 square units.

Worked examples