What is a toroid?
A toroid is a solid of revolution with a hole: a plane figure, the section, is turned once about an axis that lies in its own plane and does not cut it. On this page the section is symmetric about a line parallel to the axis, at the distance r from it, such as a circle, an ellipse or a rectangle with two sides parallel to the axis; a circle gives a torus. Only the perimeter p and the area B of the section enter the formulas. Any other curve turned about an axis is covered by the solid of revolution calculator.
This calculator finds the volume, the surface area, the surface-to-volume ratio, the perimeter and the area of the section and the length of the path of its centre, 2πr.
How to use it
Enter the distance r from the axis to the section's line of symmetry and two more values: the perimeter p of the section or the surface area A of the toroid, and the area B of the section or the volume V of the toroid. A section with the perimeter p can have at most the area p²/(4π), that of a circle; values that need more are refused. The section must also stay clear of the axis, which the page cannot see from these numbers; it says so when r is less than p/4. The values you enter are shown back rounded like the results, to at most 6 decimal places (their full digits are used in the calculation), and every other measure is solved from them. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes values from 10¹² up as a 12-digit number times a power of ten, such as 1.23456789012 × 10¹², and very small values out in full.
Derivation of the formulas
Turn the section once about the axis. A short piece ds of its boundary at the distance ρ from the axis sweeps a band of area 2πρ ds, and a small piece dB of the section sweeps a ring of volume 2πρ dB. Adding up gives the two theorems of Pappus:
$$A = 2\pi \bar\rho_{p}\, p, \qquad V = 2\pi \bar\rho_{B}\, B$$where the two distances are those of the centre of the boundary and of the centre of the area. Both centres lie on every line of symmetry of the section; for a section that is symmetric about a line parallel to the axis at the distance r, both are r:
$$A = 2\pi r\, p, \qquad V = 2\pi r\, B, \qquad \frac{A}{V} = \frac{p}{B}$$The isoperimetric inequality p² ≥ 4πB holds for every plane figure, with equality only for a circle; the page refuses values that break it, and when the volume and the perimeter you enter give p²r = 2V exactly the section is a circle of radius ρ = p/(2π) and the toroid is a torus with V = 2π²rρ² (refused if ρ is larger than r, since the circle would cross the axis). A section symmetric about its line at the distance r reaches at most p/4 to either side of that line, because the perimeter is at least twice the width; so the section surely stays clear of the axis when r is at least p/4.
Worked example
With the default distance r = 5, section perimeter 8 and section area 3, the surface area is 2π·5·8 = 80π ≈ 251.327412 square units, the volume 2π·5·3 = 30π ≈ 94.24778 cubic units and the ratio A/V = 8/3 ≈ 2.666667 per unit.
FAQ
Which inputs are refused?
Values for which the section would need an area above p²/(4π) (no plane figure has that), a circular section larger than r, a value that is 0, negative, not a number, outside the range or longer than 60 significant digits.
Why must the section be symmetric?
The surface depends on the centre of the boundary and the volume on the centre of the area. For a lopsided section the two lie at different distances from the axis, and one number r cannot give both. A line of symmetry parallel to the axis holds both centres at the same distance r.
Is a torus a toroid?
Yes: a torus is the toroid with a circle as its section. With the tube radius ρ, p = 2πρ and B = πρ², so A = 4π²rρ and V = 2π²rρ².
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits (π to 90 digits, more where it decides the isoperimetric condition); the surface-to-volume ratio p/B, or A/V, is exact when both values are typed. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational is decided exactly if 320 digits still cannot tell its side. A value typed with many digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.
Accuracy and input range
Each value is rounded once to the digits shown, a value exactly halfway being rounded up, from a calculation carried well beyond those digits: 80 significant digits (π to 90 digits, more where it decides the isoperimetric condition); the surface-to-volume ratio p/B, or A/V, is exact when both values are typed. When a value lies very close to the halfway point between two shown values, the page recalculates with 160 and then 320 digits, and a value that can come out rational is decided exactly if 320 digits still cannot tell its side. A value typed with many digits can still lie closer to a halfway point than that, and its last shown digit may then be off by one.
Enter each length from 0.000001 to 1,000,000,000 and an area from 0.000000000001 to 1,000,000,000,000,000,000 and a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range.
References
H. Anton, I. Bivens, S. Davis, Calculus, 10th ed., Wiley, 2012, chapter 6 (centroids, surfaces of revolution and the theorem of Pappus)
G. Pólya, Mathematics and Plausible Reasoning, Vol. 1, Princeton University Press, 1954, chapter 10 (the isoperimetric problem)