Cubic Inch Calculator (L x W x H + Converter)

Last Updated: June 22, 2026

Calculate the volume in cubic inches from length, width, and height, or solve for a missing dimension with built-in unit conversion.

Cubic Inch Calculator

Required: enter length, width, and height. Each dimension may use a different unit.

Results

Cubic Inch Formula

This calculator finds the volume in cubic inches using one of two methods. When you know all three dimensions, it multiplies length by width by height:

V = L * W * H

When you know the area of the base and the height, it multiplies those two values:

V = A * H

When you already know the volume and need a missing dimension, it rearranges the first formula. For example, to solve for length:

L = V / (W * H)

The variables are:

  • V is the volume in cubic inches (cu in).
  • L is the length.
  • W is the width.
  • H is the height.
  • A is the base area.

The solve-for selector controls which value the calculator returns. Choose "Volume in cubic inches" to multiply your dimensions, or pick a missing dimension to divide the known volume by the other two values. Each input has its own unit menu, so you can enter measurements in inches, feet, yards, millimeters, centimeters, or meters and the calculator converts everything to inches before multiplying. The result can also be displayed in other volume units such as cubic feet, liters, milliliters, or US gallons, and the decimal places setting controls rounding.

Cubic Inch Conversions and Reference Values

Cubic inches relate to other volume units by fixed factors. Use this table to convert a result or sanity-check an entry.

UnitEquals in Cubic Inches
1 cubic foot1,728 cu in
1 cubic yard46,656 cu in
1 US gallon231 cu in
1 liter61.024 cu in
1 cubic centimeter0.061 cu in

Because cubic inches measure three dimensions, converting a single linear unit changes the result by the cube of the factor. One inch equals 2.54 cm, so one cubic inch equals 2.54 x 2.54 x 2.54 = 16.387 cubic centimeters.

Length UnitCube of the Unit (Cubic Inches)
1 inch1 cu in
1 foot1,728 cu in
1 centimeter0.061 cu in

Example Problems

Example 1. A box measures 12 inches long, 8 inches wide, and 6 inches high. Multiply the three dimensions:

V = 12 * 8 * 6 = 576 cubic inches.

Example 2. A container holds 1,728 cubic inches and has a base that is 12 inches long and 9 inches wide. To find the height, divide the volume by the base dimensions:

H = 1,728 / (12 * 9) = 16 inches.

FAQ

How many cubic inches are in a cubic foot?
There are 1,728 cubic inches in one cubic foot, because a foot is 12 inches and 12 x 12 x 12 equals 1,728.

Can I mix units when entering dimensions?
Yes. Each dimension has its own unit menu, so you can enter the length in feet and the width in inches. The calculator converts every value to inches before multiplying, so the result is always correct in cubic inches.

How do I convert cubic inches to gallons?
Divide the number of cubic inches by 231. For example, 462 cubic inches divided by 231 equals 2 US gallons. You can also set the result unit to US gallons and the calculator does this for you.

cubic inch calculator