The shape and the two radii
A torus is a tube bent into a closed ring. Think of a donut, a bicycle inner tube, an O-ring or a swim ring. Two numbers describe it. The major radius R is the distance from the center of the whole ring to the center line of the tube. The tube radius r is the radius of the circular cross-section of the tube. The page models a ring torus, where the hole stays open, so it needs R greater than r. It returns the volume of the solid and the area of its outer surface. Both results use the unit of the radii, squared for area and cubed for volume.
The formulas and where they come from
Volume is 2 pi² × R × r², and surface area is 4 pi² × R × r. Both follow from the theorems of Pappus. The volume of a solid of revolution equals the area of the shape being revolved times the distance its center travels. The cross-section is a circle of area pi r², and its center travels a circle of length 2 pi R, so the volume is pi r² × 2 pi R. The surface area works the same way, with the tube circumference 2 pi r in place of the area, giving 2 pi r × 2 pi R. Each formula is a product of the tube measure and the ring length.
A torus with major radius 3, minor radius 1
The page begins with R = 3 and r = 1. The volume is 2 × pi² × 3 × 1 = 6 pi², which is about 59.2176 cubic units. The surface area is 4 × pi² × 3 × 1 = 12 pi², about 118.4353 square units. The ratio of surface to volume is exactly 2 / r for every torus, which is 2 here because r is 1, and it shows that thin tubes carry far more surface per unit of volume than thick ones. The outer edge of the ring reaches R + r = 4 from the center, and the hole has a radius of R − r = 2. Those two sums are useful for checking that your inputs match the physical object you are describing.
A donut, an inner tube and an O-ring
A donut with R = 4 and r = 1.5 has a volume of 2 pi² × 4 × 2.25, about 177.653, and a surface area of 4 pi² × 4 × 1.5, about 236.871. A tire inner tube with R = 15 and r = 4, in centimeters, has a volume of about 4,737.41 cubic centimeters and a surface of about 2,368.71 square centimeters. A small O-ring with R = 0.5 and r = 0.1 has a volume of about 0.0987 and a surface of about 1.9739. Because the volume depends on r squared, doubling the tube radius quadruples the volume, while doubling R only doubles it. The surface area grows in proportion to each radius, so doubling either one doubles the surface. Comparing a fat short-radius ring with a thin wide one that has the same volume therefore shows very different amounts of skin, which matters for coatings and heat loss.
Converting from catalog dimensions
Rings are usually specified by outer or inner diameter and cross-section diameter, not by R and r. For an O-ring with an inside diameter of 20 mm and a cross-section of 2 mm, the tube radius is r = 1 mm, and R is the inner radius plus r, so R = 10 + 1 = 11 mm. Entering R = 11 and r = 1 gives a volume of about 217.13 cubic millimeters and a surface of about 434.26 square millimeters. From an outer diameter, R = (outer diameter − tube diameter) / 2. Always compute R to the tube center line, since using the inner or outer radius shifts the result.
Outer radius is not the major radius
The most frequent mistake is to enter the outer radius of the whole ring as R. The outer radius equals R + r, so entering it overstates R and, with it, both results. For a ring with an outer radius of 4 and a tube radius of 1, the correct major radius is 3. Entering 4 would give a volume of about 78.96 against the true 59.22, an overstatement of a third. Draw a quick sketch, mark the center line of the tube, and measure from the center of the hole to that line. If you know the hole radius instead, add r to it.
Using the volume and area
A volume turns into material needs once you choose a density or a fill. A rubber O-ring of 217.13 cubic millimeters holds just over 0.2 cubic centimeters of rubber. A rubber ring float or a hollow tube holds the same volume of air when inflated. The surface area is the amount of skin, coating or glaze needed to cover the outside. Both numbers refer to the ideal smooth shape. A real donut has a flattened bottom and a real tire tube stretches when inflated, so the results are first estimates. Apply a separate allowance for seams, valves or wall thickness. For a hollow ring, the volume of the wall is the outer torus minus an inner torus with a smaller tube radius, and the same formula handles both. With R = 3, an outer tube radius of 1 and an inner one of 0.8, the wall volume is about 59.22 minus 37.90, or 21.31 cubic units.
Other torus shapes the page excludes
When R equals r, the hole closes to a point and the shape is called a horn torus. When R is less than r, the surface passes through itself and the shape is a spindle torus. The page requires a ring torus with R greater than r, and the formulas given here do not describe the other two cases in the same way. If your R is only slightly larger than r, the hole is tiny, and a small measurement error can flip the relation. A torus also differs from a cylinder bent into a ring with flat ends or a square cross-section, which has different formulas.
Why the major radius must exceed the minor
The calculator needs finite positive radii and R greater than r. The results have many digits, but the volume scales with r squared and the surface with r, so tube measurements matter most. Measure the tube radius carefully and keep both lengths in one unit. If you check by hand, keep several digits of pi, since pi squared is about 9.8696. The page reports geometry only and does not provide any structural, pressure or sealing advice for a part such as an O-ring. For engineering use, rely on the part specification.