A capsule, also known as a stadium of revolution, is a basic three dimensional geometric shape. It consists of a cylinder with hemispherical ends. Another name for this shape is "spherocylinder". The shape is used for containers for pressurised gasses.
The surface area formula is where is the radius of the cylinder and hemispheres and is the length of the cylindrical part.