Volume of a Box

Find the volume of a box using length, width and height. The rectangular prism volume calculator supports mixed units and worked steps.

FREE CALCULATOR

Enter the length, width and height using the same unit. Results update automatically as you change any value or unit.

Rectangular prism showing length, width, height and diagonalLENGTH (l)HEIGHT (h)WIDTH (w)SPACEDIAGONAL

Calculated results

Volume3,240
in³
Total surface area1,332
in²
Diagonal (d)26.28
in

Calculation methods, references & accuracy limits

Volume of a Box Formula

Rectangular prism volume is calculated from length l; width w; height h. V = lwh. Enter the labeled measurements and review the result in the displayed units.

V = lwh

Required inputs: Length l; width w; height h.

How to find the volume of a box

  1. Use the page’s default calculation and check the field labels.
  2. Enter length l; width w; height h.
  3. Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
  4. The dedicated rectangular-prism tool updates automatically as inputs change.
  5. Check the result against the model assumptions below before using it for a project.

Worked example

Rectangular Prism formula and worked example: V = lwh
Rectangular Prism — formula, measurements and a worked example. Open full-size image. The same mathematics remains available as text.

For lengths 2 cm, 3 cm and 4 cm, volume is 24 cm³. Total surface area is 52 cm² and the space diagonal is approximately 5.3852 cm.

Assumptions and limits

This dedicated tool updates volume, surface area and diagonal automatically. The dimension-unit selector applies to all three entries; the displayed units follow it.

Units and accuracy

Lengths use linear units, areas use squared units and volumes use cubed units. For example, 1 m³ = 1,000 L; 1 ft³ = 1,728 in³; and 1 yd³ = 27 ft³. US and imperial gallons differ, so use the correctly labeled output. A conversion does not improve measurement accuracy.

Keep unrounded measurements during the calculation and round the final result to suit the measurements. Very small nonzero results may use scientific notation to avoid displaying a misleading zero.

Questions about this tool

Why can my real measurement differ from the answer?

This dedicated tool updates volume, surface area and diagonal automatically. The dimension-unit selector applies to all three entries; the displayed units follow it.

Can I change the input units?

Choose the appropriate unit control and interpret each field as length, area or volume according to its label. Changing a unit does not automatically turn an outside measurement into an inside measurement.

How do I report an incorrect result?

Use Contact Us and include the page URL, selected method, input values, units and expected result. The contact form opens your email application; do not include sensitive information.

Choosing the right box measurements

Measure along three mutually perpendicular directions. For an open container, the liquid depth can replace full height when estimating current contents. Do not use the diagonal as a side.

A practical calculation

A box measuring 5 ft × 3 ft × 2 ft has 30 ft³ of volume, approximately 849.51 liters. A 6-inch-thick layer covering 5 ft × 3 ft is only 7.5 ft³ because 6 inches equals 0.5 ft.

Inside and outside volume

Wall thickness, lids and internal dividers reduce capacity. For a hollow enclosure, subtract internal or displaced volumes only when their geometry and units are known.

Read our calculation methods, unit references and accuracy limits.

Measurement question

How to find the volume of a box?

Multiply length, width and height after expressing the measurements in compatible units. A box and a rectangular prism use the same volume formula. Use inside measurements for storage capacity; use outside dimensions for the overall package volume.

Summary

Find the volume of a box using length, width and height. The rectangular prism volume calculator supports mixed units and worked steps.