Volume of a Partially Filled Horizontal Cylinder

Volume of a Partially Filled Horizontal Cylinder

Popular AI Skill PRO

Enter Calculation

All three lengths use the same unit. The fill height h is measured from the bottom of the circle and must satisfy 0 ≤ h ≤ 2r.

Formula

V=[r2arccos⁡(1−hr)−(r−h)h(2r−h)]·lwhere{r=Radiush=Fill Heightl=Length\begin{gathered} V = \left[ r^{2}\arccos\!\left(1 - \frac{h}{r}\right) - (r - h)\sqrt{h\,(2r - h)} \right] \cdot l \\[1.5em] \text{where}\quad \left\{ \begin{aligned} r &= \text{Radius} \\ h &= \text{Fill Height} \\ l &= \text{Length} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Volume V
1.22837
cubic length units (unit³)
Lateral area F (cross-section) 0.614185 unit²
Bottom area S (curved arc surface) 4.18879 unit²
Top area T (flat top face) 3.464102 unit²

Report an error on this page

What this calculator does

This tool computes the geometry of a cylindrical segment: the solid formed when a horizontal (lying-down) right circular cylinder is cut by a horizontal plane. It is exactly the shape of a liquid resting in a horizontal tank filled to a depth h. From the radius r, the fill height h (measured up from the lowest point of the circle), and the cylinder length l, it returns the volume V, the end cross-section area F, the curved bottom (arc) area S, and the flat top area T.

3D horizontal cylinder lying on its side, partially filled with liquid, showing length and fill height
A horizontal cylinder of length l partially filled to height h.

How to use it

Enter the radius, the fill height, and the axial length using any single length unit (all three must share the same unit). The height must lie between 0 and 2r — at h = 2r the cylinder is completely full. Areas are returned in unit² and the volume in unit³. No unit conversion is applied, so the outputs simply inherit whatever unit you used for the inputs.

The formula explained

A horizontal chord cuts a circular segment of height h. The central angle is \(\theta = 2\cdot\arccos\!\left(1 - \frac{h}{r}\right)\). The half-chord length is \(\sqrt{h(2r-h)}\). The segment area is \(F = \frac{\theta}{2}r^{2} - (r-h)\sqrt{h(2r-h)}\) — the circular sector area minus the triangle. Extruding this over the length gives \(V = F\cdot l\). The curved bottom surface is the arc length \(r\theta\) times l, and the flat top is the chord \(2\sqrt{h(2r-h)}\) times l.

$$V = \left[ r^{2}\arccos\!\left(1 - \frac{h}{r}\right) - (r - h)\sqrt{h\,(2r - h)} \right] \cdot l$$ $$\text{where}\quad \left\{ \begin{aligned} r &= \text{Radius} \\ h &= \text{Fill Height} \\ l &= \text{Length} \end{aligned} \right.$$

Advertisement
End view of a horizontal cylinder partially filled with liquid showing radius, fill height and the central angle of the segment
Cross-section of the cylinder: radius r, fill height h, and central angle θ define the filled circular segment.

Worked example

For r = 1, h = 0.5, l = 2: \(1 - h/r = 0.5\), so \(\theta = 2\cdot\arccos(0.5) = 2.0943951\) rad. The half-chord is \(\sqrt{0.75} = 0.8660254\). Then $$F = 1.0471976 - 0.5\cdot 0.8660254 = 0.6141848 \text{ unit}^2,$$ $$V = F\cdot 2 = 1.2283697 \text{ unit}^3,$$ $$S = 1\cdot 2.0943951\cdot 2 = 4.1887902 \text{ unit}^2,$$ $$T = 2\cdot 2\cdot 0.8660254 = 3.4641016 \text{ unit}^2.$$

Volume Unit Conversions for Tank Capacity

The calculator returns volume in the cube of whatever length unit you enter. Convert radius, fill height and length to the same unit before calculating (for example, all in metres or all in inches). Then convert the result with the factors below.

From To Factor
1 m³ litres (L) 1000
1 m³ US gallons 264.172
1 ft³ US gallons 7.48052
1 ft³ litres 28.3168
1 in³ US gallons 0.004329
1 L cm³ 1000
1 US gallon litres 3.78541
1 imperial gallon litres 4.54609

US and imperial gallons differ, so check which one your tank specification uses. Mixed units are a common source of error. For example, a radius in metres with a length in centimetres gives a meaningless result.

Advertisement

Step-by-Step Hand Calculation

Example: r = 1, h = 0.5, l = 1 (same units). Set your calculator to radians for the arccos, not degrees.

  1. Check the range. The fill height must satisfy \(0 \le h \le 2r\). Here 0 ≤ 0.5 ≤ 2.
  2. Compute \(1 - h/r\). \(1 - 0.5/1 = 0.5\). The value must lie between −1 and 1, which the range check guarantees.
  3. Compute the arccos in radians. \(\arccos(0.5) = \pi/3 \approx 1.0472\).
  4. Compute the central angle. \(\theta = 2\arccos(1 - h/r) = 2.0944\) rad.
  5. Compute the half-chord. \(\sqrt{h(2r - h)} = \sqrt{0.5 \cdot 1.5} = \sqrt{0.75} = 0.8660\).
  6. Compute the cross-section area. \(F = r^{2}\arccos(1 - h/r) - (r - h)\sqrt{h(2r - h)} = 1.0472 - 0.5 \cdot 0.8660 = 0.6142\). This equals \(\tfrac{1}{2}r^{2}(\theta - \sin\theta)\).
  7. Compute the volume. \(V = F \cdot l = 0.6142 \cdot 1 = 0.6142\).
  8. Compute the surface areas. The curved wetted bottom is \(S = r\theta l = 1 \cdot 2.0944 \cdot 1 = 2.0944\). The flat top (liquid surface) is \(T = 2l\sqrt{h(2r - h)} = 2 \cdot 1 \cdot 0.8660 = 1.7321\).

Special cases and checks

  • h > r (more than half full). Then \(1 - h/r\) is negative, and arccos returns an angle greater than π/2 (up to π). The term \(-(r - h)\sqrt{h(2r - h)}\) then becomes positive and is added to the area. For h = 1.5r' with r = 1, \(\arccos(-0.5) = 2\pi/3\) gives F = 2.0944 + 0.4330 = 2.5274.
  • Half full, h = r. \(\arccos(0) = \pi/2\) and \(r - h = 0\), so \(F = \pi r^{2}/2\) and \(V = \pi r^{2} l/2\). Also \(\theta = \pi\) and \(T = 2rl\).
  • Full, h = 2r. \(\arccos(-1) = \pi\) and \(\sqrt{h(2r - h)} = 0\), so \(F = \pi r^{2}\) and \(V = \pi r^{2} l\). Also \(\theta = 2\pi\), \(S = 2\pi r l\) and \(T = 0\).
  • Empty, h = 0. \(\arccos(1) = 0\), so F, V, S and T are all 0.

FAQ

Is F the volume or an area? F is the 2D end cross-section (segment) area; multiply it by the length l to get the volume V.

What happens at h = 2r? The cylinder is full: \(\theta = 2\pi\), \(F = \pi r^{2}\), \(V = \pi r^{2} l\), \(S = 2\pi r l\), and T = 0 because the chord shrinks to a point.

Can I use inches, cm or metres? Yes — use any unit, just be consistent across all three inputs; outputs come back in that unit squared and cubed.

Last updated:

Most popular in Geometry

View all Geometry calculators