Volume of Capsule Calculator

Enter a capsule's radius or diameter and the length of its cylinder part to find its volume, surface area and capacity in litres.

Updated

I know the
Enter to calculate Esc to clear

Volume of Capsule Calculator

Our Volume of Capsule Calculator finds how much space a capsule (a cylinder with a hemisphere on each end) holds from its radius (or diameter) and the length of its cylinder part. It shows the working, the exact answer in terms of π, the cylinder and hemisphere parts, the total length, the surface area, the volume in other units (including litres) and a drawing to scale.

Quick answer

The volume of a capsule is πr²a + (4/3)πr³, where r is the radius and a is the length of the cylinder part: V = π × 3² × (4 × 3 ÷ 3 + 10) ≈ 395.84 cm³.

  • Cylinder plus sphere: the two hemispheres make one whole sphere, so V = cylinder + sphere
  • Exact form: r = 3 and a = 10 give exactly 126π
  • From the total length L: first find a = L − 2r
  • Litres: 1,000 cm³ = 1 litre and 1 m³ = 1,000 litres

What Is the Volume of a Capsule?

A capsule (also called a stadium of revolution or a spherocylinder) is a 3D shape made of a cylinder with a hemisphere of the same radius on each end, like a medicine pill or a gas tank. Its radius r is measured from the central axis to the curved surface, and a is the length of the straight cylinder part only. The volume V is the space inside, measured in cubic units.

A capsule on its side: a cylinder part of length a between two hemispheres of radius r, with the total length L marked below r a total length L = a + 2r
Radius r, cylinder length a, and the total length L = a + 2r.

Capsule Volume Formulas

Use the formula that matches what you know.

You knowFormula
Radius, aV = πr²(4r/3 + a)
Diameter, aV = πd²(2d/3 + a) ÷ 4
Radius, LV = πr²(L − 2r/3)

All three are the same formula: πr²a is the cylinder part and (4/3)πr³ is the two hemispheres. When a = 0 the capsule is just a sphere.

Why It Is a Cylinder Plus a Sphere

Cut the two rounded ends off and push them together: they form one complete sphere of radius r. What is left is a cylinder of radius r and length a. So the capsule holds exactly a cylinder plus a sphere. With r = 3 cm and a = 10 cm: 90π + 36π = 126π ≈ 395.84 cm³.

The capsule split into its cylinder part, volume pi r squared a, and its two hemispherical ends joined into one sphere, volume four thirds pi r cubed πr²a + (4/3)πr³ cylinder part two ends = sphere
V = πr²a + (4/3)πr³. With r = 3 and a = 10: 90π + 36π = 126π ≈ 395.84.

Finding the Length From the Volume

Rearrange the formula: a = V ÷ (πr²) − 4r/3. A 500 cm³ capsule with a 3 cm radius needs a cylinder part of 500 ÷ (9π) − 4 ≈ 13.68 cm, so its total length is about 19.68 cm. If the answer is negative, even a sphere of that radius is too big for the volume, so pick a smaller radius.

Surface Area of a Capsule

The outside is the curved side of the cylinder, 2πra, plus the surface of one whole sphere, 4πr². Together: S = 2πr(2r + a). With r = 3 and a = 10 that is 96π ≈ 301.59 cm². Our Surface Area of Capsule Calculator covers this in more detail.

Capsule Volume Examples

KnownExact volume
r = 1, a = 1 m(7/3)π
≈ 7.33 m³
r = 3, a = 10 cm126π
≈ 395.84 cm³
r = 2, a = 8 in(128/3)π
≈ 134.04 in³
d = 4, a = 6 cm(104/3)π
≈ 108.91 cm³
r = 5, a = 0 cm(500/3)π
≈ 523.60 cm³

The last row has no cylinder part, so it is the volume of a sphere. Leaving π as a letter keeps the answer exact; multiply by 3.14159 only at the end.

Capsule Volume in Real Life

  • Medicine capsule: 8 mm across and 22 mm long (a = 14 mm) holds about 972 mm³, just under 1 mL.
  • Propane tank: 1 m across and 3 m long (a = 2 m) holds (2/3)π ≈ 2.09 m³, about 2,094 litres.
  • 3D modelling: capsule colliders in game engines use the same r and a.
  • Biology: rod-shaped bacteria such as E. coli are modelled as capsules to estimate cell volume.

Common Mistakes

  • Using the total length as a: r = 3 with L = 16 entered as a gives 565.49 instead of 395.84. Use a = L − 2r = 10.
  • Forgetting the ends: πr²a alone gives 282.74, missing the 113.10 of the hemispheres.
  • Using the diameter as r: r = 6 instead of 3 gives 2,035.75, more than five times too much.
  • Counting only one hemisphere: the two ends together make a whole sphere, (4/3)πr³, not (2/3)πr³.
  • Mixed units: convert the radius and length to the same unit before you multiply.

Key Terms

Volume
The space inside the capsule, V.
Radius
From the central axis to the surface, r.
Diameter
The full width of the capsule, d = 2r.
Length a
The straight cylinder part only.
Total length
Tip to tip, L = a + 2r.
Hemisphere
Half a sphere; one caps each end.

How to Use the Volume of Capsule Calculator

  1. Choose what you know. Pick Radius or Diameter for the width of the capsule.
  2. Enter the radius and the cylinder length. Type the radius (or diameter) and the length of the straight cylinder part a, such as 3 and 10, and pick a unit if you want one (mm, cm, m, km, in, ft, yd or mi). If you only know the total length L, use a = L − 2r. Decimals and fractions such as 3/4 work.
  3. Read and copy the result. The volume appears as you type, with the working, the exact answer in terms of π, the cylinder and hemisphere parts, the total length, the surface area and the volume in other units such as litres. Press Copy to copy it, or Clear or Esc to start again.

Example: a propane tank is 1 m across and 3 m long overall. Its cylinder part is 3 − 1 = 2 m. Choose Diameter, enter 1 and 2 and pick m. The volume is about 2.09 m³, or about 2,094 litres.

Who Can Use This Calculator?

Students and TeachersComposite solids and homework checks
EngineersPressure vessels, gas tanks and silos
Pharmacy and BiologyPill capsules and rod-shaped cells
3D Artists and Game DevelopersCapsule models and colliders

Frequently Asked Questions (FAQs)

What is the formula for the volume of a capsule?

V = πr²a + (4/3)πr³ = πr²(4r/3 + a), where r is the radius and a is the length of the cylinder part. A radius of 3 cm and a cylinder length of 10 cm give 126π ≈ 395.84 cm³.

How do you find the volume of a capsule from its total length?

Subtract the two rounded ends first: a = L − 2r. Or use V = πr²(L − 2r/3) directly. A capsule 16 cm long overall with a 3 cm radius has a = 10 cm and a volume of about 395.84 cm³.

Why does a capsule contain a whole sphere?

Each end is a hemisphere of radius r. Put the two halves together and they make one complete sphere, so the volume is a cylinder (πr²a) plus a sphere ((4/3)πr³).

How many litres does a capsule tank hold?

Work out the volume in m³ and multiply by 1,000, or in cm³ and divide by 1,000. A tank 1 m across and 3 m long overall holds (2/3)π ≈ 2.09 m³, about 2,094 litres.

What if the cylinder length is 0?

Then the capsule has no straight part and is a sphere, so V = (4/3)πr³. A radius of 5 cm gives about 523.60 cm³. The calculator accepts a = 0.

What is the surface area of a capsule?

S = 2πr(2r + a): the curved side of the cylinder plus one whole sphere. With r = 3 and a = 10 it is 96π ≈ 301.59. See the Surface Area of Capsule Calculator.

Is the Volume of Capsule Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Volume of Capsule Calculator to get a capsule's volume from its radius or diameter and cylinder length.