Beginner

Cubic Inches in a Cylinder Calculator

Enter the diameter and height of a cylinder in inches to find the volume in cubic inches — and see it instantly in cubic feet, liters and US gallons.

in

Inner diameter of the cylinder

in

Height or length of the cylinder
Volume
75.3982in³

V = π × (d/2)² × h

Cubic feet
0.0436 ft³
Liters
1.2356 L
US Gallons
0.3264 gal
Cubic centimeters
1,235.56 cm³
r = 2h = 6
Cylinder: V = π × r² × h (cubic inches)
Step by step
  1. 1

    Radius

    4 ÷ 2 = 2
  2. 2

    Base area (circle)

    π × 2² = 3.14159 × 4 = 12.5664
    Area of the circular cross-section in square inches.
  3. 3

    Volume

    12.5664 × 6 = 75.3982
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Volume of a cylinder in cubic inches = π × (diameter ÷ 2)² × height. Enter diameter and height in inches; the calculator multiplies by π, divides by 4 for the circle area, and multiplies by height. Divide by 231 for US gallons, by 1728 for cubic feet, or multiply by 16.3871 for cm³.

Formula
V = π × (d/2)² × h or V = π × r² × h (all in inches → result in in³)
How this is calculated

A cylinder's volume is the area of its circular cross-section multiplied by its height. The cross-section area is π × r², where r is the radius (half the diameter). So V = π × r² × h. When diameter d and height h are both in inches, this gives the volume directly in cubic inches (in³).

For practical applications such as engine displacement, pipe capacity or tank sizing, it is often more useful to see the result in other units. One cubic inch = 1/1728 cubic feet (since 12³ = 1728), 1 in³ = 16.3871 cm³, 1 in³ = 1/61.0237 liters, and 1 US gallon = 231 in³ exactly. These exact or agreed conversion factors drive the secondary results shown.

Note that this calculator assumes a right circular cylinder — a perfectly round, straight-walled container. For cylinders measured by outer diameter instead of inner diameter (for example, a pipe), subtract the wall thickness from the outer radius to get the inner radius before computing the internal volume.

Frequently asked questions

V = π × r² × h, where r is the radius (half the diameter) in inches and h is the height in inches. The result is in cubic inches. For example, a 4 in diameter × 6 in tall cylinder: V = π × 2² × 6 ≈ 75.4 in³.

Exactly 231 cubic inches = 1 US liquid gallon. To convert your cylinder's cubic inches to gallons, divide by 231.

Yes — for a single-cylinder engine, enter the bore (diameter) and stroke (height) in inches to get the swept volume in cubic inches. For a multi-cylinder engine, multiply by the number of cylinders.

Also known as

cubic inches in a cylinder
cylinder volume cubic inches
cylinder capacity in cubic inches
volume of cylinder in inches
pipe volume cubic inches
engine displacement cubic inches
cylinder cubic inch calculator
round tank volume inches

APA

TG we-Calculate Editorial Team. (2026). Cubic Inches in a Cylinder Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/cubic-in-cylinder-calculator

Chicago

TG we-Calculate Editorial Team. "Cubic Inches in a Cylinder Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/cubic-in-cylinder-calculator.

IEEE

TG we-Calculate Editorial Team, "Cubic Inches in a Cylinder Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/cubic-in-cylinder-calculator

BibTeX

@misc{wecalculate_cubic_in_cylinder_calculator, title = {Cubic Inches in a Cylinder Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/cubic-in-cylinder-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?