MathsGeometry

Torus
calculator.

Find the volume and surface of a doughnut, swim ring or O-ring from what you can measure.

How it's worked out

A torus is the solid you get by sweeping a circle around a line in its own plane that does not touch it. Two radii describe it. The major radius R runs from the center of the hole to the center of the tube. The tube radius r runs from the center of the tube to its skin.

Pappus's centroid theorems make both formulas short. Volume is the area of the shape being swept times the distance its center travels. Surface is the edge of that shape times the same distance. Here the shape is a circle of radius r, and its center travels 2πR.

V\displaystyle V=πr2×2πR\displaystyle {}= \pi r^2 \times 2\pi R=2π2Rr2\displaystyle {}= 2\pi^2 R r^2
A\displaystyle A=2πr×2πR\displaystyle {}= 2\pi r \times 2\pi R=4π2Rr\displaystyle {}= 4\pi^2 R r

You rarely measure R directly. With a ruler you can read the inner radius, to the edge of the hole, and the outer radius. R is their average, and r is half their difference.

R\displaystyle R=inner+outer2\displaystyle {}= \frac{\text{inner} + \text{outer}}{2}
r\displaystyle r=outer−inner2\displaystyle {}= \frac{\text{outer} - \text{inner}}{2}

An O-ring is sold by its inside diameter, ID, and its cord thickness, CS. The same idea applies, with both already diameters.

R\displaystyle R=ID+CS2\displaystyle {}= \frac{\text{ID} + \text{CS}}{2}
r\displaystyle r=CS2\displaystyle {}= \frac{\text{CS}}{2}

The check in the working uses a second route from MathWorld's torus page, which needs only the inner and outer radii. It reaches the same volume without R or r.

Worked examples

Jo works out the dough in a doughnut

With R at 5 cm and r at 2 cm, the volume is 394.78 cm³ and the surface is 394.78 cm². Those two numbers match here because the ratio of surface to volume is 2 over r, and r is 2. The hole is 6 cm across and the whole thing is 14 cm. The inner and outer radii give a volume of 394.78 cm³ too.

Open this example in the tool

Sam weighs a rubber O-ring

An O-ring with a 20 mm inside diameter and a 3 mm cord has R at 11.5 mm and r at 1.5 mm. Its rubber fills 510.75 mm³, and the cord along the center is 72.26 mm long. Sam's data sheet lists a density of 1.2 g/cm³ for his compound, so the ring weighs about 0.613 g.

Open this example in the tool

Lee measures a swim ring with a ruler

A ring has a 20 cm inner radius and a 40 cm outer radius, so R is 30 cm and r is 10 cm. It holds 59.22 L of air, and its skin covers 11,843.53 cm². A real ring changes shape as it fills, so treat those as estimates.

Open this example in the tool

Reading your result

R and r do not count the same. Volume grows with the square of r, but only in step with R. Doubling R from 5 to 10 with r at 2 takes the volume to 789.57, twice as much. Doubling r from 2 to 4 with R at 5 takes it to 1,579.14, four times as much.

The ratio depends only on the tube. Surface over volume is 2 over r, whatever R is. A thin cord has a lot of skin for its rubber. The two halves of the skin are not equal, though: on Jo's doughnut, the outer half is 247.66 cm² and the inner half is 147.13 cm².

The limit is r equal to R. There the hole closes to a single point, called a horn torus. With both radii at 1, the volume is 19.7392. Past that, the surface runs through itself, called a spindle torus, and these formulas count the overlap twice. The tool stops at r equal to R.

Working backward. To hold 500 cm³ with R at 5 cm, the tube radius needs to be 2.25 cm. The tool will also find R for a fixed tube.

Common mistakes

  • Using the outer radius as R. R stops at the middle of the tube, not at the outside edge. Using the outer radius makes the volume too large.
  • Reading an O-ring's numbers as radii. The ID and CS are both diameters, so halve the cord thickness to get r. A 3 mm cord has an r of 1.5 mm, and at the same R, using 3 gives four times the volume.
  • Treating a real bagel or tire as a perfect ring. A bagel is flattened, and a tire has a near-rectangular section. The result is a good starting estimate, not an exact figure.
  • Forgetting the wall of a hollow ring. An inner tube holds air, and its rubber is only the wall. For the rubber, take the torus with r minus the wall away from the outer torus.

Questions people ask

The inner half of the tube is squeezed and the outer half is stretched, and those two effects cancel when added up. So a straight tube with a length equal to the center line has the same volume and surface. For a doughnut with R of 5 cm, that length is 31.42 cm.

Sources