sodcalculator

05 Area and Shapes

Cylinder Volume Gallons Calculator with Dimensions

Tag 05-67996 · Updated · Standard formula, shown below

Volume (cubic inches) 2,714.34 in³
Volume (US gallons)
11.75 gal
Result
Cylinder Diameter
12 in
You entered
Cylinder Height
24 in
You entered
You enter
Cylinder Diameter, Cylinder Height
You get
Volume (cubic inches), Volume (US gallons)
Rounding
2 dp

This calculator determines the volume of a right circular cylinder in US liquid gallons when you provide its diameter and height in inches. It is designed for quick estimates of tank capacity, pipe fill, or container volume when only physical dimensions are known. You enter the cylinder’s diameter and height, and the tool returns the total volume in both cubic inches and US gallons.

The calculation uses the standard geometric formula for cylinder volume and then converts the result to gallons using the US liquid gallon definition of 231 cubic inches. The output represents the full capacity of the cylinder, assuming a perfect geometric shape with no wall thickness or internal components.

Formula

Volume of a cylinder: V = π × (d/2)² × h, where d is the diameter (in inches) and h is the height (in inches). The volume in cubic inches is converted to US gallons using the constant 1 US gallon = 231 in³. The result is the total liquid capacity of the cylinder.

Worked Example

The calculator opens with these default values; each step below is computed from the formula.

Step Working Result
1 Cylinder Diameter 12 in
2 Cylinder Height 24 in
3 Volume (cubic inches) = pi * (12/2)^2 * 24 2,714.34 in³
4 Volume (US gallons) = 2714.336053 / 231 11.75 gal

Volume (gallons) vs. diameter (in) with height fixed at 24 in

Cylinder Diameter (in) Volume (cubic inches) (in³) Volume (US gallons) (gal)
6 678.58 2.94
9 1,526.81 6.61
12 2,714.34 11.75
15 4,241.15 18.36
18 6,107.26 26.44
21 8,312.65 35.99
24 10,857.34 47.00
27 13,741.33 59.49
30 16,964.60 73.44
33 20,527.17 88.86
36 24,429.02 105.75

How to read this table

The reference tables list volumes for common diameter and height combinations.

To use the tables, locate the row matching your known dimension (diameter or height) and read the corresponding volume in cubic inches and gallons. The values assume the other dimension is held constant as indicated in the table header. For dimensions not listed, use the calculator for an exact result.

Volume (gallons) vs. height (in) with diameter fixed at 12 in

Cylinder Height (in) Volume (cubic inches) (in³) Volume (US gallons) (gal)
6 678.58 2.94
12 1,357.17 5.88
18 2,035.75 8.81
24 2,714.34 11.75
30 3,392.92 14.69
36 4,071.50 17.63
42 4,750.09 20.56
48 5,428.67 23.50

When to Use This Calculator

This calculator is useful whenever you need the liquid capacity of a cylindrical container or pipe segment based solely on its inside dimensions. Common applications include sizing water storage tanks, estimating fuel capacity of cylindrical reservoirs, or determining the volume of a section of pipe for plumbing or engineering calculations.

Because the input is in inches and the output is in US gallons, it is particularly convenient for projects using imperial units. The tool is also helpful for DIYers building custom containers or for professionals verifying capacity specifications.

How to Read the Result

The calculator returns two numbers: the volume in cubic inches and the volume in US gallons. The gallon value is the primary result for most practical purposes.

Remember that this is the total capacity. If you need the volume of liquid at a certain fill level, multiply the total gallons by the fill fraction. Also, the result assumes the cylinder is perfectly cylindrical and has no internal obstructions. For a pipe open at both ends, the volume represents the internal capacity of that pipe segment.

Method by Hand

To calculate the volume of a cylinder in US gallons by hand, follow these steps:

  • Measure the diameter (d) and height (h) in inches.
  • Compute the radius: r = d / 2. For example, if the diameter is 12 inches, the radius is 6 inches.
  • Calculate the volume in cubic inches using the formula: V = π × r² × h. For a 12-inch diameter and 24-inch height: V = π × (6)² × 24 = 2,714.34 in³.
  • Convert to US gallons by dividing by 231: 2,714.34 / 231 = 11.75 gallons.

This method is straightforward and gives the same result as the calculator. Ensure you use the same unit (inches) for all measurements.

Common Mistakes

Using the wrong gallon definition: The conversion factor 231 in³ per gallon is for US liquid gallons. Using the wrong factor will give an incorrect result.

Mixing units: All dimensions must be in inches. If you measure in feet or centimeters, convert to inches before using the formula.

Forgetting to halve the diameter: The formula uses the radius, not the diameter. Using the diameter directly will overestimate the volume by a factor of four.

Rounding too early: Keep intermediate values with sufficient precision.

Limits of the Formula

The formula assumes a perfect right circular cylinder with constant cross-section. Real-world objects may have slight variations due to manufacturing tolerances, tapered walls, or rounded ends. The calculation also ignores wall thickness; the volume calculated is the internal volume if you input internal dimensions, or the external volume if you input external dimensions.

For tanks with dished or elliptical heads, the formula does not apply. Similarly, if the cylinder contains internal baffles, coils, or other obstructions, the actual liquid capacity will be less than the calculated volume. The result is a theoretical maximum capacity, not an exact measurement of a real container.

Frequently Asked Questions

What is the difference between US gallons and imperial gallons?

This calculator uses US gallons.

Can I use this calculator for a pipe that is not full?

Yes. The calculator gives the total volume of the cylinder. For a partial fill, multiply the total gallons by the fraction of the height that is filled.

What if my measurements are in feet or centimeters?

Convert all measurements to inches before using the calculator. For feet, multiply by 12. The calculator requires both diameter and height in inches to apply the 231 in³ per gallon conversion correctly.

Does the calculator account for wall thickness?

No. The volume is calculated from the dimensions you enter. If you enter the outer diameter and height, you get the external volume. For internal capacity, use the inner diameter and inner height. Wall thickness is not automatically subtracted.

Why is the volume in cubic inches also shown?

Cubic inches are the direct result of the geometric formula. Showing this intermediate value helps verify the calculation and allows you to convert to other units if needed. The gallon value is derived by dividing the cubic inches by 231.

Method

For each diameter or height value, the volume is computed as π*(d/2)^2*h, then divided by 231 to get gallons, using the default for the other dimension.

Formula used
in d | Cylinder Diameter | in | 12 | 0
in h | Cylinder Height | in | 24 | 0
out v_in3 | Volume (cubic inches) | in³ | pi * (d/2)^2 * h | 2
out v_gal | Volume (US gallons) | gal | v_in3 / 231 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More in this bed

The whole Area and Shapes bed →