How to use the Torus Calculator
Formulas
| Quantity | Formula |
|---|---|
| Volume | V = 2 × π² × R × r² |
| Surface area | S = 4 × π² × R × r |
| Outer radius | R + r |
| Inner (hole) radius | R − r |
Worked example
| Input | Value |
|---|---|
| Major radius (centre of tube to centre of torus) | 8 cm |
| Minor radius (tube radius) | 2 cm |
| Volume | 631.654682 cm³ |
| Surface area | 631.654682 cm² |
| Outer radius | 10 cm |
| Inner (hole) radius | 6 cm |
About the torus
By Pappus’s centroid theorem, the volume equals the tube’s cross-section area (πr²) times the distance its centre travels (2πR). The surface area follows the same idea with the tube’s circumference. If you measured the outer and inner diameters instead, R = (outer + inner) ÷ 4 and r = (outer − inner) ÷ 4.
Units and accuracy
Every input must use the same unit. Results are calculated with full double-precision arithmetic and shown to ten significant figures. For metric and imperial units, the volume is also converted to litres (1 litre = 1,000 cm³). Real objects have wall thickness, rounded edges and tolerances, so allow a margin when ordering material.
Related calculators
Frequently asked questions
How do you calculate the volume of a torus?
V = 2 × π² × R × r². With major radius (centre of tube to centre of torus) = 8, minor radius (tube radius) = 2 (in cm), it comes to 631.654682 cm³.
How do you calculate the surface area of a torus?
S = 4 × π² × R × r. With major radius (centre of tube to centre of torus) = 8, minor radius (tube radius) = 2 (in cm), it comes to 631.654682 cm².
How do you calculate the outer radius of a torus?
R + r. With major radius (centre of tube to centre of torus) = 8, minor radius (tube radius) = 2 (in cm), it comes to 10 cm.
How do you calculate the inner (hole) radius of a torus?
R − r. With major radius (centre of tube to centre of torus) = 8, minor radius (tube radius) = 2 (in cm), it comes to 6 cm.
How do I get R and r from diameters?
With outer diameter D and inner diameter d: R = (D + d) ÷ 4 and r = (D − d) ÷ 4.
What is an O-ring’s cross-section?
Its cord thickness, which equals 2r.
Which units can I use?
Millimetres, centimetres, metres, inches, feet or yards. Enter every dimension in the same unit; areas come out in square units and volumes in cubic units.
How do I convert the volume to litres?
Litres are shown automatically for metric and imperial units. By hand: cm³ ÷ 1,000, or m³ × 1,000.
Can I enter decimals?
Yes. Use a full stop as the decimal separator, for example 2.75.
Why does it say my inputs are invalid?
The tube radius must be positive and no larger than the major radius.
How precise are the results?
The maths uses double-precision floating point and shows up to ten significant figures, far more than any tape measure.
What happens if I double every dimension?
Lengths double, areas become four times larger and volumes eight times larger.
Is my data stored?
No. The calculation runs in your browser and nothing you type is sent to Docelora.
Does it work on a phone?
Yes. The layout and number keyboard are designed for mobile browsers.
Can I rely on it for building or manufacturing?
The formulas are exact for ideal shapes. For real work, measure carefully and allow for thickness, joints, waste and tolerances.
Can I work backwards from a known result?
Rearrange the formula in the table for the dimension you need, or adjust the inputs until the result matches. For example, a known volume and height give the radius of a cylinder as √(V ÷ (π h)).
Can I copy the results?
Yes. Copy result places the main value and every other measurement on your clipboard.
What is the difference between surface area and volume?
Surface area is the total area of the outside, in square units – what paint or wrapping covers. Volume is the space inside, in cubic units – what the shape holds.
What if my object is not a perfect torus?
Split it into simpler shapes, calculate each one and add (or subtract) the results. For hollow objects, subtract the inside from the outside.
Can I work out the weight of the object?
Multiply the volume by the material’s density. Steel is about 7.85 g/cm³, aluminium about 2.7 g/cm³ and water 1 g/cm³.
How should I measure the dimensions?
Measure at several points and use the average, measure inside dimensions for capacity and outside dimensions for material, and keep one unit throughout.
Last reviewed: 7 November 2026.