Box Volume Calculator

Use this box volume calculator to find the volume of a rectangular box or cube from its dimensions. Get instant results in cubic units, liters, mL, gallons, ft³, and m³.

cm
cm
Volume
Additional Measurements (Area & Edge)
Surface Area
cm²
Total Edge Length
cm
Assumptions & Formulas
By: AxisCalc Published: April 2, 2026 Reviewed by: Arthur Penhaligon

Determine the exact capacity of a shipping container, planter box, or storage cube using just three basic measurements. This calculator finds the volume for a rectangular box or a perfect cube, supporting both metric and imperial input units.

It instantly converts your results into standard cubic units, liters, milliliters, and US gallons. Alongside the main volume, the tool also returns the surface area and total edge length. If you need to know the usable capacity inside a container, simply enter the internal dimensions.

Box Volume Formula

The math behind the tool relies on a straightforward multiplication equation. To find the volume, you multiply the length, width, and height together. Before calculating, ensure all dimensions share the exact same linear unit. You do not need to manually convert the final answer; the tool automatically switches the base result into your requested capacity unit.

Volume is always measured in cubic units. For example, multiplying $cm \times cm \times cm$ gives you $cm^3$, while $ft \times ft \times ft$ results in $ft^3$.

ShapeFormulaVariables
Rectangular box$V = L \times W \times H$L = length, W = width, H = height/depth
Cube$V = a^3$a = edge length

How to Calculate Box Volume

Finding the space inside a container takes just a few quick steps.

  1. Choose your shape mode: the rectangular box requires three dimensions, while the cube requires only one edge.
  2. Enter your measurements, ensuring they all use the exact same linear unit.
  3. Select your preferred output unit from the dropdown menu.
  4. Read the final volume result. The tool automatically converts the base calculation into your chosen final format.

Box Volume Units and Conversions

You can input measurements using millimeters, centimeters, meters, inches, feet, or yards. The calculator processes these numbers to generate a native cubic result based on your starting linear unit.

Input unitNative cubic result
mm$mm^3$
cm$cm^3$
m$m^3$
in$in^3$
ft$ft^3$
yd$yd^3$

After finding that base volume, the tool automatically converts the answer into your chosen output format, including $mm^3$, $cm^3$, $mL$, $L$, US gal, $m^3$, $in^3$, $ft^3$, and $yd^3$.

Volume unitRelation
1 $cm^3$1 mL
1 L1,000 $cm^3$
1 $m^3$1,000 L
1 $ft^3$1,728 $in^3$
1 $yd^3$27 $ft^3$
1 US gal$\approx 3.785 \text{ L}$

Use Internal Dimensions for Box Capacity

The numbers you measure dictate exactly what the final volume represents. Taking measurements from the inside walls gives you the usable capacity, while measuring the outside gives you the total outer geometric size. Because wall thickness can materially reduce the real space inside a container, always measure the interior if your goal is filling or packing.

Measurement basisMeaning of result
Internal dimensionsusable inside capacity
External dimensionsouter geometric volume

Surface Area and Total Edge Length Formulas

Because a box is a three-dimensional object, you might need to know more than just its inner capacity. The calculator also outputs the surface area and the total edge length. You will use surface area when wrapping, painting, coating, or applying labels to the outside. The total edge length helps when cutting trim, building a frame, or reinforcing the borders.

OutputRectangular box formulaCube formula
Volume$L \times W \times H$$a^3$
Surface area$2(LW + LH + WH)$$6a^2$
Total edge length$4(L + W + H)$$12a$

Box Volume Examples

Review these practical scenarios to see how typical inputs translate into accurate answers.

ExampleDimensionsResult
Rectangular box in $cm^3$$30 \times 20 \times 10 \text{ cm}$$6,000 \text{ } cm^3$
Same box in liters$30 \times 20 \times 10 \text{ cm}$$6 \text{ L}$
Box in cubic inches$12 \times 10 \times 8 \text{ in}$$960 \text{ } in^3$
Shipping box in $ft^3$$24 \times 18 \times 12 \text{ in}$$3 \text{ } ft^3$
Large freight crate in $m^3$$2 \times 1.5 \times 1 \text{ m}$$3 \text{ } m^3$
Cube volume$5 \text{ cm}$ edge$125 \text{ } cm^3$
Internal box capacity$40 \times 30 \times 25 \text{ cm}$$30,000 \text{ } cm^3 = 30 \text{ L}$

Box Volume Calculator Inputs and Outputs

Understanding exactly what this tool accepts and provides helps you get the right answer on the first try.

Tool partWhat it does
Shape modeswitches between rectangular box and cube
Dimension inputsaccepts positive numeric values
Linear unit selectorsets mm, cm, m, in, ft, yd
Volume output selectorswitches result across supported volume units
Additional measurementsshows surface area and total edge length

Limits and Assumptions of This Box Volume Calculator

This specific tool is built exclusively for perfect rectangular boxes and cubes. It does not handle irregular shapes, tapered containers, or cylinders. All entered dimensions must be greater than zero to produce a valid result. If you switch to the cube mode, any hidden inputs left over from the rectangular view are ignored. Finally, the main volume and all secondary outputs are derived from the exact same entered dimensions.

Choosing the Right Result for Your Project

With three distinct mathematical answers provided, selecting the correct metric prevents costly mistakes during your physical project.

NeedUse this result
Space inside the boxVolume
Fill capacityVolume using internal dimensions
Wrapping or coatingSurface area
Frame or edge materialTotal edge length

Related Tools & Calculators: