How to calculate rectangular container volume
A practical formula and worked example for boxes, tanks and rectangular containers.
What the calculation represents
For a straight-sided box or tank, inside length, width and height define the available space. US measurements can stay in inches, but the cubic-inch result must be multiplied by 0.016387064 to obtain liters.
- Reference formula
V = length × width × height- Unit reference
- 1 L = 1,000 cm³ · 1 m³ = 1,000 L · 1 US gal = 231 in³ = 3.785411784 L
A practical workflow
- Decide whether the job needs geometric volume or working capacity, then mark the actual fill line before measuring.
- Measure inside length, width and height. If a tote tapers, take dimensions near the base and rim and treat the result as a range.
- Keep all three measurements in one system; cubic inches may be converted with 1 in³ = 0.016387064 L.
- Calculate the box volume first, then list molded corners, fittings and required headspace as separate allowances.
Calculate with your own values
Worked example
A storage tote measuring 24 × 12 × 15 inches inside has a volume of 4,320 in³, or about 70.8 liters. That figure is more useful for sizing than its advertised outside dimensions.
Video: turn inside dimensions into liters
A rectangular example measuring 50 × 30 × 20 cm. Watch with English narration or read the transcript.
Synthetic voice narration. No autoplay.
Read the transcript
- Let’s calculate the volume of a box measuring fifty by thirty by twenty centimeters.
- First, measure the inside length, width and height. Do not include the thickness of the walls.
- Use the same unit for all three dimensions. In this example, every measurement is in centimeters.
- Multiply the dimensions. Fifty times thirty times twenty gives thirty thousand cubic centimeters.
- To convert to liters, divide by one thousand. Thirty thousand cubic centimeters equals thirty liters.
- That is the geometric volume. Objects inside and a filling allowance can reduce the container’s usable capacity.
- Now enter your own dimensions in the calculator at calcular litros dot com.
Find the height for a target volume
Enter the target liters and inside length and width of a rectangular box or tank.
Package dimensional weight
Use OUTSIDE dimensions in centimeters and your contract divisor in cm³/kg. 5000 is an editable example, not a guaranteed carrier rate.
Reading the answer correctly
Tapered walls and molded corners are common in household containers, so treat a simple box result as an upper estimate.
A box calculation is an upper bound for most storage totes and rotationally molded tanks. Compare it with a rated net capacity or a measured fill when container selection depends on a close fit.
Checks before relying on the number
- The tape spans the inside faces rather than the advertised outside dimensions.
- Height stops at the working fill line, not automatically at the lid or top rim.
- Feet and inches have been standardized before multiplication and the intermediate unit is cubic.
- Repeating the narrowest measurement catches a small error that can affect every subsequent estimate.
Sources and references
These references support the units, method, or limitations explained in this guide.
- NIST — SI Units: Volume
Definitions and exact relationships between liters and cubic units.
- OpenStax — Prealgebra 2e, §9.6
Ideal rectangular-solid, cylinder, sphere and cone formulas; not a certification of product capacity.
Record L × W × H, the gross liters or US gallons, and every allowance separately so the estimate remains auditable.
See how formulas, examples, and updates are reviewed.