Cuboid Volume Calculator
A cuboid, or rectangular box, encloses a volume equal to its length times its width times its height. Enter the three dimensions and this calculator returns the volume in cubic units, the surface area of the six faces, and, if you measured in centimeters, the capacity in liters (1 liter equals 1,000 cubic centimeters). A cube is the special case where all three dimensions are equal. These are exact geometric definitions, so the only requirement is to keep all three dimensions in the same length unit.
Cuboid volume formulas
Volume = length x width x height
Capacity (liters) = volume in cubic centimeters / 1,000
Surface area = 2 x (l x w + l x h + w x h)
Space diagonal = square root of (l squared + w squared + h squared)
Volume is the product of the three dimensions. The liter figure assumes the inputs are centimeters, since 1 liter is exactly 1,000 cubic centimeters by definition.
Cuboid volume context
- Volume equals length times width times height, in cubic units.
- A cube is a cuboid with all three dimensions equal.
- One liter equals exactly 1,000 cubic centimeters.
- The space diagonal is the longest straight line inside the box.
- Keep all three dimensions in the same length unit.
Cuboid volume: frequently asked questions
What is the volume of a cuboid?
The volume of a cuboid (rectangular box) is its length times its width times its height: V = l x w x h. For a box 4 by 3 by 2 units the volume is 4 x 3 x 2 = 24 cubic units. This is the space enclosed inside the box.
How do I convert cubic centimeters to liters?
One liter equals exactly 1,000 cubic centimeters. So a box measured in centimeters has a volume in cubic centimeters that you divide by 1,000 to get liters. This calculator shows liters when the dimensions are interpreted as centimeters, alongside the raw cubic-unit volume.
What is the difference between volume and capacity?
Volume is the geometric space the box occupies, while capacity is how much it can hold, usually expressed in liters or gallons. For a thin-walled container the two are nearly the same. This calculator gives the geometric volume and a liter conversion assuming the dimensions are internal.
Is a cube a cuboid?
Yes. A cube is a cuboid in which length, width and height are all equal, so its volume simplifies to the side cubed. Enter equal dimensions to compute a cube. A cuboid is the general rectangular box of which a cube is a special case.
What units does the result use?
Use the same length unit for all three dimensions. The volume is then in that unit cubed (for example cubic inches if you enter inches), and the surface area is in that unit squared. The liter figure assumes the inputs are in centimeters; ignore it if you used a different unit.
Official sources
- U.S. National Institute of Standards and Technology: Unit conversion (volume and liters).
- NASA: Volume and geometry reference.
Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.