Volume of a Capsule Calculator
Find the volume of a capsule by combining a cylindrical section with two hemispherical ends, using radius and straight section length.
Volume Calculator
Select a 3D shape and enter its measurements.
Enter any two spherical-cap measurements. The calculator derives the third.
Enter both water-level readings using the same volume unit. The difference is the object's displaced volume.
For ft / in, enter values such as 5 ft 6 in. For m / cm, enter values such as 1 m 25 cm. You can also enter a decimal value in the larger unit.
Micrometers, nanometers and angstroms are available for very small-scale measurements.
Enter positive measurements. Results update when you calculate.
Calculate a result to rate this tool.
Multiply the length, width and height using the same measurement unit.
Step-by-step calculation
- Enter your dimensions to see the calculation steps.
Volume of a Capsule Formula
Capsule volume is calculated from end radius r; cylindrical section length a. V = πr²a + (4/3)πr³. Enter the labeled measurements and review the result in the displayed units.
V = πr²a + (4/3)πr³
Required inputs: End radius r; cylindrical section length a.
How to use this calculator
- Use the page’s default calculation and check the field labels.
- Enter end radius r; cylindrical section length a.
- Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
- Select Calculate volume and review any error message, conversions and calculation steps.
- Check the result against the model assumptions below before using it for a project.
Worked example

For radius 2 cm and a straight cylindrical section 5 cm long, V = 20π + 32π/3 = 96.3422 cm³.
Assumptions and limits
The length field is the straight cylinder section, not the total tip-to-tip length. Subtract two radii from the overall length before entering it.
Units and accuracy
Lengths use linear units, areas use squared units and volumes use cubed units. For example, 1 m³ = 1,000 L; 1 ft³ = 1,728 in³; and 1 yd³ = 27 ft³. US and imperial gallons differ, so use the correctly labeled output. A conversion does not improve measurement accuracy.
Keep unrounded measurements during the calculation and round the final result to suit the measurements. Very small nonzero results may use scientific notation to avoid displaying a misleading zero.
Questions about this tool
Why can my real measurement differ from the answer?
The length field is the straight cylinder section, not the total tip-to-tip length. Subtract two radii from the overall length before entering it.
Can I change the input units?
Choose the appropriate unit control and interpret each field as length, area or volume according to its label. Changing a unit does not automatically turn an outside measurement into an inside measurement.
How do I report an incorrect result?
Use Contact Us and include the page URL, selected method, input values, units and expected result. The contact form opens your email application; do not include sensitive information.
Available calculator controls
Enter each measurement in its own unit and choose a cubic or liquid output unit. For radius-based shapes, the diameter option converts the entered width to radius. The steps and diagram use the main input unit.
Copy the result, print the calculation or copy a calculation link to reopen the same measurements. The advanced panel can solve a supported missing dimension, add or subtract two simple solids, and estimate mass from a density you supply. Combined shapes must satisfy the stated overlap and containment assumptions.
Measurement question
How do I find the volume of a capsule?
Add the straight cylindrical section to the two hemispherical ends: V = πr²a + (4/3)πr³. Here a is the length of the straight cylinder, excluding the rounded ends. If you know total end-to-end length, subtract 2r to obtain a.
Summary
Find the volume of a capsule by combining a cylindrical section with two hemispherical ends, using radius and straight section length.
- volume of a capsule