Clear methods for measuring volume, capacity and water with confidence.No sign-up
Practical guide

How to calculate rectangular container volume

A practical formula and worked example for boxes, tanks and rectangular containers.

Formula, units, and example documentedHow this guide is reviewed

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

  1. Decide whether the job needs geometric volume or working capacity, then mark the actual fill line before measuring.
  2. Measure inside length, width and height. If a tote tapers, take dimensions near the base and rim and treat the result as a range.
  3. Keep all three measurements in one system; cubic inches may be converted with 1 in³ = 0.016387064 L.
  4. Calculate the box volume, then deduct only the space taken up by molded corners, reinforcements and fittings that is still included. If height stops at the fill line, headspace is already excluded and must not be deducted again.

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.

Download the video

Read the transcript
  1. Let’s calculate the volume of a box measuring fifty by thirty by twenty centimeters.
  2. First, measure the inside length, width and height. Do not include the thickness of the walls.
  3. Use the same unit for all three dimensions. In this example, every measurement is in centimeters.
  4. Multiply the dimensions. Fifty times thirty times twenty gives thirty thousand cubic centimeters.
  5. To convert to liters, divide by one thousand. Thirty thousand cubic centimeters equals thirty liters.
  6. That is the geometric volume. Objects inside and a filling allowance can reduce the container’s usable capacity.
  7. Now enter your own dimensions in the calculator at calcular litros dot com.

Find the height for a target volume

Choose the target volume unit and the unit for inside dimensions. The required height is also shown in your selected dimension unit.

Editable example

Enable JavaScript to calculate. The method remains available in this guide.

Find the height for a target volume

Changing units converts your entries and preserves the physical quantities.

Package dimensional weight

Enter OUTSIDE dimensions in your chosen unit. The contract divisor remains in cm³/kg: dimensions are converted before applying it. 5000 is only an example; check your carrier contract.

Editable example

Enable JavaScript to calculate. The method remains available in this guide.

Package dimensional weight

Changing units converts your entries and preserves the physical quantities.

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.

  1. NIST — SI Units: Volume

    Definitions and exact relationships between liters and cubic units.

  2. 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.

Worked comparison: outside dimensions versus inside capacity

Your privacy

The calculator works without analytics or advertising consent. Choose what to allow. You can change your choice in “Privacy and cookie settings”.