This capsule surface area calculator finds the outside area and the volume of a capsule: a cylinder with a hemisphere on each end. Enter the radius or diameter, then give either the length of the straight section, the overall length tip to tip, the volume, or the surface area. The tool solves for the missing cylinder length and shows the side and the two ends separately.
The starting example is a capsule of radius 1 m with a 4 m straight section, which has 37.6991 m² of surface and a volume of 16.7552 m³.
How is the surface area of a capsule calculated?
A capsule is a cylinder with a hemisphere glued to each end. The two hemispheres together make one full sphere, and they replace the flat ends of the cylinder. The surface area formula follows.
Cylinder side = 2 × π × r × a
Two ends = 4 × π × r²
Surface area = 2 × π × r × a + 4 × π × r²
Overall length = a + 2 × r
Where r is the radius and a is the length of the straight cylinder section. The hemispheres have no flat face, so the cylinder contributes only its curved side.
Worked example: r = 1 m and a = 4 m
Cylinder side = 2 × π × 1 × 4 = 25.1327
Two ends = 4 × π × 1² = 12.5664
Surface area = 37.6991 m²
Overall length = 4 + 2 × 1 = 6 m
The overall length is 6 m. In square feet the surface area is 405.7899.
How is the volume of a capsule calculated?
The volume is the cylinder plus the sphere formed by the two ends. The formula is πr²h + (4/3)πr³.
Volume = π × r² × a + 4 × π × r³ ÷ 3
For r = 1 m and a = 4 m the volume is 16π/3, which is 16.7552 m³. Rounded, that is about 16.76 m³. The tool also converts the volume to litres, 16,755.1608, and to US gallons, 4,426.2452, which is useful for tanks.
How do you find the length from a volume or surface area?
The tool can run backwards. Choose volume or surface area as the second measurement, enter the radius, and it solves for the cylinder length.
From volume: a = (Volume − 4 × π × r³ ÷ 3) ÷ (π × r²)
From surface area: a = (Surface area − 4 × π × r²) ÷ (2 × π × r)
Working backwards from a volume
Take a volume of 5 m³ and a radius of 0.6 m. The sphere of that radius holds 0.9048 m³, so the cylinder holds 4.0952 m³ and the straight section is 3.6210 m. The overall length is 4.8210 m, so about 3.62 m and 4.82 m. The surface area comes to 18.1746 m².
If the volume is smaller than that of the sphere with the same radius, no capsule exists. The tool shows an error rather than a negative length. A surface area of 5 m² with a radius of 1 m is refused because the sphere alone has 12.5664 m².
Worked examples for different jobs
Worked examples
A tank sized by its overall length
A capsule tank 6 m long overall with a radius of 0.6 m has a straight section of 6 − 1.2 = 4.8 m and a surface area of 22.6195 m². Choose overall length as the second measurement.
A target surface area
To cover exactly 100 m² with a capsule of radius 1 m, the cylinder section must be (100 − 12.5664) ÷ (2π) = 13.9155 m. Choose surface area as the second measurement.
Starting from the diameter
A diameter of 2 and a straight section of 4 gives the same capsule as a radius of 1, so the surface area is again 37.6991.
What the calculator leaves out
It assumes the two end caps are true hemispheres, so pill shapes with flatter or pointier ends are not covered. It does not include wall thickness, so the result is the outer surface of a solid shape, not the material in a shell. All lengths must share one unit.
Frequently asked questions
What is the surface area formula for a capsule?
2 × π × r × a + 4 × π × r², where a is the straight cylinder length. With r = 1 and a = 4 that is 37.6991.
What is the volume formula for a capsule?
π × r² × a + 4 × π × r³ ÷ 3. For r = 1 m and a = 4 m the volume is 16.7552 m³, which is 16π/3.
How do I find the cylinder length from the volume?
Subtract the sphere volume 4 × π × r³ ÷ 3, then divide by π × r². With 5 m³ and r = 0.6 m the straight section is 3.6210 m.
How long is a capsule overall?
The straight section plus twice the radius. A radius of 1 m and a straight section of 4 m give 6 m.
Why does the tool say no capsule fits?
The volume or surface area is smaller than that of a sphere with the same radius. A surface area of 5 m² with r = 1 m is below the sphere’s 12.5664 m².
Does the calculator count the wall thickness?
No. It gives the outer surface and the solid volume, so a hollow shell needs the inner capsule subtracted.




