Triaxly

Ellipsoid Calculator

Volume, exact surface area (Legendre elliptic integrals), eccentricities, cross-section perimeters and mass for any ellipsoid with semi-axes a, b, c – with a live 3D drawing.

x²/a² + y²/b² + z²/c² = 1
Mode
Semi-axes
Units & precision
Material (optional)
Examples
Triaxial
abc
Copies a plain-text summary to the clipboard.

What is an ellipsoid?

An ellipsoid is the closed surface you get by stretching a sphere independently along three perpendicular directions. Centred at the origin and aligned with the coordinate axes, it is the set of points that satisfy

x2a2+y2b2+z2c2=1

where a,b,c>0 are the semi-axes: the distances from the centre to the surface along x, y and z. A convenient parametric form uses a “latitude” u and a “longitude” v:

x=acos⁡ucos⁡vy=bcos⁡usin⁡vz=csin⁡u,−π2≤u≤π2,0≤v<2π

The ellipsoid is a quadric surface. Every plane section through it is an ellipse (or a circle), and the three sections through the coordinate planes are called the principal cross-sections. Because the ellipsoid is an affine image of the unit sphere, its volume is the sphere's volume multiplied by abc, while its surface area has no elementary formula.

Types of ellipsoids

TypeSemi-axesDescriptionExamples
Spherea = b = cAll axes equal; every section is a circle.Ball bearing, idealised planet
Oblate spheroida = b > cFlattened along the short axis; rotation of an ellipse about its minor axis.Earth, Saturn, a lentil
Prolate spheroida > b = cElongated along the long axis; rotation of an ellipse about its major axis.Rugby ball, grain of rice
Scalene (triaxial)a > b > cThree different axes; not a surface of revolution.Pebbles, some asteroids, Jacobi ellipsoids

The calculator recognises the type automatically (equal axes are detected with a relative tolerance of 10⁻¹²) and picks the best formula for each case.

Formulas explained

Volume

V=43πabc

For a sphere with a=b=c=r this becomes the familiar 43πr3.

Surface area – general (triaxial) ellipsoid

Sort the semi-axes so that a≥b≥c. Then the exact area is

S=2πc2+2πabsin⁡φ(E(φ,k)sin2φ+F(φ,k)cos2φ)cos⁡φ=ca,k2=a2(b2−c2)b2(a2−c2),a≥b≥c

with Legendre's incomplete elliptic integrals of the first and second kind

F(φ,k)=∫0φdθ1−k2sin2θ,E(φ,k)=∫0φ1−k2sin2θdθ

Triaxly evaluates F and E numerically with Carlson's symmetric integrals RF and RD (the duplication algorithm), which converges quickly and is accurate to roughly machine precision. The result is cross-checked in our tests against direct numerical integration of the surface element.

Spheroids and the sphere – closed forms

Soblate=2πa2(1+1−e2eartanh⁡e),e2=1−c2a2(a=b>c)Sprolate=2πc2(1+acearcsin⁡e),e2=1−c2a2(a>b=c)Ssphere=4πr2,Vsphere=43πr3

Here e is the eccentricity of the generating ellipse (the meridian section). As e→0 both spheroid formulas tend to 4πa2.

Knud Thomsen approximation

S≈4π(apbp+apcp+bpcp3)1/p,p≈1.6075

A simple symmetric formula that is exact for spheres and stays within about 1.061 % for any ellipsoid. It is shown next to the exact value for comparison.

Cross-section perimeters – Ramanujan II

P≈π(a+b)(1+3h10+4−3h),h=(a−b)2(a+b)2

Each principal cross-section is an ellipse with two of the semi-axes; its area is πab. Ramanujan's second approximation gives the perimeter with an error far below what measurements can detect.

Eccentricity, flattening, mass, missing axis and sphericity

e=1−q2p2,f=a−cam=ρV,c=3V4πab,Ψ=π1/3(6V)2/3S

For a section with semi-axes p≥q the eccentricity is e; 0 means a circle and values near 1 mean a very elongated ellipse. Flattening f uses the largest and smallest semi-axes. Mass is density times volume, the missing axis follows from the volume formula, and sphericity Ψ compares the area of the equal-volume sphere with the ellipsoid's area (1 for a sphere).

Worked example: a = 3 cm, b = 2 cm, c = 1 cm

  1. Volume: V = 4/3 · π · 3 · 2 · 1 = 8π ≈ 25.132741 cm³.
  2. Angle and modulus: cos φ = c/a = 1/3, so φ ≈ 1.2309594 rad (70.5288°); k² = 9 · (4 − 1) / (4 · (9 − 1)) = 27/32, so k ≈ 0.9185587.
  3. Elliptic integrals: F(φ, k) ≈ 1.5801236 and E(φ, k) ≈ 1.0010014.
  4. Surface area: S = 2π · 1² + (2π · 6 / 0.9428090) · (1.0010014 · 8/9 + 1.5801236 · 1/9) ≈ 6.2831853 + 39.985941 · 1.0653484 ≈ 48.882146 cm².
  5. Thomsen check: S ≈ 48.971933 cm², about 0.18 % high.
  6. Cross-sections: the xy ellipse (3 × 2) has perimeter ≈ 15.865440 cm and area 6π ≈ 18.849556 cm².
  7. Mass: with water's density of 1 g/cm³ the solid ellipsoid weighs ≈ 25.13 g.

The ellipsoid is triaxial. Its eccentricities are eab ≈ 0.745356, eac ≈ 0.942809 and ebc ≈ 0.866025. Click the “Triaxial 3·2·1” example to reproduce every number above.

Interesting facts

The Earth is an oblate spheroid

The WGS 84 reference ellipsoid used by GPS has an equatorial semi-axis a = 6,378,137 m and flattening f = 1/298.257223563, giving a polar semi-axis of about 6,356,752.3 m – roughly 21.4 km shorter. Its surface area is about 510,065,622 km²; try the “Earth WGS 84” preset.

Newton predicted the flattening

In the Principia (1687) Isaac Newton argued that a rotating, self-gravitating Earth should bulge at the equator. French geodetic expeditions to Lapland (1736–37) and Peru (1735–44) measured meridian arcs and confirmed the flattening.

Planets bulge too

Every rotating planet is somewhat oblate. Saturn is the flattest planet in the Solar System, with a flattening of about 0.098, and Jupiter's is about 0.065 – both visibly squashed in telescope images.

Kepler's ellipses

Johannes Kepler showed in 1609 that planetary orbits are ellipses with the Sun at one focus. Every plane section through an ellipsoid is an ellipse, so the same curve appears in both orbits and ellipsoid cross-sections.

Rugby balls and eggs

A rugby ball or an American football is close to a prolate spheroid, although real balls have more pointed ends. Bird eggs are not true ellipsoids – they are asymmetric ovoids – but a prolate spheroid is a common first approximation for volume estimates.

Whispering galleries

In an ellipsoidal or elliptical room, sound leaving one focus reflects off the walls and gathers at the other focus, so a whisper can be heard clearly across the room. Statuary Hall in the United States Capitol is a well-known example.

Shock-wave lithotripsy

Extracorporeal shock-wave lithotripsy, introduced clinically in 1980, uses an ellipsoidal reflector: shock waves created at one focus converge at the second focus, where the kidney stone is positioned, breaking it up without surgery.

Elliptic integrals and Legendre

Adrien-Marie Legendre classified elliptic integrals into the three standard kinds and published his Traité des fonctions elliptiques (1825–1828). The incomplete integrals F(φ, k) and E(φ, k) used here are written in his ‘Legendre form’, and the ellipsoid surface formula is usually credited to him.

Frequently asked questions

Why is there no simple formula for the surface area of an ellipsoid?

The volume is easy because an ellipsoid is a sphere stretched by a, b and c, so volumes scale by the product abc. Areas do not scale that simply under stretching, and for a triaxial ellipsoid the integral for the area cannot be expressed with elementary functions. It needs incomplete elliptic integrals of the first and second kind, which this calculator evaluates numerically to about 15 significant digits.

How accurate is the Knud Thomsen approximation?

With p ≈ 1.6075 the formula is exact for a sphere and its relative error is at most about 1.061 %, reached for very flat or very elongated shapes. For near-spherical bodies such as the Earth the error is below one part in a million. The calculator shows the exact value and the approximation side by side with the percentage difference.

Does the order of a, b and c matter?

No. Volume, surface area and the type do not depend on the order. Internally the semi-axes are sorted so that a ≥ b ≥ c before the Legendre formula is applied. Cross-sections are reported for the axis pairs as you entered them (xy uses a and b, xz uses a and c, yz uses b and c).

What is the difference between an oblate and a prolate spheroid?

Both have two equal semi-axes. An oblate spheroid has the two larger axes equal and is flattened at the poles, like the Earth or a lentil. A prolate spheroid has the two smaller axes equal and is elongated, like a rugby ball. If all three axes differ, the ellipsoid is called scalene or triaxial.

Is the cross-section perimeter exact?

The perimeter of an ellipse also needs a complete elliptic integral. The calculator uses Ramanujan's second approximation, whose error is tiny: about 3 parts in 100 million for a 3 : 1 ellipse and below 0.05 % even in the extreme case of a completely flat ellipse. That is more than enough for engineering and teaching.

Which units can I use?

Enter the semi-axes in millimetres, centimetres, metres, kilometres, inches or feet and choose the output unit separately. The results table also lists volume and area in every unit, plus litres and US gallons. Density can be given in kg/m³, g/cm³ or lb/ft³ to get the mass.

How do I find a missing semi-axis?

Switch the mode to 'Solve missing axis from volume', choose which axis is unknown, enter the volume (in the cube of the input unit) and the two known semi-axes. The calculator uses c = 3V / (4πab) and then computes every other property of the resulting ellipsoid.