A capsule (also called a stadium of revolution or discorectangle of revolution) is a three-dimensional shape made of a cylinder with two hemispherical caps on each end. It is the shape of a pharmaceutical pill, a propane tank, or a pressure vessel. This calculator computes both the volume and the surface area of a capsule from two measurements: the radius r of the hemispheres (and cylinder) and the length a of the straight cylindrical section.
A capsule is a cylinder of length a capped by two hemispheres of radius r.
How to Use the Calculator
Enter the radius r and the cylinder length a in the same units (e.g. millimetres, centimetres or inches). The calculator returns the volume in cubic units and the surface area in square units. Note that a is the length of only the cylindrical middle — the total tip-to-tip length of the capsule equals \(a + 2r\).
The Formula Explained
The capsule is the sum of a cylinder and two hemispheres (which together form one full sphere):
Calculate the volume, surface area, circumference, radius and side length of a capsule (cylinder with two hemispherical caps) from any two known values.
Calculate capsule volume easily with base radius and height inputs. Get accurate results for cylindrical capsules with hemispherical ends. Ideal for pharmaceutical and engineering applications.