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.

FREE TOOL

Micrometers, nanometers and angstroms are available for very small-scale measurements.

Enter positive measurements. Results update when you calculate.

Your calculated volume
—
cubic feet (ft³)
Other common units
Cubic inches1,728 in³
Cubic feet1 ft³
US gallons7.481 gal
Liters28.317 L

Calculation methods, references & accuracy limits

Calculation formula
Choose the shape and enter measurements.

Multiply the length, width and height using the same measurement unit.

Step-by-step calculation

  1. 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

  1. Use the page’s default calculation and check the field labels.
  2. Enter end radius r; cylindrical section length a.
  3. Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
  4. Select Calculate volume and review any error message, conversions and calculation steps.
  5. Check the result against the model assumptions below before using it for a project.

Worked example

Capsule formula and worked example: V = πr²a + (4/3)πr³
Capsule — formula, measurements and a worked example. Open full-size image. The same mathematics remains available as text.

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.