Volume & Capacity
Capsule Tank Volume Calculator
A capsule tank is a straight cylinder closed at each end by a hemisphere, giving it the familiar pill shape. Tankers, LPG vessels and buried storage tanks use the form because the rounded ends resist pressure well and make the vessel easy to drain.
The geometry is just two pieces added together: a cylinder and one complete sphere (the two half-spheres). This calculator works from the inside diameter plus either the straight cylinder length or the overall length, and reports the result in litres, gallons and cubic units.
Calculator
How to use this calculator
- Measure the inside diameter of the cylindrical body and choose its unit.
- Enter either the straight cylinder length or the overall tip-to-tip length. If you enter both, the cylinder length is used directly.
- Set the fill level as a percentage of total volume, or leave it at 100% for a full tank.
- Press Calculate to see litres, US and Imperial gallons, cubic measures and the water weight.
The formula
V = π r² Lcyl + (4/3) π r³where
r = D / 2 and Lcyl is the straight barrel length (the two half-spheres combine into one full sphere).If you only know the overall length:
Lcyl = Ltotal − D.Volumes are computed in cm³;
1,000 cm³ = 1 L, 1 US gal = 3.785411784 L, 1 UK gal = 4.54609 L.Variables
| Symbol | Meaning | Unit | Note |
|---|---|---|---|
D | Inside diameter | mm / cm / m / in / ft | Bore of the cylindrical body, converted to centimetres. |
r | Radius | cm | Half the diameter; also the radius of each hemispherical end. |
L_cyl | Cylinder length | mm / cm / m / in / ft | Straight section between the two end caps. |
L_total | Overall length | mm / cm / m / in / ft | Optional; equals cylinder length plus one diameter. |
V | Total capacity | L, gal, m³ | Volume at the selected fill level. |
What the two-part formula assumes
The result treats each end as a true hemisphere, so the two caps together are exactly one sphere. Many vessels instead use 2:1 elliptical or torispherical heads; those hold roughly two thirds as much as a hemisphere of the same radius. Applying the hemispherical formula to that shape will overstate capacity.
Fill level and lying-down tanks
The fill slider scales total volume by a percentage. That is accurate for a vertical capsule. For a horizontal tank the fraction filled at a given depth is not linear: a quarter of the depth holds less than a quarter of the volume. Use the horizontal tank calculator when you have a dipstick reading rather than a volume percentage.
Typical uses
- Road and rail tankers carrying liquids in bulk.
- Pressure vessels for LPG and compressed gases, where rounded ends distribute stress.
- Buried fuel and chemical storage tanks.
- Agricultural spray tanks and mobile water carts.
Worked example
A horizontal capsule tank has an inside diameter of 4 ft and an overall length of 10 ft, and is completely full.
- Cylinder length = total length − diameter = 10 − 4 = 6 ft; radius r = 2 ft.
- Cylinder volume = π × 2² × 6 = 75.40 ft³.
- Two hemispherical ends = one sphere = (4/3) × π × 2³ = 33.51 ft³.
- Total = 75.40 + 33.51 = 108.91 ft³ = 3,084 L.
- In gallons: 3,084 ÷ 3.785411784 = 814.7 US gal; 3,084 ÷ 4.54609 = 678.4 UK gal.
- For comparison, 2:1 elliptical heads would add only (2/3) × π × 2³ = 16.76 ft³.
Result: Approximately 3,084 L, 815 US gallons or 678 Imperial gallons.
Frequently asked questions
What is a capsule tank?
A cylinder with a hemispherical dome at each end. It is also called a pill tank or a capsule-shaped pressure vessel.
What is the difference between total length and cylinder length?
Total length is measured from tip to tip. Cylinder length is the straight barrel only, so the two differ by exactly one diameter.
How do I calculate capsule tank volume by hand?
Find the cylinder volume πr²L and add the volume of a full sphere (4/3)πr³. Convert the cubic result to litres or gallons afterwards.
Can I use this for a horizontal capsule tank?
Yes for total capacity. For a partly filled horizontal tank the volume at a given depth is non-linear, so use a depth-based horizontal tank tool instead.
Which units does the calculator accept?
Each length field has its own selector for millimetres, centimetres, metres, inches or feet, and you can mix them.
How much does a full capsule tank of water weigh?
Water weighs about 1 kg per litre, so a 3,000 L capsule holds roughly 3 tonnes, plus the weight of the shell.
Is this accurate for LPG or fuel storage?
It is geometrically correct for a true hemispherical-ended tank. Check the head profile and remember that LPG tanks are normally filled only to 80–85%.
Sources and verification
- NIST Special Publication 811: Guide to the SI — Definitions of the US gallon and cubic units.
- UK Weights and Measures Act 1985, Schedule 1 — Legal definition of the imperial gallon.
- USGS Water Science School — Background on water density and measurement.
Formula verification uses published references and hand-checked examples. We do not claim a named professional has reviewed this page; the method and sources are published instead.
Results are estimates for general information, based on standard geometry, hydraulics and published reference values. They are not engineering, medical, legal or professional advice. Verify critical calculations with a qualified professional and check local requirements.
Keep calculating
Cylindrical Tank Volume Calculator
Calculate the capacity of a vertical cylindrical tank using a diameter or radius mode switch.
Horizontal Tank Volume Calculator
Convert a dipstick depth into the volume held in a horizontal cylindrical tank.
Spherical Water Tank Volume Calculator
Find the capacity of a spherical water tank from a single diameter or radius measurement.
Cone Bottom Tank Volume Calculator
Calculate the capacity of a conical-bottom tank, including cone-first filling and liquid depth.