Skip to content
FiftyCalc Free calculators for all 50 states

Cuboid Calculator

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

Enter the length, width and height of a rectangular box (cuboid) 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²) (length units)—
  • Total length of the 12 edges, 4(l + w + h)—

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

Cuboid Calculator

Length l (length units): enter 0 or more. Prefilled example: 3.

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

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

How to use this calculator

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

  1. Length l (length units): 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), Space diagonal √(l² + w² + h²) (length units) and Total length of the 12 edges, 4(l + w + h).

How this calculator works

A cuboid (rectangular prism) with length l, width w and height h has volume V = l·w·h and total surface area A = 2(lw + lh + wh), the six rectangular faces in three equal pairs. The four side faces alone give the lateral area 2h(l + w).

The space diagonal from one corner to the opposite corner is √(l² + w² + h²) (the Pythagorean theorem used twice), and the 12 edges add up to 4(l + w + h).

The formula

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

Worked example

Length l (length units)3
Width w (same unit)4
Height h (same unit)5
Total surface area 2(lw + lh + wh) (square units)94
Lateral area 2h(l + w), without top and bottom (square units)70
Space diagonal √(l² + w² + h²) (length units)7.0711
Total length of the 12 edges, 4(l + w + h)48
  1. Vol=3×4×5=60

Volume l × w × h (cubic units) 60

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

Frequently asked questions

What are the volume and surface area of a 3 × 4 × 5 box?

Volume 60 cubic units and surface area 2(12 + 15 + 20) = 94 square units; the diagonal is about 7.0711.

Is a cube a cuboid?

Yes, a cube is a cuboid whose length, width and height are equal.

Questions answered

Related calculators