If you have ever dipped a horizontal fuel tank and tried to estimate gallons remaining, the first trap is that depth and volume are not linear. The halfway mark is half full for a level symmetric tank, but quarter-depth is below 25% by volume and three-quarter depth is above 75%.
This guide explains the local geometry behind horizontal tank volume screens, how head type assumptions affect the result, and why a local dipstick table is not the same thing as a certified calibration, custody-transfer table, SPCC record, pressure-vessel approval, or manufacturer capacity chart.
Why Horizontal Tanks Are Not Linear
A vertical cylindrical tank standing upright has a linear depth-to-volume relationship because each inch of height has the same cross-sectional area. A horizontal cylinder does not. As the level rises, the circular segment occupied by liquid changes shape.
At low fill levels, the fluid sits in a narrow sliver at the bottom of the circle. At mid-level, the fluid surface is at its widest. Near the top, the surface narrows again and volume gain per inch slows down.
The local shell formula uses circular segment area multiplied by straight shell length. That is useful for planning, but field use still depends on inside dimensions, head geometry, tilt, dip point, internals, product temperature, and calibration records.
The Cylinder Segment Formula
For a horizontal cylinder with flat ends (no dished heads), the volume at a given fluid depth h is:
V = L × [R² × arccos((R − h) / R) − (R − h) × √(2Rh − h²)]
Where L is the tank length (straight shell only, not including heads), R is the inside radius, and h is the fluid depth measured from the inside bottom of the tank.
This formula calculates the area of a circular segment (the cross-section of fluid) and multiplies by the length. The arccos term handles the angular portion and the square root term handles the triangular portion subtracted from it.
For practical use, you do not need to solve this by hand. Plug the numbers into a calculator or spreadsheet. But understanding the formula helps you see why the relationship is nonlinear: the arccos function and the square root both produce curves, not straight lines.
Important: make sure your arccos function returns radians, not degrees. If you are working in a spreadsheet, Excel's ACOS() function returns radians by default, which is correct. If you are converting by hand and your reference gives degrees, multiply by π/180.
Tank Head Types and Their Volume Contribution
Most real tanks are not just cylinders with flat ends. The heads are dished or curved, and they add volume. The app uses four local rows:
Flat heads: Zero additional modeled head volume.
2:1 Ellipsoidal: A local half-ellipsoid model with head depth equal to one quarter of diameter.
Hemispherical: A local half-sphere model.
F&D approximation: A shallow local approximation. It is not an ASME BPVC head design or a certified capacity model.
The right source for an actual tank is the nameplate, drawings, manufacturer table, or calibration record. Guessing head type from a photo or generic tank size can move every row in the dipstick table.
Building a Local Dipstick Table
A local table converts dipstick readings to modeled volume. Use it for planning and review notes, not as a certified calibration record:
- Resolve dimensions: Use inside diameter and straight shell length. Outside dimensions need wall, liner, coating, and corrosion corrections.
- Resolve head geometry: Use drawings, manufacturer data, or a calibration record where possible.
- Check level and dip point: Tilt and dip location can change the reading.
- Calculate local rows: Use shell segment geometry plus the selected local head model.
- Label the table: Mark it as non-certified unless it has been generated and approved through a recognized calibration process.
For common tanks, manufacturer or supplier capacity charts are often a better source than a generic row. For regulated inventory or custody transfer, use the applicable certified table and calibration procedure.
Horizontal Tank Volume Calculator
Calculate liquid volume in horizontal cylindrical tanks from fluid depth (dipstick reading). Supports flat, ellipsoidal, and hemispherical heads. Gallon and liter output.
Accuracy Limits: What Can Go Wrong
Even a clean local geometry table has real-world limits:
Tank tilt: A horizontal tank that is not level reads differently depending on dip point and slope.
Dimensions: Wall thickness, liners, coatings, corrosion, out-of-round shell, saddle deformation, and head tolerances affect volume.
Internals: Baffles, heating coils, suction tubes, dip tubes, and sludge/water bottoms change usable product volume.
Temperature and density: Petroleum and chemical inventory may require reference-temperature correction, density data, and product-specific procedures.
Compliance context: SPCC, NFPA, pressure-vessel, tax, custody-transfer, and permit records may require certified calibration and qualified review.