A slice between two planes

A spherical segment is the part of a ball between two parallel planes. If one plane is tangent to the sphere or beyond it, the segment becomes a cap, and if the planes sit on either side of the center, the segment contains the middle of the ball. This page works with coordinates. Imagine the sphere centered at the origin with a vertical axis through it. Each cutting plane is a horizontal plane at height y1 or y2 on that axis. You enter the radius R and the two heights, and the page returns the volume of the slice and the area of its curved outer surface.

Segment height and volume between two planes

The segment height is h = y2 − y1. The volume is pi × (R² × h − (y2³ − y1³) / 3), which comes from integrating the circular cross-section area, pi × (R² − y²), from y1 to y2. The curved area is 2 × pi × R × h, and it excludes the two flat circular faces cut by the planes. Both outputs follow from the radius and the two coordinates alone. Length results use the entered unit, curved area uses its square and volume uses its cube. Heights are signed, so a plane below the center takes a negative value and one above takes a positive value.

A thin band around the equator of a sphere

The page opens with R = 5, y1 = −1 and y2 = 1. This is a thin band centered on the equator, with a height of 2. The volume is pi × (25 × 2 − (1 − (−1)) / 3) = pi × (50 − 0.6667), about 154.985 cubic units. The curved area is 2 pi × 5 × 2, about 62.832 square units. Because the band straddles the center symmetrically, the cubic terms add rather than cancel, since y2³ is 1 and y1³ is −1, so their difference is 2. The sphere as a whole has a volume of 4/3 pi R³, about 523.599 for this radius, so the band holds a little under 30 percent of it, while covering only one fifth of the vertical extent. A band of the same height placed higher on the sphere would hold less volume, since the sphere narrows away from the equator. The default shows the largest volume a slice of that height can have.

A cap near the top

Take R = 5 with y1 = 2 and y2 = 5, so the plane at height 5 touches the top of the sphere. The height is 3 and the segment is a spherical cap. The volume is pi × (25 × 3 − (125 − 8) / 3) = pi × (75 − 39), which is 36 pi, about 113.097. The curved area is 2 pi × 5 × 3, about 94.248. You can check the volume with the cap formula, pi h² (3R − h) / 3, which gives pi × 9 × 12 / 3 = 36 pi again. A cap is a good example to try, because two different formulas giving the same number builds confidence in your inputs.

Hemispheres and off-center bands

Setting y1 = 0 and y2 = R gives a hemisphere. With R = 10, the volume is about 2,094.395, which is two thirds of pi R³, and the curved area is 628.319, which is 2 pi R². An off-center band with R = 10, y1 = −4 and y2 = 6 has height 10, so its curved area is again 628.319, but its volume is about 2,848.377, larger than the hemisphere because it includes the widest part of the sphere. The pair shows that curved area depends only on the height, while volume depends on where the slice sits.

Archimedes and the height rule

The curved area formula, 2 pi R h, has a property found by Archimedes: the area of a spherical zone depends only on the sphere's radius and the zone's height, not on where the zone sits. A band of height 2 near the pole has the same curved area as a band of height 2 at the equator. The full sphere has h = 2R, which gives 4 pi R², the sphere's surface area. Archimedes was proud of related results on the sphere and cylinder, and had them marked on his tomb according to later accounts. The volume, unlike the area, changes with position, as the default and the cap examples show.

Choosing the coordinates

Measure the plane heights from the center of the sphere along the same axis and in the same direction, using one origin for both. If you measure from the bottom of the sphere, subtract R from each reading to get center-based coordinates. For a tank or a dome, that means the height above the lowest point minus the radius. Keep the planes inside the sphere, with each coordinate between −R and R, because a plane outside the ball does not cut it. Enter the lower plane as y1 and the upper plane as y2, so the height is positive. As a check, taking y1 = −R and y2 = R must return the whole sphere. With R = 5 that gives a volume of about 523.599 and a curved area of about 314.159, which are 4/3 pi R³ and 4 pi R². A mismatch there points to a mistake in the entries.

Partly filled tanks, domes, lenses and bowls

Spherical segments model partly filled spherical tanks, domes, lenses, bowls, and the bulb-shaped ends of pressure vessels. If a spherical tank of radius 5 is filled to a depth of 3 from the bottom, the liquid forms a cap with y1 = −5 and y2 = −2, giving height 3 and volume 36 pi again, by symmetry. Convert the cubic result to liters or gallons separately. The wetted area of the curved wall is the second output. The page does not account for wall thickness, fittings or the flat faces. Real tanks have tolerances, so use the supplier's capacity tables where accuracy matters.

Flat face areas the segment page omits

The calculator treats an ideal sphere and parallel planes, with finite inputs. It reports no flat face areas, so for total surface area of a solid slice, add the two circular faces separately. Each circle has radius the square root of R² − y², using the plane's own coordinate. The results show many digits that a measured radius cannot justify, so round the answer. Intermediate rounding of pi or of the cube terms can shift later digits, particularly for thin slices where the volume is a small difference of larger terms.