Volume for a rectangular box is length × width × height. Enter the three dimensions in the same unit to calculate the enclosed volume, with the result expressed in that unit cubed.
Formula
For a rectangular prism, volume equals length multiplied by width multiplied by height:
V = l × w × h
- V is volume, in cubic meters (m³) when dimensions are entered in meters.
- l is length, in meters (m).
- w is width, in meters (m).
- h is height, in meters (m).
The calculator also converts cubic meters to liters using 1 m³ = 1,000 L, so its second result is V × 1,000. This is a unit conversion, not a different volume formula. If you enter dimensions in centimeters or inches instead, multiply the three values to get cubic centimeters or cubic inches; the unit of the answer is always the input unit cubed.
Worked Example
With the default dimensions, length is 2 m, width is 1 m, and height is 1 m.
- Multiply the length and width: 2 m × 1 m = 2 m².
- Multiply by the height: 2 m² × 1 m = 2 m³.
- Convert to liters: 2 m³ × 1,000 L/m³ = 2,000 L.
The calculator therefore returns 2.000 m³ and 2,000.000 L, with both outputs rounded to three decimal places.
Assumptions
- The object or space is a rectangular prism: its faces are flat and its length, width, and height are mutually perpendicular.
- The entered measurements describe the dimensions of the space whose volume is wanted, rather than the outside dimensions of a container with thick walls.
- All three dimensions use the same unit. The calculator treats its input values as meters.
- The calculation is geometric capacity; it does not account for rounded corners, sloping sides, fittings, contents, or unusable space.
How Length × Width × Height Works
Imagine stacking identical rectangular layers. The base has an area of length × width. Multiplying that area by the height gives the number of cubic units that fit in the three-dimensional space. For example, a box 40 cm long, 30 cm wide, and 20 cm high has a volume of 40 × 30 × 20 = 24,000 cm³. Since 1,000 cm³ equals 1 L, that is 24 L.
Volume is a derived quantity: each of the three dimensions contributes one length unit, so the unit is cubed. Thus meters produce cubic meters, centimeters produce cubic centimeters, and inches produce cubic inches. A common mistake is to write a volume in square units, such as m². Square units describe area; volume requires three dimensions and cubic units.
The formula applies directly to boxes, rectangular rooms, storage bins, and other rectangular prisms. It can also estimate the capacity of a rectangular tank, although the result may be an upper bound if the tank has rounded edges, internal equipment, a sloped top, or a fill line below its rim.
Choose and Measure the Right Dimensions
Identify which three perpendicular measurements define the space. “Length,” “width,” and “height” are labels, not special directions: swapping length and width leaves the product unchanged. Height usually means the vertical dimension, but for a box lying on its side, any three perpendicular edge lengths give the same volume.
- For a container: decide whether you need outside volume or usable inside capacity. For capacity, measure the internal dimensions; wall thickness reduces the available space.
- For a room: measure the usable floor length and width and the ceiling height. Irregular alcoves or sloped ceilings may need to be divided into simpler shapes.
- For a package: check whether the question asks for the box’s geometric volume or a carrier’s dimensional weight. Dimensional weight uses a separate divisor and is not volume itself.
- For a partly filled container: use the liquid’s depth as the height if the sides are vertical and the base is rectangular. The full container height would overstate the liquid volume.
Keep measurement precision realistic. A tape reading of 1.23 m does not justify claiming the result is exact to many decimal places. The calculator displays three decimal places, but rounding in the display does not make the measurements more precise. For a final report, round according to the precision of the measurements and the purpose of the calculation.
Units, Conversions, and Practical Limits
Before multiplying, convert all measurements to one unit. For example, a length in meters cannot be multiplied directly by a width in centimeters and a height in meters unless you first convert one unit system. Since 1 m = 100 cm, 75 cm is 0.75 m. A box measuring 2 m × 0.75 m × 0.5 m therefore has volume 0.75 m³, or 750 L.
Useful volume relationships include:
- 1 m³ = 1,000 L.
- 1 L = 1,000 cm³.
- 1 cm³ = 1 mL.
- 1 ft³ = 1,728 in³.
These relationships are exact unit conversions. They do not imply that every container’s advertised capacity equals its outside dimensions. A vessel’s rated or usable capacity may be lower because of walls, shape, a lid, headspace, or a maximum fill mark.
The length × width × height formula is not suitable for every shape. A cylinder uses πr²h; a sphere uses (4/3)πr³; a cone uses (1/3)πr²h. For an irregular object, volume may be estimated by dividing it into simpler shapes or, where appropriate, by measuring displaced liquid. Do not treat a bounding rectangular box as the exact volume of a rounded or irregular object; it gives the volume of the enclosing box, not necessarily the material inside it.
Common Mistakes and Misconceptions
- Mixing units: convert all dimensions first, or the numerical product will not have a coherent unit.
- Using outside dimensions for capacity: wall thickness and rounded corners reduce interior space.
- Confusing area with volume: length × width is area; multiply by height for volume.
- Assuming a box formula fits any shape: it applies to rectangular prisms, not automatically to cylinders, spheres, or irregular forms.
- Confusing volume with mass: volume measures space. To find mass, density is also needed: mass = density × volume, with compatible units.
One related question is whether dimensions can be in any order. Yes, provided they are the three perpendicular dimensions of the same rectangular prism and are measured in matching units. Multiplication is commutative, so changing their order does not change the answer.
Frequently Asked Questions
How do you calculate volume from length, width, and height?
Multiply the three measurements: V = length × width × height. The result is in cubic units, such as m³ or cm³.
What is the volume of a 10 × 5 × 4 box?
Multiply 10 × 5 × 4 = 200. The volume is 200 cubic units, such as 200 cm³ if the measurements were in centimeters.
Do length, width, and height need to be in the same units?
Yes. Convert them all to a common unit before multiplying. Otherwise, the numerical product will not represent a valid volume in a single cubed unit.
How do I convert cubic meters to liters?
Multiply cubic meters by 1,000. For example, 0.25 m³ × 1,000 = 250 L.
Does length × width × height work for every object?
No. It gives the exact volume of a rectangular prism. Other shapes require their own formulas, and irregular shapes need a suitable approximation or measurement method.
Related
Formula used
in l | Length | m | 2 | 0 in w | Width | m | 1 | 0 in h | Height | m | 1 | 0 out v | Volume | m^3 | l * w * h | 3 out vl | Volume in liters | L | v * 1000 | 3
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
- Liters to Cubic Meters: Conversion and Examples0.001000 m³
- Normal Cubic Meter to Liters Calculator1,000.00 L
- Qt to Liters Conversion: US and Imperial Quarts0.946353 L
- Meters to Liters Formula: Convert Length to Volume?1,000.000 L
- Meters to Litres: Why Length Alone Is Not Enough1,000.00 L
- Cubic Meters per Hour to Liters per Second0.2778 L/s