How to Calculate the Partial Volume of a Capsule Tank
At a glance
- 1. Set the dimensions
Use r for the tank radius, L for the straight cylindrical length, and h for liquid depth measured upward from the bottom.
- 2. Find the circular segment
Calculate the cross-sectional area filled in the cylindrical section at depth h.
- 3. Add the end volume
For a horizontal capsule, add the submerged spherical-cap volume from the two hemispherical ends.
- 4. Check the limits
The result should be zero when empty and equal the full capsule volume when h equals 2r.
A capsule tank is commonly modeled as a cylinder with a hemisphere attached at each end. For a horizontal tank filled to depth , the liquid occupies a circular segment along the cylindrical section and a spherical-cap-shaped portion across the two rounded ends.
Let be the inside radius and the length of the straight cylindrical section. The formula below gives volume for any fill depth from empty to full. If the tank is vertical, the calculation is different; that case is covered below.
Formula for a horizontal capsule tank
First calculate the area of the liquid segment in a circular cross-section of radius :
The two hemispherical ends together make one sphere of radius . The volume of its portion below the liquid level is a spherical cap:
Therefore, the partial volume is
Use consistent units throughout. For example, if , , and are in metres, the answer is in cubic metres.
Worked example
Suppose a horizontal capsule tank has radius , straight cylindrical length , and liquid depth .
The filled cross-sectional area of the cylindrical portion is
The cylindrical portion contains approximately . The end portion contains
So the total liquid volume is approximately
The full capacity is , which is about for these dimensions. The example tank is therefore about 18.6% full.
If the tank is vertical
For a vertical capsule, the ends are at the bottom and top rather than at the sides. Let be the liquid height measured from the bottom, and keep as the straight cylindrical length. The total height is . The volume is piecewise:
where in the final case. The three cases describe filling the lower hemisphere, then the cylindrical section, then the upper hemisphere.
Common mistakes
- Using the overall tank length as . If the measured tip-to-tip length is , then the straight cylindrical length is .
- Mixing units. Convert all lengths to the same unit before calculating; otherwise the volume will be inconsistent.
- Measuring depth from the center. In the horizontal formula, is measured upward from the inside bottom, so it ranges from to .
- Using a horizontal formula for a vertical tank. The amount of liquid in each end changes differently with height, so use the piecewise expression for a vertical orientation.
As a useful check, at half depth, , a horizontal capsule is exactly half full by symmetry. At the formula gives zero, and at it gives the full capacity .
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.