Calculators.Life Calculator
Math

Cubic Volume Calculator

Input Parameters

Scenarios
Length of the rectangular prism or container
Width of the rectangular prism or container
Height of the rectangular prism or container

Computed Results

Volume (ft³)
24
Volume (m³)0.6796
Volume (yd³)0.8889
Liquid Volume (US Gallons)179.53
Liquid Volume (Liters)679.6

The cubic volume calculator determines the total three-dimensional space enclosed within a rectangular prism or container. By entering the length, width, and height, you can quickly find the volume in cubic feet, cubic meters, cubic yards, US gallons, and liters, even if your measurements use different units.

Verified Calculation Scenarios

Here are four verified examples showing how the calculator processes different dimensions and units.

Small box measured in centimeters

For a box with a length of 10 centimeters, a width of 15 centimeters, and a height of 20 centimeters, the volume is 0.1059 cubic feet, 0.003 cubic meters, 0.0039 cubic yards, 0.79 US gallons, and 3 liters.

Standard room dimensions in feet

If a room has a length of 12 feet, a width of 10 feet, and a height of 8 feet, the total volume is 960 cubic feet. This converts to 27.1842 cubic meters, 35.5556 cubic yards, 7,181.3 US gallons, and 27,184.17 liters.

Large industrial warehouse space in meters

For a warehouse measuring 50 meters in length, 30 meters in width, and 10 meters in height, the volume is 15,000 cubic meters. This equals 529,720.0008 cubic feet, 19,619.2593 cubic yards, 3,962,580.79 US gallons, and 15,000,000 liters.

Mixed unit calculation with inches and yards

If you have mixed units—such as a length of 36 inches, a width of 2 yards, and a height of 18 inches—the calculator standardizes the units to find a volume of 27 cubic feet, 0.7646 cubic meters, 1 cubic yard, 201.97 US gallons, and 764.55 liters.

How the Cubic Volume Formula Works

The calculator uses the standard geometric formula for the volume of a rectangular prism. First, it converts all input measurements into a common unit (meters) to ensure accuracy when mixed units are used.

Volume = Length × Width × Height

Once the volume is calculated in cubic meters, the tool applies standard conversion factors to provide the results in cubic feet, cubic yards, liters, and US gallons.

How to Use the Calculator

Follow these steps to calculate cubic volume:

  1. Enter the Length (l) of the container or space.
  2. Select the appropriate Length Unit from the dropdown menu.
  3. Enter the Width (w).
  4. Select the Width Unit.
  5. Enter the Height (h).
  6. Select the Height Unit.

The calculator will instantly display the volume in multiple units and update the visual chart comparing the volume across common units.

Inputs and Outputs

FieldTypeDescription
Length (l)InputLength of the rectangular prism or container.
Length UnitInputThe unit of measurement for the length.
Width (w)InputWidth of the rectangular prism or container.
Width UnitInputThe unit of measurement for the width.
Height (h)InputHeight of the rectangular prism or container.
Height UnitInputThe unit of measurement for the height.
Volume (ft³)OutputThe calculated volume in cubic feet.
Volume (m³)OutputThe calculated volume in cubic meters.
Volume (yd³)OutputThe calculated volume in cubic yards.
Liquid Volume (US Gallons)OutputThe equivalent liquid volume in US gallons.
Liquid Volume (Liters)OutputThe equivalent liquid volume in liters.

Practical Use Cases

Calculating cubic volume is useful in various practical situations. It helps determine the capacity of storage containers, shipping boxes, and liquid tanks. It is also used to calculate the volume of rooms for HVAC sizing or to estimate the amount of materials needed for landscaping projects, such as soil or mulch, which are often sold by the cubic yard.

Frequently Asked Questions

Can I use different units for length, width, and height?

Yes, the calculator allows you to select different units for each dimension. It automatically converts all measurements to a standard unit before calculating the final volume.

How do I convert cubic meters to liters?

To convert cubic meters to liters, multiply the volume in cubic meters by 1,000. The calculator performs this conversion automatically.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.