Math calculator

Torus and Ellipsoid Calculator

One has exact formulas. The other does not.

One is exact, the other is not

And the page says which.

R = 3, r = 1

59.217626

Volume, exactly 2π²Rr². The surface area is 118.435253, also exact — both come from Pappus’ centroid theorem rather than from any integration.

Volume

59.217626

2π²Rr² — exact

Surface area

118.435253

4π²Rr — also exact

Outer radius

4

R + r

Inner radius

2

R − r, the hole

  • Both formulas come from Pappus’ centroid theorem: the volume is the tube’s cross-sectional area times the distance its centroid travels, and the surface area is the tube’s circumference times that same distance.
  • So the volume is πr² × 2πR — a cylinder of length 18.849556, bent into a ring. Bending it changes nothing, because the inside is compressed exactly as much as the outside is stretched.
  • That is a genuinely surprising result, and it is why a doughnut’s volume needs no calculus once you know where the centroid is.

Both torus figures are exact — verified here against direct numerical integration.

What this tool shows

A torus is exact both ways, from Pappus’ centroid theorem. An ellipsoid has an exact volume and no elementary formula at all for its surface area — so that figure is an approximation, and this page says how far off it can be.

  • Torus volume and surface area, both exact
  • Pappus’ centroid theorem, and why it works
  • Ellipsoid volume, exactly
  • Ellipsoid surface area, and why it has no formula
  • The size of the approximation error
  • When a torus stops being a ring
Torus and ellipsoid Pappus gives exact Error bound stated Verified by integration

Exact figures and approximate ones are labelled separately.

Updated 7 September 2026 · Works in any browser, no installation

A torus is exact; an ellipsoid is only half exact. Torus volume is 2π²Rr² and surface area 4π²Rr, both from Pappus. An ellipsoid’s volume is exactly (4/3)πabc, but its surface area has no elementary formula and can only be approximated.

At a glance

Formula shown
Torus: V = 2π²Rr² and A = 4π²Rr, both exact from Pappus. Ellipsoid: V = (4/3)πabc exactly, and the surface area has no elementary closed form — Knud Thomsen’s approximation is accurate to about 1.06% worst case.
Scenario support
Sizing an O-ring or a doughnut-shaped tank; estimating the volume of an egg or a rugby ball; a solid geometry exercise on curved bodies.
Educational estimate
Planning support from the values you enter — not professional advice.

Pappus and the doughnut

Both torus formulas come from one theorem, and it needs no calculus at all.

Pappus’ centroid theorem: spin a shape around an axis it does not cross, and the solid’s volume is the shape’s area times the distance its centroid travels.

For a torus, the shape is a circle of area πr² and its centroid travels 2πR. Multiply: 2π²Rr². That is the whole derivation.

The surface version is the same idea with the perimeter: 2πr times 2πR gives 4π²Rr.

What is genuinely surprising is that bending changes nothing. A torus has exactly the volume of a straight cylinder of length 2πR — the inside of the ring is compressed exactly as much as the outside is stretched, and the two cancel precisely.

The ellipsoid’s easy half

V = (4/3)πabc. Exact, and a clean generalisation of the sphere formula with the three semi-axes in place of r³.

It works for the same reason the ellipse area does: an ellipsoid is a sphere stretched by independent factors along three perpendicular directions, and stretching multiplies volume by the product of those factors.

Setting all three equal recovers (4/3)πr³ exactly, which is a good check on any implementation and one this page’s suite makes.

Two special cases have names. An oblate spheroid is squashed at the poles — the Earth is one. A prolate spheroid is stretched along one axis — a rugby ball.

The approximation

The surface area is a different matter entirely, and it is worth being blunt about it.

A general ellipsoid’s surface area has no elementary closed form. It needs elliptic integrals, exactly as an ellipse’s perimeter does — the same obstruction, one dimension up.

So every formula quoted for it is an approximation. The usual one is Knud Thomsen’s, and this page uses it.

Its worst-case relative error is about 1.06%. That is far larger than people expect from a formula printed without qualification, and it is why this page states it rather than presenting the number as a value.

Worth knowing about the formula itself: the exponent 1.6075 is not derived from anything. It was chosen empirically to minimise the worst-case error. That is a reasonable thing to do and a useful thing to know before relying on the result.

The special cases are exact. A sphere, and a spheroid with two equal axes, both have closed forms — it is only the general three-different-axes case that does not.

When the hole closes

A torus stops being a ring when the tube gets too fat, and the formulas stop describing it.

While r < R it is a ring torus — a doughnut with a hole. At r = R the hole closes to a point (a horn torus), and beyond that the tube passes through itself (a spindle torus).

The Pappus formulas assume the generating circle does not cross the axis, which is exactly the r < R condition. Past it, the volume formula double-counts the overlapping region and returns something that is not the volume of anything.

This page refuses r ≥ R with that reason, rather than returning a number that looks fine.

Where they get used

Seals and gaskets. An O-ring is a torus, and its volume determines the material and its compression behaviour.

Physics. Tokamak fusion reactors are toroidal, because a ring has no ends for the plasma to escape from.

Geodesy. The Earth is an oblate spheroid, flattened by about a part in 300. Every map projection and GPS calculation is built on that ellipsoid rather than on a sphere.

Biology and food. Eggs, seeds, cells and fruit are approximately ellipsoidal, and volume estimates from three measured axes are standard practice — with the surface area, as ever, being the harder half.

Sources and methodology

Pappus’ theorem and the ellipsoid approximation are standard; these are the references.

Method. The torus figures come from Pappus’ centroid theorem and are exact; the suite verifies them against direct numerical integration of annular cross-sections. The ellipsoid volume is exact and its surface area is not: it uses Knud Thomsen’s approximation, which is labelled as such and carries a stated worst-case error of about 1.06%. That claim is verified rather than repeated — the suite integrates the actual surface and confirms an oblate case lands at 1.01%, right against the bound, and a sphere at zero. That engine is verified on every change against 96 hand-written assertions, including that torus volumes match direct integration, and that Thomsen’s approximation stays inside its stated 1.06% bound on every ellipsoid tested — checked against numerical surface integration rather than taken on trust. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

SphereVolume, surface area, hemisphere figures and the surface-to-volume ratio — the one number that explains why cells are small and why crushed ice cools faster.
EllipseArea, perimeter, foci and eccentricity — with the perimeter approximation's error reported, because an ellipse perimeter has no exact elementary formula at all.
CylinderVolume with lateral and total surface area reported separately, because a pipe needs one and a sealed tin needs the other — plus the shape that uses the least material.
ConeVolume, slant height and both surface areas — with the vertical and slant heights kept strictly apart, because the two formulas want different ones and swapping them fails silently.
CircleRadius, diameter, circumference and area from any one of them — and why a 16-inch pizza is four times an 8-inch one rather than twice.
PrismVolume and both surface areas for rectangular, triangular and trapezoidal prisms — with the triangular base solved from three measured side lengths, no perpendicular height needed.

More in Math, or browse all calculators.

Read the guide

The two-dimensional version of the same missing formula — an ellipse’s perimeter — is on the Ellipse Calculator.

Educational use disclaimer

This is an educational tool. The torus figures and the ellipsoid volume are exact; the ellipsoid surface area is an approximation with a stated error bound.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the torus and ellipsoid page on one route because they contrast: a torus has exact closed forms for both volume and surface area from Pappus' centroid theorem, and an ellipsoid has an exact volume and no elementary formula at all for its surface area.
  2. Labels Knud Thomsen's surface-area figure as the approximation it is and states its worst-case error of about 1.06% — and the suite verifies that bound by integrating the actual surface rather than repeating the claim.
  3. Refuses a tube radius at or above the ring radius, since past that point the torus self-intersects and the Pappus formulas double-count the overlap rather than describing the solid.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.