What is a spherical ring?
A spherical ring, or napkin ring, is what remains of a solid ball of radius \(R\) after a cylindrical hole of radius \(r < R\) has been drilled straight through its centre. Its height is the length of the hole, \(h = 2\sqrt{R^2 - r^2}\). Its outer surface is a band of the sphere (a spherical zone), and its inner surface is the cylinder wall. A bead on a string has this shape. Enter two of the sphere radius, the hole radius and the height.
Derivation of the formulas
Cut the ring at height \(z\) (measured from the centre). The section is an annulus between the circle of the sphere, radius \(\sqrt{R^2 - z^2}\), and the hole, radius \(r\). Its area is
$$\pi\left(R^2 - z^2\right) - \pi r^2 = \pi\left(\frac{h^2}{4} - z^2\right)$$since \(R^2 - r^2 = h^2/4\). Integrating from \(-h/2\) to \(h/2\) gives the volume:
$$V = \int_{-h/2}^{h/2} \pi\left(\frac{h^2}{4} - z^2\right) dz = \frac{\pi h^3}{6}$$The radius \(R\) has dropped out: the volume depends only on the height. A ring 8 cm high cut from a tennis ball and one cut from a planet have the same volume, that of a ball of diameter \(h\). By Archimedes' hat-box theorem a zone of height \(h\) on a sphere of radius \(R\) has area \(2\pi R h\), and the hole's wall has area \(2\pi r h\):
$$A = 2\pi R h + 2\pi r h$$Worked example
For \(R = 5\) and \(r = 3\), the height is \(h = 2\sqrt{25 - 9} = 8\) and
$$V = \frac{\pi \cdot 8^3}{6} = \frac{256\pi}{3} \approx 268.082573$$The outer zone is \(80\pi \approx 251.327412\), the hole's wall \(48\pi \approx 150.796447\) and the total \(128\pi \approx 402.123860\) square units. A ring of the same height 8 cut from a ball of radius 1000 has the same volume.
Frequently asked questions
How can the volume not depend on the size of the ball?
A bigger ball needs a wider hole to leave the same height. The ring gets wider but thinner, and the two effects cancel exactly. This is the classic napkin ring problem.
What happens when the hole is very thin?
Then \(h\) approaches \(2R\) and the volume approaches \(\tfrac{4}{3}\pi R^3\), the whole ball. With \(r = 0\) the calculator gives the whole ball.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Input range
Enter each length as 0 (where the shape allows it) or from 0.000001 to 1,000,000,000. Anything outside is refused with a message naming the range. The page shows results rounded to at most six decimals and writes very large and very small values out in full.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd edition, 2018
I. N. Bronshtein, K. A. Semendyayev, G. Musiol, H. Mühlig, Handbook of Mathematics, 6th edition, 2015