Skip to content
FiftyCalc Free calculators for all 50 states

Rectangular Prism Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the length, width and height of the box in the same unit.

Result

Sample figures

Volume l × w × h (cubic units)—

Total surface area 2(lw + lh + wh) (square units) —

  • Lateral area 2h(l + w), without top and bottom (square units)—
  • Space diagonal √(l² + w² + h²)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Rectangular Prism Calculator

Length l (any unit): enter 0 or more. Prefilled example: 4.

Width w (same unit): enter 0 or more. Prefilled example: 3.

Height h (same unit): enter 0 or more. Prefilled example: 2.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Length l (any unit): enter 0 or more.
  2. Width w (same unit): enter 0 or more.
  3. Height h (same unit): enter 0 or more.
  4. Read the result: Volume l × w × h (cubic units); the panel also shows Total surface area 2(lw + lh + wh) (square units), Lateral area 2h(l + w), without top and bottom (square units) and Space diagonal √(l² + w² + h²).

How this calculator works

A rectangular prism (cuboid) has six rectangular faces. Volume V = lwh. Surface area S = 2(lw + lh + wh), the sum of three pairs of equal faces; the lateral area 2h(l + w) leaves out the top and bottom.

The space diagonal, from one corner to the opposite corner through the inside, is √(l² + w² + h²), the Pythagorean theorem applied twice.

The formula

  1. Vol=l×w×h
Symbols used in the formula
SymbolMeaningUnit
lLength lany unit
wWidth wsame unit
hHeight hsame unit
VolVolume l × w × hcubic units

Worked example

Length l (any unit)4
Width w (same unit)3
Height h (same unit)2
Total surface area 2(lw + lh + wh) (square units)52
Lateral area 2h(l + w), without top and bottom (square units)28
Space diagonal √(l² + w² + h²)5.3852
  1. Vol=4×3×2=24

Volume l × w × h (cubic units) 24

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the volume of a 4 × 3 × 2 box?

24 cubic units; its surface area is 2(12 + 8 + 6) = 52 square units.

How much wrapping paper covers a box?

At least its total surface area; add overlap for folds.

Questions answered

Related calculators