Capsule Volume Calculator

Volume and surface area of a capsule (a cylinder with hemispherical ends), such as a propane tank or pill, from its radius and overall length.

Half the diameter of the cylinder and of the rounded ends.
Including both rounded ends; must be at least the diameter.

Results

Volume
101.84
Surface area
31.416
Straight (cylinder) length
3
Volume of the cylinder part
70.502
Volume of the two ends (one sphere)
31.334

How it’s calculated

A capsule is a cylinder of length a = L − 2r capped by two hemispheres, which together make one sphere of radius r.

a = L − 2r V = π r² a + (4/3) π r³ A = 2π r a + 4π r²

Example (a horizontal tank): r = 1 ft, L = 5 ft, so a = 3 ft. V = π × 1 × 3 + (4/3)π = (13/3)π ≈ 13.614 ft³ ≈ 101.8 US gal; A = 6π + 4π = 10π ≈ 31.42 ft².

Real tanks have wall thickness and often elliptical rather than hemispherical heads, so use the inside dimensions and treat the result as an estimate.

Frequently asked questions

What if I know the length of the straight section instead?

Add the diameter to it to get the overall length: L = a + 2r.

Is a propane tank a capsule?

Many horizontal propane tanks are close to a capsule, but heads are often shallower (semi-elliptical), so the true capacity is a little less. Use the nameplate water capacity when you have it.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator