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.

Loading calculator…

The three capsule measures

A capsule (also called a pill shape) is a cylinder of radius rr and STRAIGHT body length aa, capped on each end by a hemisphere of the same radius rr. Given rr and aa, every measure follows directly:

V=πr2(43r+a)S=2πr(2r+a)C=2πrV = \pi r^2\left(\frac{4}{3}r + a\right) \qquad S = 2\pi r(2r + a) \qquad C = 2\pi r

Volume is the two hemispherical caps re-assembled into one full sphere, 43πr3\frac{4}{3}\pi r^3, plus the cylindrical body πr2a\pi r^2 a. Surface area works the same way: the caps' curved surfaces re-assemble into one sphere's surface, 4πr24\pi r^2, plus the cylinder's lateral (side) area 2πra2\pi r a.

Tip: 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 a+2ra + 2r, not aa alone.

Worked example: r = 3, a = 10

V=π(9)(4+10)=126π395.8407S=2π(3)(6+10)=96π301.5929C=2π(3)18.8496V = \pi(9)(4 + 10) = 126\pi \approx 395.8407 \qquad S = 2\pi(3)(6 + 10) = 96\pi \approx 301.5929 \qquad C = 2\pi(3) \approx 18.8496

Because r=3r = 3 and a=10a = 10 are both exact whole numbers here, volume and surface area both have an EXACT symbolic form (126π126\pi, 96π96\pi) in addition to the decimal approximation.

Worked example: a = 0 (the sphere boundary case)

V=π(9)(4+0)=36π113.0973S=2π(3)(6+0)=36π113.0973V = \pi(9)\left(4 + 0\right) = 36\pi \approx 113.0973 \qquad S = 2\pi(3)(6 + 0) = 36\pi \approx 113.0973

Setting the body length to a=0a = 0 collapses the cylindrical middle section entirely, leaving just the two hemispherical caps meeting at a single seam — a bare sphere of radius r=3r = 3. Both the volume and surface area formulas reduce exactly to the sphere's own 43πr3\frac{4}{3}\pi r^3 and 4πr24\pi r^2, and both come out to the same coefficient (36π36\pi) here only because r=3r = 3 makes 43r=4=2r2\frac{4}{3}r = 4 = 2r - 2; that's a coincidence of this particular radius, not a general rule.

Common mistakes

  • Mistaking a for the capsule's total length. a is the straight body only — the true overall length is a+2ra + 2r, one radius longer on each end for the domes.
  • Dropping either the caps or the body. Volume is ALWAYS sphere-caps (43πr3\frac{4}{3}\pi r^3) plus cylinder-body (πr2a\pi r^2 a) — never one term alone.
  • Using the wrong volume coefficient for the caps. The two caps together contribute 43πr3\frac{4}{3}\pi r^3 (one full sphere), not 23πr3\frac{2}{3}\pi r^3 (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 rr and STRAIGHT body length aa — every formula here is the sphere-cap terms (43πr3\frac{4}{3}\pi r^3, 4πr24\pi r^2) plus the cylinder-body terms (πr2a\pi r^2 a, 2πra2\pi r a), 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.

Related calculators