🧮
🧮 Math & statistics

Ellipsoid & Capsule Volume Calculator

Results update as you type.

Your numbers

Understanding the ellipsoid and capsule volume calculator — concept and principle

An ellipsoid is a stretched or squashed sphere with three perpendicular semi-axes a, b and c, the distances from the centre to the surface along each axis. Eggs, rugby balls, fruits and organs are often approximated this way. A capsule (spherocylinder) is a cylinder capped by two hemispheres, like a pill or a gas cylinder. Both volumes come from the same three inputs.

Ellipsoid with semi-axes 3, 2, 4 and a capsule of radius 3 with a middle of 4The ellipsoid is a ball stretched to semi-axes 3, 2 and 4, so its volume is 4/3·π·3·2·4 = 32π ≈ 100.53. The capsule splits into a 4-long cylinder (π·9·4 = 36π) and two half-balls that make one ball of radius 3 (36π): 72π ≈ 226.19.A stretched ball and a pillc = 4a = 3b = 2ball: ⁴⁄₃π·r·r·rellipsoid: ⁴⁄₃π·a·b·c⁴⁄₃π·3·2·4 = 32π≈ 100.53Capsule r = 3, middle 4: two caps = one ball++4½½=3ball ⁴⁄₃π·27 = 36π + tube π·9·4 = 36πcapsule = 72π ≈ 226.19
Ellipsoid: replace r³ with a·b·c. Capsule: one ball plus one cylinder.

How it is calculated

For the capsule, the input b is ignored. The total length of the capsule is c + 2a. Use one length unit; volumes are in cubic units.

The principle

A sphere of radius 1 has volume 4π/3. Stretching it by a factor a along x, b along y and c along z turns it into the ellipsoid x²/a² + y²/b² + z²/c² = 1. Stretching a solid along one direction multiplies its volume by that factor, so the three stretches multiply the volume by abc. When a = b = c = r, the formula returns to the sphere, 4πr³/3.

The capsule is simply the sum of two familiar parts: a cylinder of volume πa²c and two hemispheres that together form one full sphere of radius a.

Unlike the volume, the surface area of a general ellipsoid has no formula in elementary functions; it needs elliptic integrals or a numerical approximation, which is why only volume is shown.

Worked example

  1. Inputs: a = 3, b = 2, c = 4.
  2. Ellipsoid: (4/3)π × 3 × 2 × 4 = 32π ≈ 100.5309649.
  3. Capsule cylinder part: π × 3² × 4 = 36π ≈ 113.097.
  4. Capsule end caps (one full sphere): (4/3)π × 3³ = 36π ≈ 113.097.
  5. Capsule total: 72π ≈ 226.1946711, for a capsule 4 + 2 × 3 = 10 long and 6 wide.
How Ellipsoid volume changes with Semi-axis a / capsule radiusHow Ellipsoid volume changes with Semi-a…0501001502002500.751.52.2533.754.56Example: 100.5309649Semi-axis a / capsule radius
Each point is the calculator re-run with only “Semi-axis a / capsule radius” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Semi-axis a / capsule radiusEllipsoid volume
0.7525.13274123
1.550.26548246
2.2575.39822369
3100.5309649
3.75125.6637061
4.5150.7964474
6201.0619298

How to read the result

An ellipsoid fills π/6 ≈ 52.4% of the box 2a × 2b × 2c that encloses it, the same share as a sphere in a cube. The example box is 6 × 4 × 8 = 192, and 100.53 ÷ 192 ≈ 0.524. For a capsule, the rounded ends hold a large share of the volume when the straight section is short. If the units are centimetres, divide cm³ by 1,000 to get litres.

Common mistakes

Keep in mind: These are ideal geometric shapes. Real tanks and vessels have wall thickness and heads that may be ellipsoidal or torispherical rather than hemispherical, so use manufacturer data or applicable design codes for engineering work.

Frequently asked questions

How do I estimate the volume of an egg or a fruit?

Measure length, width and depth, halve each to get a, b and c, and apply (4/3)πabc. Treat it as an approximation.

What is a spheroid?

An ellipsoid with two equal semi-axes. With a = b it is a spheroid of revolution, flattened (oblate) when c is smaller and elongated (prolate) when c is larger.

Why is there no surface area output for the ellipsoid?

Except for spheroids, its surface area requires elliptic integrals. Approximations exist, but they are not exact.

Sources: D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, CRC Press · NIST Digital Library of Mathematical Functions, chapter 19 (elliptic integrals)

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →