🧮
🧮 Math & statistics

Torus Calculator

Results update as you type.

Your numbers

Understanding the torus calculator — concept and principle

A torus is the doughnut shape you get by sweeping a circle around an axis that lies in the same plane but does not cross the circle. It is described by two numbers: the major radius R, from the centre of the hole to the centre of the tube, and the minor radius r, the radius of the tube itself. The volume and surface area are used for O-rings, inner tubes, ring tanks and toroidal cores.

Torus with R = 5 and r = 1 drawn as a donut cut open into a tubeThe dashed centre circle of the donut has radius 5, so cut open and straightened the tube is 2π × 5 ≈ 31.42 long, with radius 1. Volume = π × 1² × 31.42 ≈ 98.70; surface = 2π × 1 × 31.42 ≈ 197.39.Cut a donut and straighten itR = 5tube 2r = 2cut2πR≈ 31.42rlength 2πR ≈ 31.42volume πr² × 31.42= 2π²Rr² ≈ 98.70skin 2πr × 31.42= 4π²Rr ≈ 197.39
Pappus: a torus is a tube of radius r whose length is the centre circle 2πR.

How it is calculated

Use one length unit for both inputs. The outer diameter of the torus is 2(R + r) and the hole diameter is 2(R − r).

The principle

Both formulas come from Pappus's centroid theorems. When a flat shape is revolved around an external axis, the volume swept out equals the shape's area times the distance travelled by its centroid. Here the shape is a circle of area πr², and its centre travels a circle of length 2πR, so V = πr² × 2πR = 2π²Rr². The second theorem works the same way for curves: the surface area equals the length of the curve times the distance travelled by its centroid, so A = 2πr × 2πR = 4π²Rr.

An intuitive way to see it: cut the torus and straighten it. It becomes roughly a cylinder of radius r and length 2πR. The inner side gets squeezed and the outer side stretched by exactly balancing amounts, so the straight-cylinder formulas give the exact answer.

Worked example

  1. Inputs: R = 5, r = 1.
  2. π² ≈ 9.8696044.
  3. Volume: 2 × 9.8696044 × 5 × 1² ≈ 98.69604401.
  4. Surface area: 4 × 9.8696044 × 5 × 1 ≈ 197.392088.
How Volume changes with Minor radius rHow Volume changes with Minor radius r01002003004000.250.50.7511.251.52Example: 98.69604401Minor radius r
Each point is the calculator re-run with only “Minor radius r” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Minor radius rVolume
0.256.168502751
0.524.674011
0.7555.51652476
198.69604401
1.25154.2125688
1.5222.066099
2394.784176

How to read the result

Volume is proportional to R and to r², so a thicker tube adds volume much faster than a wider ring. Doubling r quadruples the volume, while doubling R only doubles it. The surface area is proportional to both R and r. For the example, the outer diameter is 12 and the hole diameter is 8. If the result is in cm³, divide by 1,000 to get litres.

Common mistakes

Keep in mind: The formulas describe an ideal ring torus with a perfectly circular cross-section and R greater than r. Real rubber rings, tubes and seals deform under pressure, so use manufacturer data for engineering sizing.

Frequently asked questions

How do I find R and r from a measured ring?

Measure the outer diameter D and the hole diameter d. Then r = (D − d) ÷ 4 and R = (D + d) ÷ 4. For D = 12 and d = 8, r = 1 and R = 5.

Is a torus volume the same as a bent cylinder?

Yes, exactly. By Pappus's theorem, a cylinder of radius r and length 2πR has the same volume as the torus.

What is the volume of an O-ring?

Treat it as a torus: r is half the cord thickness and R is the mean ring radius, the inner radius plus r.

Sources: Pappus of Alexandria, Collection, Book VII (centroid theorems for solids and surfaces of revolution) · J. Stewart, Calculus: Early Transcendentals, Cengage, section on volumes of revolution and Pappus's theorem

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →