A volume calculator using length × width × height finds the space inside a rectangular box: enter its length, width, and height in the same unit, and it returns volume in cubic units. This calculator is for rectangular prisms such as boxes, rooms, and tanks; it also shows how to convert cubic metres to litres.
Formula
For a rectangular prism, volume equals length multiplied by width multiplied by height:
V = l × w × h
- V is volume, in cubic metres (m³) when all three inputs are metres.
- l is length, in metres (m).
- w is width, in metres (m).
- h is height, in metres (m).
The second result converts cubic metres to litres: 1 m³ = 1,000 L, so litres = V × 1,000. This conversion is exact. If you enter dimensions in centimetres or another unit, convert each measurement to metres first; the calculator does not infer or convert mixed units.
Worked Example
Using the default inputs—length 2 m, width 1.5 m, and height 1 m—the calculation is:
V = 2 m × 1.5 m × 1 m = 3 m³
Convert to litres: 3 m³ × 1,000 L/m³ = 3,000 L.
The outputs are therefore 3.000 m³ and 3,000 L. The cubic units follow from multiplying three lengths: m × m × m = m³.
When to Use Length × Width × Height
This formula applies when an object has a rectangular-prism shape: six flat rectangular faces, with opposite faces parallel and equal. It is useful for estimating the geometric capacity of a storage box, the space occupied by a rectangular package, or the volume of a room with straight walls and a level floor and ceiling.
Measure the three perpendicular dimensions that define the object. For a box, these are often called length, width, and height, but the labels are conventions: assigning the names differently does not change the product. For a room, use inside dimensions if you want usable interior volume rather than the volume bounded by the outside walls.
This calculation gives the space enclosed by the dimensions, not necessarily the amount of material or liquid that can actually fit. Walls, rounded corners, internal supports, a lid, headspace, or an irregular interior can reduce usable capacity. For shipping, also check whether the carrier specifies exterior dimensions or a different volume rule.
Units and Conversion
All three dimensions must use the same unit before multiplication. The unit is cubed in the result: centimetres produce cm³, feet produce ft³, and inches produce in³. A common error is to multiply a length in centimetres by a width in metres without converting; the numerical result then has no consistent physical meaning.
- 1 m = 100 cm, so 1 m³ = 1,000,000 cm³.
- 1 cm³ = 1 mL exactly, and 1,000 cm³ = 1 L.
- 1 ft³ is approximately 28.3168 L.
- 1 in³ is approximately 16.3871 mL.
For example, a box measuring 40 cm × 30 cm × 20 cm has a volume of 24,000 cm³, which is 24 L. In metres, the same calculation is 0.4 × 0.3 × 0.2 = 0.024 m³, also 24 L after multiplying by 1,000. The two results agree because they describe the same box in different units.
Accuracy, Capacity, and Common Mistakes
The formula is exact for an ideal rectangular prism, but a measured result is only as precise as the measurements. If a side is recorded as 2 m, that may mean an approximate measurement rather than a dimension known to the nearest millimetre. Do not report many decimal places as if the volume were more certain than the inputs.
- Mixing units: Convert all sides to one unit before calculating.
- Using outside dimensions for interior capacity: Measure the inside length, width, and height when estimating what fits inside.
- Confusing area with volume: Length × width gives area in square units; multiplying by height gives volume in cubic units.
- Assuming every container is a box: A cylindrical, tapered, or irregular container needs a different formula or a direct capacity measurement.
- Equating geometric volume with fillable volume: Leave room for lids, fittings, contents that displace liquid, and any required headspace.
For an object with curved sides or a sloping top, length × width × height gives the volume of a bounding rectangular box, not the object itself. That may be a useful upper estimate, but it should not be presented as the object’s true volume.
Related Shapes and Alternatives
Choose a formula that matches the shape. A rectangular prism uses three dimensions; a cube is the special case where all three sides are equal, so V = s³. A cylinder uses the area of its circular base times its height, V = πr²h. A triangular prism uses the area of its triangular cross-section times the prism length. For a highly irregular solid, volume may be estimated from a suitable geometric approximation or measured by an appropriate displacement method when safe and practical.
For a room with alcoves or cut-outs, split the space into rectangular sections, calculate each section separately, then add the volumes. For a cut-out, subtract its volume. This works only if the sections do not overlap and the dimensions refer to the same unit system.
Frequently Asked Questions
How do you calculate volume with length, width, and height?
Multiply the three dimensions: V = l × w × h. If each measurement is in metres, the answer is in cubic metres.
Can I use centimetres in the formula?
Yes. If all three measurements are in centimetres, the result is cubic centimetres. Since 1 cm³ equals 1 mL, divide the result in cm³ by 1,000 to express it in litres.
Is length × width × height the same as capacity?
It estimates the geometric volume of a rectangular interior. Actual usable capacity may be smaller because of wall thickness, rounded corners, fittings, or space that must remain unfilled.
What if the measurements use different units?
Convert them to a common unit before multiplying. For instance, turn centimetres into metres by dividing by 100, or metres into centimetres by multiplying by 100.
Does this formula work for a cylinder or an irregular container?
No. It applies to rectangular prisms. Cylinders require V = πr²h, while irregular shapes need a shape-specific method or an appropriate volume measurement.
Related
Formula used
in l | Length | m | 2 | 0 in w | Width | m | 1.5 | 0 in h | Height | m | 1 | 0 out v | Volume | m³ | l * w * h | 3 out lit | Volume | L | v * 1000 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Calculator in Hindi: Meaning, Usage and Examples0.2000 mol/L
- Volume Strength Formula in Terms of Molarity11.20 volumes
- H2O2 Volume Strength to Molarity Calculator0.893 mol/L
- Volume Strength to Molarity: Formula and Calculator0.0409 mol/L
- Molar Volume: Definition, Formula, and Calculator22.414 L/mol
- Molar Volume of a Gas Calculator and Formula22.4140 L/mol