Cubic Inches Calculator

Calculate volume in cubic inches for a rectangular box, cylinder or sphere and convert it to cubic feet, liters, cubic centimeters and gallons.

Result

Cubic inches—in³
Cubic feet—ft³
Liters—L
Cubic centimeters—cm³
US gallons—gal

The cubic inch is the unit of volume of small things in the American system: engine displacement, shipping boxes, hardware, storage compartments and fluid containers. It is the volume of a cube one inch on each side. This cubic inches calculator finds the volume of a box, a cylinder or a sphere in cubic inches, and converts it to cubic feet, liters, cubic centimeters and US gallons.

How to use the cubic inches calculator

  1. Pick the shape: rectangular box, cylinder or sphere.
  2. Enter the dimensions. For a box: length, width and height. For a cylinder: diameter and height. For a sphere: diameter.
  3. Choose the units for each dimension; they are converted to inches.
  4. Read the volume in cubic inches and the conversions.

Cubic inch formulas

Box: V = L × W × HCylinder: V = π × (d ÷ 2)² × H · Sphere: V = π × d³ ÷ 6LWHdHd1 ft³ = 1,728 in³ · 1 US gal = 231 in³ calcmaple.com
Measure in inches and the three volume formulas return cubic inches directly; divide by 1,728 for cubic feet.
Box: V = length × width × height
Cylinder: V = π × (diameter ÷ 2)² × height
Sphere: V = 4/3 × π × (diameter ÷ 2)³ = π × diameter³ ÷ 6
1 in³ = 16.387064 cm³ (exact) · 1 ft³ = 1,728 in³ · 1 US gal = 231 in³

The conversion to cubic centimeters is exact, because the inch is defined as 2.54 cm: 2.54³ = 16.387064. The US gallon is defined as 231 cubic inches.

Worked examples

  • A box 12 × 10 × 8 in: 960 in³ = 0.556 ft³ = 15.73 L = 4.16 gal.
  • A can 4 in across and 6 in tall: π × 2² × 6 = 75.4 in³ = 1236 cm³.
  • A ball 10 in across: 4/3 × π × 5³ = 523.6 in³.
  • A 4×4 post, 8 ft long: 3.5 × 3.5 × 96 = 1,176 in³.

Cubic inch conversions

Cubic inchesCubic feetCubic centimetersLitersUS gallons
1 cubic inches0.000616.40.0160.004
10 cubic inches0.0058163.90.1640.043
100 cubic inches0.05791638.71.6390.433
231 cubic inches0.13373785.43.7851.000
350 cubic inches0.20255735.55.7351.515
1000 cubic inches0.578716387.116.3874.329
1728 cubic inches1.000028316.828.3177.481

Engine displacement

American engines have long been rated in cubic inches, the swept volume of all the cylinders. To convert, multiply by 0.016387 for liters: a 350 cubic inch engine is 5.7 L, a 302 is 4.9 L and a 454 is 7.4 L. Displacement is calculated as π ÷ 4 × bore² × stroke × number of cylinders.

Volume units at a glance

One cubic inch is a very small volume: a standard US soda can holds about 21.7 cubic inches (355 mL), a quart is 57.75 cubic inches and a one-gallon milk jug is 231. Small parts such as engines, batteries and electronic enclosures are described in cubic inches or cubic centimeters, whereas rooms, tanks and trucks use cubic feet, cubic yards or cubic meters. Switching between them is a matter of multiplying by the right factor, which is what the conversion table above gives you.

Where it is used

  • Shipping: package dimensions in inches are multiplied for the volume, which is part of dimensional weight pricing.
  • Storage: tool boxes, trunks and compartments are described in cubic inches or cubic feet.
  • Cooking and crafts: pan volumes are sometimes expressed in cubic inches.
  • Hydraulics: pump displacement is given in cubic inches per revolution.

Larger volumes are more convenient in cubic feet or yards: see the Cubic Footage Calculator, the Cubic Yard Calculator and the Cylinder Cubic Footage Calculator. The Tank Volume Calculator handles tanks, and the Square Inches Calculator handles areas.

Frequently asked questions

How do I calculate cubic inches?

For a box, multiply length × width × height, all in inches. A 12 × 10 × 8 inch box is 960 cubic inches. For a cylinder, use π × radius² × height; for a sphere, 4/3 × π × radius³.

How many cubic inches are in a cubic foot?

1,728 (12 × 12 × 12). To convert cubic inches to cubic feet, divide by 1,728.

How many cubic inches are in a liter?

One liter is 61.0237 cubic inches, and one cubic inch is 16.3871 milliliters (cubic centimeters).

How many cubic inches are in a gallon?

A US gallon is exactly 231 cubic inches. An imperial (UK) gallon is 277.42 cubic inches.

What is a 350 cubic inch engine in liters?

350 cubic inches × 0.016387 = 5.74 liters, which is the Chevrolet 350 V8, often called a 5.7 L.

Related calculators

Last updated November 2, 2026. Found a problem with this calculator? Tell us.