Capsule Calculator: Volume & Surface Area
Find a capsule (pill shape)'s volume, surface area, and circumference from its radius and cylindrical body length — with exact step-by-step results.
The three capsule measures
A capsule (also called a pill shape) is a cylinder of radius and STRAIGHT body length , capped on each end by a hemisphere of the same radius . Given and , every measure follows directly:
Volume is the two hemispherical caps re-assembled into one full sphere, , plus the cylindrical body . Surface area works the same way: the caps' curved surfaces re-assemble into one sphere's surface, , plus the cylinder's lateral (side) area .
a is the STRAIGHT body length ONLY — it does NOT include the two rounded end caps. The capsule's full end-to-end length is always , not alone.Worked example: r = 3, a = 10
Because and are both exact whole numbers here, volume and surface area both have an EXACT symbolic form (, ) in addition to the decimal approximation.
Worked example: a = 0 (the sphere boundary case)
Setting the body length to collapses the cylindrical middle section entirely, leaving just the two hemispherical caps meeting at a single seam — a bare sphere of radius . Both the volume and surface area formulas reduce exactly to the sphere's own and , and both come out to the same coefficient () here only because makes ; that's a coincidence of this particular radius, not a general rule.
Common mistakes
- Mistaking
afor the capsule's total length.ais the straight body only — the true overall length is , one radius longer on each end for the domes. - Dropping either the caps or the body. Volume is ALWAYS sphere-caps () plus cylinder-body () — never one term alone.
- Using the wrong volume coefficient for the caps. The two caps together contribute (one full sphere), not (that's just ONE hemisphere).
Where this shows up
- Capsule-shaped pills: the namesake shape — a cylindrical body with two rounded ends, sized to be easy to swallow while holding more medicine than a plain sphere of the same width.
- Tanks and pressure vessels: propane tanks, compressed-gas cylinders, and some submarine hulls use rounded (hemispherical or capsule) ends instead of flat caps, since a dome resists internal pressure far better than a flat disk of the same radius.
- Building block for other solids: a capsule is exactly a sphere (the two caps) plus a cylinder (the body), and it's the 3D analog of the 2D stadium shape.
A capsule is defined by just two measures, radius and STRAIGHT body length — every formula here is the sphere-cap terms (, ) plus the cylinder-body terms (, ), added together exactly once, with a = 0 as the clean boundary case where the body disappears and only the sphere remains.
Frequently asked questions
- What are the formulas for a capsule?
- With radius r and body length a: volume V = πr²((4/3)r + a), surface area S = 2πr(2r + a), and the circumference of any circular cross-section C = 2πr.
- What exactly does 'a' mean — is it the capsule's full length?
- No — a is the STRAIGHT cylindrical body length only, measured between the two rounded caps. It excludes both hemispherical ends. The capsule's full end-to-end length is a + 2r (the body plus one radius for each dome).
- Why is a = 0 allowed as an input?
- When a = 0 the cylindrical body vanishes entirely and the two hemispherical caps meet directly, forming a bare sphere of radius r. Both formulas confirm this: V becomes πr²(4/3)r = (4/3)πr³ and S becomes 2πr(2r) = 4πr², exactly the sphere's own volume and surface area formulas.
- What is the single most common mistake with capsule calculations?
- Treating a as the capsule's total length and subtracting nothing for the caps, or the reverse — forgetting to add the two hemispherical caps' volume/area at all and computing only the plain cylinder πr²a. A capsule is always sphere-caps PLUS cylinder-body, never one term alone.
- How does capsule volume relate to a sphere and a cylinder?
- A capsule's two hemispherical caps always combine into exactly one full sphere (regardless of body length a), since a hemisphere's volume is (2/3)πr³, and two of them make (4/3)πr³. Add the cylindrical body's πr²a and you get the full capsule formula V = πr²((4/3)r + a) = (4/3)πr³ + πr²a.
- How is the capsule related to the stadium shape?
- A capsule is the 3D solid analog of the 2D stadium (also called a discorama): a stadium is a rectangle capped by two semicircles, and a capsule is a cylinder capped by two hemispheres — the same 'straight middle section plus two round ends' composite, one dimension higher.
- Where do capsule shapes show up in real life?
- Capsule-shaped medicine pills are the namesake example, but the same shape describes pressure vessels, propane/gas tanks, and submarine or rocket hull sections — any cylindrical container that's rounded off at both ends instead of left flat, which is stronger under internal pressure than a flat cap.