What is a toroid sector?
A toroid sector is a piece cut straight out of a toroid by two half-planes through its axis that meet at the angle α; at 360° it is the whole toroid. The toroid is swept by a section, symmetric about a line parallel to the axis at the distance r from it, with the perimeter p and the area B; the two flat faces of the sector are copies of that section. With a circular section it is a torus sector.
This calculator finds the volume, the total surface area, the surface-to-volume ratio, the curved surface, the area of each flat face, the length of the path of the section's centre and the volume of the whole toroid.
How to use it
Enter the angle α in degrees (above 0, at most 360), the distance r from the axis to the section's line of symmetry, and the perimeter p and the area B of the section. A section with the perimeter p can have at most the area p²/(4π), that of a circle; larger areas are refused. The section must stay clear of the axis, which the page cannot see from these numbers; it says so when r is less than p/4. Every measure is solved from the values you enter. 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
Turned once about the axis, a short piece ds of the section's 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; turned only through the angle α, each band and ring is the fraction α/360° of that. Both the centre of the boundary and the centre of the area lie on the section's line of symmetry, at the distance r, so the theorems of Pappus give
$$L = \frac{\alpha}{360^\circ}\, 2\pi r\, p, \qquad V = \frac{\alpha}{360^\circ}\, 2\pi r\, B$$The two flat end faces are copies of the section, so the total surface is A = L + 2B. At α = 360° the ends meet and disappear: the sector is the whole toroid, A = L and A/V = p/B. The page refuses values with B above p²/(4π) (no plane figure has them); the section surely stays clear of the axis when r is at least p/4, because a section symmetric about its line reaches at most p/4 to either side of it.
Worked example
With the default angle 120°, distance r = 5, section perimeter 8 and section area 3, the curved surface is 83.775804 square units, the two flat faces add 2·3 = 6, so the total surface is 89.775804; the volume is 10π ≈ 31.415927 cubic units, a third of the whole toroid's 94.24778.
FAQ
Which inputs are refused?
An angle of 0 or above 360 degrees, a section area above p²/(4π), a value that is 0, negative, not a number, outside the range or longer than 60 significant digits.
Why are the flat faces not counted at 360°?
At a full turn the two cut faces meet each other: the sector closes into the whole toroid, which has no flat faces.
Does the shape of the section matter?
Only through its perimeter and area, as long as it is symmetric about a line parallel to the axis and stays clear of the axis.
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 face area is the typed B, and the surface-to-volume ratio of the whole toroid (360 degrees) is the exact p/B. 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 face area is the typed B, and the surface-to-volume ratio of the whole toroid (360 degrees) is the exact p/B. 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 the angle from 0.000001 to 360 degrees. 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)