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.
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.$$
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.
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.
- Check the range. The fill height must satisfy \(0 \le h \le 2r\). Here 0 ≤ 0.5 ≤ 2.
- Compute \(1 - h/r\). \(1 - 0.5/1 = 0.5\). The value must lie between −1 and 1, which the range check guarantees.
- Compute the arccos in radians. \(\arccos(0.5) = \pi/3 \approx 1.0472\).
- Compute the central angle. \(\theta = 2\arccos(1 - h/r) = 2.0944\) rad.
- Compute the half-chord. \(\sqrt{h(2r - h)} = \sqrt{0.5 \cdot 1.5} = \sqrt{0.75} = 0.8660\).
- 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)\).
- Compute the volume. \(V = F \cdot l = 0.6142 \cdot 1 = 0.6142\).
- 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.