Skip to main content
Home Improvement12 min read

How to Find the Volume of Hollow, Partial, and Composite Solids

A decomposition-first guide to pipes, frustums, domes, and partly filled tanks, with formulas and checks for avoiding geometric and unit errors.

By Mohamed Zakrya

Updated · 12 min read

Share
The volumes our own calculators decline, and how to build them Volumes without a button Three of our calculators say these cases are not theirs. Each is two solids that are. HOLLOW outer cylinder minus the bore 1,800π − 800π = 1,000π cm³ not π(R−r)²L, which is five times too small A REMOVED TIP large cone minus its tip 144π − 16/3 π ≈ 435.63 cm³ the tip is a similar cone, found by ratio PARTLY FILLED, LYING DOWN a circular segment, not a smaller circle quarter depth → 19.55%, not 25% upright, the same tank fills in proportion THE THREE THAT GO WRONG Subtracting the radii A shell is not a solid cylinder whose radius is the wall thickness. The cross-section is an annulus: π(R²−r²), never π(R−r)² Scaling one dimension A similar cone at half the height also has half the radius, so it holds an eighth. Cut halfway up and seven eighths stays behind. Mixing the units Only volumes in the same unit may be added or subtracted, and cubing a length cubes its unit: 1 m³ = 1,000,000 cm³ A negative answer means the decomposition is wrong, not the arithmetic The removed solid must lie inside the enclosing one, and the result must be smaller than whatever contains it.
A decomposition-first guide to pipes, frustums, domes, and partly filled tanks, with formulas and checks for avoiding geometric and unit errors.

A composite solid is an object whose volume cannot be described by one primitive formula alone. A pipe contains two cylinders. A frustum can be reconstructed from two cones. A dome may be a hemisphere or a smaller spherical cap. A partly filled horizontal tank combines a cylinder with a circular-segment calculation.

The useful first move is therefore not entering measurements into a calculator. It is deciding what the object actually contains, which boundaries belong to complete primitive solids, and whether each part must be added or removed. Once that decomposition is correct, calculators for cylinders, cones, and spheres can supply the component volumes.

The arithmetic then follows one rule: add volumes occupied by separate, non-overlapping parts and subtract volumes representing holes, cutoffs, or empty regions.

Identify the solids before measuring

Name each primitive and mark its dimensions before choosing a formula. Common primitives include cylinders, cones, spheres, hemispheres, and rectangular solids. Derived shapes such as pipes, frustums, caps, and liquid segments need an additional relationship between those primitives.

Ask four questions:

  1. What complete solid encloses the object?
  2. Which parts of that solid are missing or empty?
  3. Are any occupied parts joined without overlapping?
  4. Which measurements belong to each individual part?

A hollow pipe, for example, is an outer cylinder with an inner cylindrical void. A conical frustum is a large cone with a smaller, similar cone removed from its tip. These descriptions immediately indicate subtraction. Two closed tanks joined end to end would instead require addition, provided their interior volumes do not overlap.

Do not add component volumes across an overlapping region. If two imagined primitives occupy the same physical space, adding both counts that space twice. Choose a cleaner decomposition or subtract the overlap.

Add separate parts, subtract holes, never add an overlap Decide add or subtract before measuring Name the primitives, then say which are occupied and which are empty SUBTRACT · hollow outer wall minus bore 1,800π − 800π = 1,000π cm³ SUBTRACT · removed large cone minus its tip the tip is a similar cone ADD · joined separate space, so the two volumes simply add NEVER ADD AN OVERLAP If two primitives occupy the same space, adding both counts that space twice. Pick a cleaner split, or subtract the shared region. A negative answer is not a negative volume. The removed solid was not inside the enclosing one.
A decomposition map showing when hollow, removed, and joined regions require subtraction or addition.

Subtract complete cylinders to find hollow volume

A pipe or cylindrical sleeve has an outer radius R, an inner radius r, and a common length L. Its material volume is the volume inside the outer wall minus the empty bore:

V_outer = pi * R^2 * L
V_inner = pi * r^2 * L
V_hollow = V_outer - V_inner
V_hollow = pi * (R^2 - r^2) * L

This works because every point in the bore is included in the outer cylinder’s volume. Subtracting the bore removes exactly the region that is not material.

Subtracting the radii first does not describe the same region. The expression pi * (R - r)^2 * L treats the wall thickness as the radius of a new solid cylinder. A cylindrical shell is not a solid cylinder whose radius equals its wall thickness.

Consider a labeled example with outer radius R = 6 cm, inner radius r = 4 cm, and length L = 50 cm:

V_outer = pi * (6 cm)^2 * 50 cm
        = 1,800pi cm^3

V_inner = pi * (4 cm)^2 * 50 cm
        = 800pi cm^3

V_hollow = 1,800pi cm^3 - 800pi cm^3
         = 1,000pi cm^3
         ≈ 3,141.59 cm^3

Using the radius difference would produce pi * (2 cm)^2 * 50 cm = 200pi cm^3, which is not the pipe wall’s volume. The missing factor comes from the annular cross-section: its area is pi * (R^2 - r^2), not pi * (R - r)^2.

Reconstruct a frustum from two similar cones

A conical frustum is what remains after a plane parallel to a cone’s base removes its tip. Imagine extending the sloping sides until they meet. That reconstruction creates a large cone containing the entire frustum and a smaller cone occupying the removed tip.

The two cones are similar, so their corresponding radii and heights have the same scale factor:

r / R = h_small / H

Here, R is the large cone’s base radius, H is its full reconstructed height, r is the removed cone’s radius, and h_small is the removed cone’s height. The frustum height is H - h_small.

For an example, take a reconstructed cone with R = 6 cm and H = 12 cm. Suppose the removed cone has r = 2 cm. Similarity gives:

h_small = H * r / R
        = 12 cm * 2 cm / 6 cm
        = 4 cm

The frustum height is therefore 12 cm - 4 cm = 8 cm. Its volume is:

V_large = (1/3) * pi * (6 cm)^2 * 12 cm
        = 144pi cm^3

V_small = (1/3) * pi * (2 cm)^2 * 4 cm
        = (16/3)pi cm^3

V_frustum = 144pi cm^3 - (16/3)pi cm^3
          = (416/3)pi cm^3
          ≈ 435.63 cm^3

The equivalent direct formula, using frustum height h and end radii R and r, is:

V_frustum = (1/3) * pi * h * (R^2 + Rr + r^2)

Halving a cone’s height does not halve the volume when all dimensions scale together. A similar cone at half the height also has half the radius, so its volume scale is (1/2)^3 = 1/8. Cutting a cone halfway up from its tip removes one-eighth of the original volume and leaves a frustum containing seven-eighths.

A frustum is a cone minus its own tip Extend the sides until they meet Cross-section to scale, 20 px per cm — invented dimensions, every figure follows from them reconstructed tip r = 2 cm 4 cm 8 cm frustum R = 6 cm reconstructed height H = 12 cm SUBTRACT, DO NOT RESCALE large (1/3)π·6²·12 = 144π tip (1/3)π·2²·4 = 16/3 π frustum = 416/3 π ≈ 435.63 cm³ Half the height is not half the volume A similar cone at half the height also has half the radius, so it holds (1/2)³ = 1/8. Cut halfway up and 7/8 stays behind.
A frustum reconstructed as a large cone minus a smaller similar cone, with corresponding radii and heights marked.

Distinguish a hemisphere from a spherical cap

A hemisphere is created by cutting a sphere through its center. Because the plane divides the sphere into two congruent parts, the hemisphere’s volume is exactly half the sphere’s volume:

V_sphere = (4/3) * pi * R^3
V_hemisphere = (2/3) * pi * R^3

For a sphere with radius R = 5 cm, the hemisphere volume is:

V_hemisphere = (2/3) * pi * (5 cm)^3
             = (250/3)pi cm^3
             ≈ 261.80 cm^3

A spherical cap is cut by a plane that does not necessarily pass through the center. Its volume depends on the sphere radius R and the cap height h, measured from the cutting plane to the cap’s highest point:

V_cap = (1/3) * pi * h^2 * (3R - h)

For an example with sphere radius R = 10 cm and cap height h = 3 cm:

V_cap = (1/3) * pi * (3 cm)^2 * (3 * 10 cm - 3 cm)
      = 81pi cm^3
      ≈ 254.47 cm^3

The cap becomes a hemisphere only when h = R. Substituting that condition into the cap formula gives (2/3) * pi * R^3, matching the hemisphere formula.

Treat upright and horizontal tanks differently

In a vertical cylindrical tank, every horizontal cross-section has the same circular area. If the tank radius is R and the liquid depth is d, the liquid volume is:

V_liquid = pi * R^2 * d

For an example with R = 1.00 m and d = 0.50 m:

V_liquid = pi * (1.00 m)^2 * 0.50 m
         = 0.50pi m^3
         ≈ 1.571 m^3

The volume is proportional to depth because the base area remains constant.

Turn the same cylindrical shape onto its side and that relationship disappears. Near the bottom, a small increase in depth covers a narrow strip. Near the middle, the same increase covers a much wider strip. The liquid cross-section is a circular segment, not a smaller circle or a fixed fraction of the full circle.

For a horizontal tank with radius R, cylindrical length L, and fill depth d, where 0 <= d <= 2R, first calculate the segment area:

A_segment =
R^2 * arccos((R - d) / R)
- (R - d) * sqrt(2Rd - d^2)

Use radians for arccos. Then multiply that cross-sectional area by the tank length:

V_liquid = A_segment * L

Consider a labeled example with R = 1.00 m, L = 4.00 m, and d = 0.50 m:

A_segment =
(1.00 m)^2 * arccos(0.50)
- 0.50 m * sqrt(0.75 m^2)

A_segment ≈ 1.047198 m^2 - 0.433013 m^2
A_segment ≈ 0.614185 m^2

V_liquid = 0.614185 m^2 * 4.00 m
         ≈ 2.45674 m^3

The full tank volume is pi * (1.00 m)^2 * 4.00 m ≈ 12.56637 m^3. A depth of 0.50 m is one-quarter of the 2.00 m diameter, but the liquid occupies about 19.55% of the tank, not 25%. At d = R, the segment is a semicircle and the tank is exactly half full.

Depth is not proportional to volume when the tank lies down A quarter of the way up is a fifth of the tank End view, to scale at 120 px per metre — invented dimensions, every figure follows from them d = 0.50 m 2R = 2.00 m chord — the liquid surface tank length L = 4.00 m SEGMENT, THEN LENGTH A = R²·arccos((R−d)/R) − (R−d)·√(2Rd−d²) A ≈ 0.614185 m² V = A · 4.00 m ≈ 2.45674 m³ Depth read as a fraction lies 0.50 m is one quarter of the 2.00 m diameter, and holds 2.45674 of the tank's 12.56637 m³ — 19.55%, not 25%
The end view of a horizontal cylinder showing fill depth, the liquid’s circular segment, and the segment dimensions used in the formula.

Keep every component in one volume unit

Addition and subtraction are valid only when all component volumes use the same unit. A result in cubic centimeters cannot be subtracted directly from a result in cubic meters.

Convert lengths before applying formulas, or convert every finished component volume into a common cubic unit. Remember that converting a length factor also cubes that factor for volume:

1 m = 100 cm
1 m^3 = (100 cm)^3
1 m^3 = 1,000,000 cm^3

Units also provide an algebra check. Squaring a radius produces an area unit such as cm^2; multiplying by a height or length produces cm^3. If a supposed volume ends in cm or cm^2, a dimension or exponent is missing.

Apply the enclosure and sign checks

A composite result must fit inside its physical enclosure. Pipe-wall volume must be less than outer-cylinder volume. A frustum must be smaller than its reconstructed cone. A cap must be smaller than its full sphere, and liquid volume must remain between zero and full tank capacity.

A negative result after subtraction is not a negative physical volume. It means the removed region was entered as larger than the enclosing region, the subtraction order was reversed, incompatible dimensions were paired, or units were mixed. Return to the decomposition and measurements instead of discarding the minus sign.

Frequently asked questions

How do I choose the primitives in a composite solid?

Trace the object’s boundaries and look for constant-radius cylinders, straight-sided cones, spherical surfaces, and flat cutting planes. Then describe the object as occupied regions plus or minus holes and removed regions. Favor a decomposition whose component dimensions can be measured independently.

Why is a hollow solid calculated by subtracting volumes?

The outer primitive includes both the material and the void. Subtracting the void leaves only the occupied material. The inner and outer solids must share the correct position and length for the subtraction to represent the physical object.

How can I determine the removed cone in a frustum?

Extend the frustum’s sloping sides to an imagined tip, then use similar-triangle ratios. The small and large cones must have equal radius-to-height ratios. Once the missing height is known, calculate both cone volumes and subtract.

When is a spherical section exactly half a sphere?

It is a hemisphere only when the cutting plane passes through the sphere’s center. Equivalently, the cap height equals the sphere radius. Any other parallel cut creates a spherical cap with a different fraction of the sphere’s volume.

Why is a horizontal tank not filled in proportion to its depth?

Its width changes with liquid height. Narrow cross-sections occur near the top and bottom, while the widest cross-section occurs at the center. The circular-segment area accounts for that changing width.

Can volumes with different units be combined?

Not directly. Convert every component to the same cubic unit before adding or subtracting. Converting the input lengths first often makes the calculation easier to audit.

What does a negative composite volume mean?

It indicates a modeling, measurement, unit, or subtraction-order error. Check that the removed solid lies inside the enclosing solid and that its corresponding dimensions are smaller where required.