A cylinder with rounded ends
A capsule, also called a spherocylinder, is a cylinder capped at each end by a hemisphere of the same radius. The shape is everywhere: medicine capsules, propane and LPG tanks, compressed air tanks, submarines, some grain silos, pill-shaped buildings and even certain bacteria such as E. coli.
The formulas
With radius r and length a of the straight cylindrical part:
- Volume: V = πr²a + (4/3)πr³ = πr²(4r/3 + a)
- Surface area: A = 2πra + 4πr² = 2πr(2r + a)
- Overall length: a + 2r
The two hemispheres together make one full sphere, which is why the formulas are simply a cylinder plus a sphere. If you know the overall length L instead, the straight part is a = L − 2r.
Example
A capsule with a radius of 3 and a straight part of 10 (overall length 16):
- Cylinder: π × 9 × 10 = 282.7
- Two hemispheres: 4/3 × π × 27 = 113.1
- Total volume: 395.8 cubic units
- Surface area: 2π × 3 × (6 + 10) = 301.6 square units
Practical uses
- Tanks: if the dimensions are in inches, divide the volume by 231 for US gallons; in feet, multiply by 7.48. A tank 2 ft in diameter and 4 ft long overall holds about 10.5 cubic feet, or 78 gallons. Propane tanks are filled to only about 80% of their volume to leave room for expansion.
- Paint and coatings: the surface area tells you how much coating a tank needs.
- Pharmacy: gelatin capsule sizes are designed from these shapes; a size 0 capsule holds about 0.68 mL.
Why rounded ends
For a pressurized tank, a hemispherical end has only half the wall stress of the cylindrical part at the same thickness, and it has no sharp corners where cracks can start. That makes the capsule one of the most efficient shapes for holding gas under pressure. Many commercial tanks use slightly flatter, dished ends to save length, so check the real dimensions before relying on the result for a fill volume.
Related shapes
When the straight part shrinks to zero, the capsule becomes a sphere. A stadium is the two-dimensional version: a rectangle with a half circle at each end, whose area is 2ra + πr².