A capsule (from Latin , "small box or chest"), or stadium of revolution, is a basic three-dimensional geometric shape consisting of a cylinder with hemispherical ends. Another name for this shape is spherocylinder.
The shape is used for containers for pressurised gasses and for pharmaceutical capsules.
The volume of a capsule is calculated by the formula where is the radius of the cylinder and hemispheres and is the height of the cylindrical part.