Capsule Volume Calculator
Calculate the volume of a capsule (cylinder with hemispherical caps)
Volume
Embed this calculator
Add it to your website or blog
Capsule Volume Calculator Formula
Volume of a capsule:
V = π × r² × h + (4/3) × π × r³
r = radius, h = cylinder height (straight section only)
How to Use This Calculator
- Enter the radius of the capsule (same for the cylinder and both hemispherical caps).
- Enter the cylinder height — the length of the straight middle section only, not the total capsule length.
- Click Calculate Volume to see the result.
Frequently Asked Questions
What is a capsule shape?
A capsule is a cylinder with a hemisphere attached to each end. The total length is h + 2r, where h is the cylinder height and r is the radius. The formula combines the cylinder volume (πr²h) and a full sphere volume (4/3 πr³) from the two caps.
What is the cylinder height vs. total capsule length?
The cylinder height (h) is only the straight middle section. The total capsule length is h + 2r, since each hemispherical cap adds one radius of length. Enter only the straight portion here.
What units does this calculator use?
This calculator is unit-agnostic. If r and h are in centimeters, the result is in cubic centimeters (cm³). Use the same unit for both inputs.
Where are capsule shapes found in real life?
Capsule shapes are used in pharmaceutical pills, propane tanks, submarine hulls, pressure vessels, and stadium roofs. The rounded ends distribute stress evenly, making capsules structurally efficient.
What happens when the cylinder height is zero?
When h = 0, the two hemispherical caps meet directly and the capsule becomes a full sphere. The volume simplifies to (4/3)πr³, which is the standard sphere formula. You can verify this with our sphere volume calculator.
Can I share my calculation?
Yes. After clicking Calculate, the URL updates with your input values. Copy and share the URL to let anyone else see the same pre-filled form and result.