Skip to content
Other

Cylinder Volume Calculator (Gallons)

Enter the diameter (or radius) and height (or length) of your cylinder to get the full capacity in US gallons, Imperial gallons, and liters. Switch between vertical and horizontal tank orientation, add a fill depth for partial-fill calculations, and choose your preferred dimension units. Results update instantly as you type.

Your details

Vertical tanks stand upright; horizontal tanks lie on their side. Partial-fill depth interpretation differs between the two.
The outer diameter of the cylinder across the widest point.
in
The height for a vertical tank, or the length (axial dimension) for a horizontal tank.
in
Turn on to calculate how many gallons are in the tank at a given fill depth rather than full capacity.
US Gallons (full)
70.5gal

Full cylinder capacity in US liquid gallons

Imperial Gallons (full)58.71gal (UK)
Liters (full)266.88L
Cubic feet (full)9.425ft³
035.2570.5050100
Fill depth (%)
US Gallons
Fill depth (%)Volume at fill depth
00
53.53
107.05
1510.58
2014.1
2517.63
3021.15
3524.68
4028.2
4531.73
5035.25
5538.78
6042.3
6545.83
7049.35
7552.88
8056.4
8559.93
9063.45
9566.98
10070.5

Full capacity: 70.50 US gallons

  • This cylinder holds 70.50 US gallons (266.9 liters) at full capacity.
  • The equivalent in Imperial (UK) gallons is 58.71 gal.
  • A standard 55-gallon drum holds 55 US gallons; your cylinder holds about 1.3 drum-equivalents.

Next stepFor water weight, multiply US gallons by 8.34 lb/gal (3.78 kg per liter). For fuel oil, use roughly 7.2 lb/gal.

Formula

V=pir2hV = pi * r^2 * h

Worked example

A vertical cylinder with a 24-inch diameter and 36-inch height: radius = 12 in. Cross-section area = pi * 12^2 = 452.39 in^2. Volume = 452.39 * 36 = 16,286 in^3. Divide by 231 to get 70.5 US gallons.

How to calculate cylinder volume in gallons

The volume of a cylinder is found with the formula V = pi x r^2 x h, where r is the radius (half the diameter) and h is the height. This gives a result in cubic units. To convert cubic inches to US gallons, divide by 231 (there are exactly 231 cubic inches in one US liquid gallon). For cubic feet, multiply by 7.481. Imperial (UK) gallons are slightly larger: one UK gallon equals 277.42 cubic inches, so divide the cubic-inch volume by 277.42 instead. For liters, multiply cubic inches by 0.016387.

Vertical vs. horizontal cylinders

A vertical cylinder stands upright and fills from the bottom. Calculating partial fill is straightforward: the filled volume is simply pi x r^2 x fill-height, which is a direct proportion of the total capacity. A horizontal cylinder lies on its side, so the cross-section seen from the end is a circle and liquid fills a circular segment. At 50% fill depth the segment is a half-circle and exactly half the capacity is filled, but the relationship is not linear: the tank fills relatively slowly near the bottom and top, and fastest near the midpoint. This calculator uses the exact circular segment formula for horizontal partial fills.

US gallons vs. Imperial gallons

The US liquid gallon and the Imperial (UK) gallon are not the same. One US gallon equals 231 cubic inches or about 3.785 liters. One Imperial gallon equals approximately 277.42 cubic inches or about 4.546 liters. This means an Imperial gallon is about 20% larger than a US gallon. Fuel economy figures, tank labeling, and container sizes differ between countries, so always confirm which gallon definition applies to your context. This calculator shows both.

Practical uses: tank capacity and weight of water

Knowing a tank volume in gallons helps with plumbing sizing, irrigation planning, aquarium stocking, chemical mixing, fuel storage, and many other tasks. Once you have the gallon figure you can quickly estimate the weight of water: one US gallon of fresh water weighs approximately 8.34 lb (3.78 kg) at room temperature. For salt water, use about 8.56 lb/gal. For diesel fuel, use roughly 7.1 lb/gal. For propane (liquid), use about 4.2 lb/gal. Multiply the full-capacity gallons by the appropriate density to get the total weight when full.

Common cylinder size reference

DescriptionDiameterHeight / LengthUS Gallons
Pint mason jar3.5 in5.5 in0.3
1-gallon jug6 in11 in1.0
5-gallon bucket11 in15 in5.0
Hot water heater (40 gal)18 in52 in40
55-gallon drum23 in35 in55
100-gallon stock tank36 in23 in100
500-gallon propane tank37 in120 in500
1,000-gallon septic tank60 in96 in1,177

Approximate capacities for standard cylindrical tanks and containers.

Frequently asked questions

How many gallons are in a cylinder?

Calculate the volume in cubic inches using V = pi x r^2 x h (r = radius, h = height), then divide by 231 to get US gallons. For example, a 24-inch-diameter, 36-inch-tall cylinder has a volume of pi x 12^2 x 36 = 16,286 cubic inches, which is 16,286 / 231 = about 70.5 US gallons.

What is the formula to convert cubic inches to gallons?

Divide the cubic-inch volume by 231 to get US liquid gallons. Divide by 277.42 for Imperial (UK) gallons. Multiply by 0.016387 for liters.

How do I calculate how many gallons are in a horizontal tank at a given fill depth?

For a horizontal cylinder you need the circular segment formula. The filled cross-section area is r^2 x arccos((r - d) / r) - (r - d) x sqrt(2rd - d^2), where r is the radius and d is the fill depth. Multiply that area by the tank length to get the filled volume in cubic inches, then divide by 231 for US gallons. This calculator handles that automatically when you enable partial fill for a horizontal tank.

Is a UK gallon the same as a US gallon?

No. A US liquid gallon is 231 cubic inches (about 3.785 liters). An Imperial (UK) gallon is 277.42 cubic inches (about 4.546 liters). The Imperial gallon is roughly 20% larger. Always check which gallon your tank label or specification uses.

How much does a full cylinder tank weigh?

Multiply the capacity in US gallons by the liquid density. Fresh water weighs about 8.34 lb/gal, salt water about 8.56 lb/gal, diesel about 7.1 lb/gal, and gasoline about 6.1 lb/gal. Do not forget to add the empty tank weight when calculating structural loads.

What is a circular segment and why does it matter for horizontal tanks?

A circular segment is the region between a chord and the arc it cuts from a circle. When a horizontal cylindrical tank is partially filled, the surface of the liquid forms a chord across the circular cross-section, and the filled portion is a segment. Because the relationship between fill depth and volume is nonlinear, a simple proportion of total capacity underestimates volume near the bottom and top of a horizontal tank. The exact formula is needed for accurate readings.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…