Torus Calculator screenshot

Torus Calculator

Compute a torus's volume and surface area from its two radii, with inner and outer radii and the Pappus cross-check.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Pappus check printed

Torus Calculator

Compute a torus's volume and surface area from its two radii, with inner and outer radii and the Pappus cross-check.

How this page computes

The volume is 2π²Rr² and the surface is 4π²Rr, both evaluated directly. The inner radius is R − r and the outer is R + r.

Pappus's theorem is evaluated separately — tube area times the path of its centre for the volume, tube circumference times the same path for the surface — and the two results are printed together.

The calculation runs entirely in this browser tab; nothing is uploaded.

A torus is a circle of radius r swept around an axis R away. With R = 5 and r = 2 the volume is 2π²Rr² and the surface area is 4π²Rr, and the page prints both with the inner radius 3 and the outer radius 7.

The formulas are checked against Pappus's theorem, which says the volume is the tube's area times the distance its centre travels. The page also notes that V/S equals r/2 exactly, which is a property of every torus and a quick sanity check.

How to use Torus Calculator

Enter the major and minor radii and press Run. Both must be above zero, and the minor radius must be smaller than the major one.

The output gives the volume, the surface area, the inner and outer radii, the tube diameter, the ratio of volume to surface area and the Pappus check.

Why Pappus gives the same formula

Pappus's first theorem says a plane area swept around an external axis produces a volume equal to the area times the distance travelled by its centroid. The tube has area πr² and its centre travels 2πR, so the volume is 2π²Rr².

The second theorem does the same for the boundary: the tube's circumference 2πr travels 2πR, giving a surface of 4π²Rr. Both formulas therefore follow from one idea rather than being separate results.

What to Expect

Best for

  • Volume and surface area of a ring torus
  • The inner and outer radii that follow from R and r
  • Checking the formulas with Pappus's theorem

Not ideal for

  • A spindle torus, where r is at least R and the tube crosses the axis
  • A torus section, which is a different solid
  • A horn torus, where r equals R and the hole closes

What this tool keeps

  • Both radii exactly as typed

What may need cleanup

  • Nothing: the volume and surface are the formulas' values

Common errors

  • A radius at or below zero is refused
  • A minor radius at least as large as the major one is refused with the reason

Example use cases

  • Find the volume of a torus with R 5 and r 2
  • Get the inner and outer radii
  • Check the volume with Pappus's theorem

Sample input

R = 5, r = 2

Sample output

volume 394.7841760436, surface area 394.7841760436, inner radius 3

Who this is for

  • Students meeting solids of revolution
  • Readers checking a torus volume

Frequently asked questions

Why is the inner radius R minus r?

Because the tube's innermost point is one minor radius inside the ring's centre circle. When r reaches R the inner radius is zero and the hole closes, which is why that case is refused.

Why do volume and surface agree in the sample?

Coincidence at R = 5 and r = 2: the ratio V/S is r/2 = 1, so the two numbers are equal. For other radii they differ, and the page prints the ratio.

What is a spindle torus?

One where the minor radius is at least the major radius, so the tube passes through the axis and the surface intersects itself. The printed formulas describe the ring torus only, so that case is refused.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.