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
in
V = π × (d/2)² × h
- 1
Radius
4 ÷ 2 = 2 - 2
Base area (circle)
π × 2² = 3.14159 × 4 = 12.5664Area of the circular cross-section in square inches. - 3
Volume
12.5664 × 6 = 75.3982
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
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
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
TG we-Calculate Editorial Team. "Cubic Inches in a Cylinder Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/cubic-in-cylinder-calculator.
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
@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?
