How to calculate liters and fill height in a horizontal cylinder tank
Use internal dimensions to calculate tank capacity and contents. Supports partially filled horizontal cylinders and reverse conversion from liters to fluid height, with visual fill cross-section.
A horizontal cylindrical tank of inner diameter 100 cm and internal length 200 cm holds π×0.5²×2×1000 ≈ 1570.8 L. Half the height means half capacity: 785.4 L.
Results are estimates and depend on the supplied values.
Estimate liters inside a tank from shape and liquid level
1. Measure inside dimensions
Tank wall thickness affects actual capacity. Enter internal centimeters and divide cm³ by 1000 to convert to liters.
1 liter = 1,000 cm³
2. Rectangular and vertical cylindrical tanks
For rectangular tanks multiply length × width × liquid height. For upright cylinders multiply circular cross-sectional area by liquid height.
Rectangular V = L × W × h; upright cylinder V = π × (D/2)² × h
3. Partly full horizontal cylinders
Volume is not proportional to the height. Compute the circular segment below the fluid surface, then multiply by internal cylinder length.
A(h) = r²·acos((r−h)/r) − (r−h)·√(2rh−h²)
4. Solve height from a known volume
Rectangular and upright tanks use division. Horizontal cylinders use a numerical bisection search for the height yielding the specified liters.
Fraction full = liters inside ÷ total capacity
Model limitationsOnly true rectangular prisms and constant-cross-section cylinders are supported. External dimensions, curved end caps, tilt, partitions and dead volume are not accounted for. For fuel or chemical storage tanks use manufacturer calibration tables: geometric estimates are not a substitute for legal metrology or safety rules.
Tank volume questions
How do I calculate liters in a rectangular tank?
Multiply the internal length, width and height in centimeters and divide by 1000.
How do I calculate the volume of an upright cylinder?
Multiply π by the square of the internal radius and by internal height, then divide by 1000.
How many liters are in a half-full horizontal tank?
For a level cylinder of constant circular cross section, half of its height contains half of the total volume.
Why is 25% of the height not 25% of the liters?
The width of the liquid increases as the level rises. The volume follows a circular segment, not a rectangle.
Can I enter liters to work out the level?
Yes. Reverse mode estimates the required fill height and shows the percentage full.
What if my entered level exceeds the tank height?
You will see an error; volumes outside the physical capacity are rejected.
Does this work for tanks with rounded ends?
Not exactly; use real manufacturer dimensions and calibration data for tanks with curved end caps or baffles.
Can I use outside dimensions?
No, unless you account for wall thickness. Capacity depends on the interior dimensions.