A sphere with one axis changed

A spheroid is what you get by spinning an ellipse about one of its axes. Two of its three semi-axes are equal, and the third differs. If the unequal axis is shorter, the shape is flattened like a lentil or a planet, and it is called oblate. If the unequal axis is longer, it looks like a rugby ball or an egg and is called prolate. If all three match, you have a sphere. This page needs just two numbers: a, the semi-axis in the equatorial plane, and c, the semi-axis along the polar direction. It returns the enclosed volume in cubic units of whatever length unit you entered for the two semi-axes.

Spheroid volume as a special ellipsoid

Volume equals 4 pi a² c / 3. It is a special case of the ellipsoid volume 4 pi a b c / 3, with b set equal to a. When a equals c, the expression collapses to the familiar sphere volume, 4 pi r³ / 3. The formula also shows the effect of stretching directly. The volume equals the volume of a sphere of radius a, multiplied by the ratio c/a. If the polar axis is half the equatorial one, the spheroid holds exactly half the volume of the sphere with radius a. A semi-axis is half of the full width, so a body 10 units across the equator has a = 5.

A prolate spheroid taller than it is wide

The page opens with a = 2 and c = 3. This is a prolate spheroid, taller than it is wide. The volume is 4 × pi × 4 × 3 / 3 = 16 pi, which is about 50.2655 cubic units. For comparison, a sphere of radius 2 holds 4 pi × 8 / 3, about 33.51, and the spheroid is larger by the factor c/a = 1.5. Swapping the roles, with a = 3 and c = 2, gives an oblate shape with volume 4 pi × 9 × 2 / 3 = 24 pi, about 75.40. The two shapes share the same two numbers but have different volumes, because a enters the formula squared.

Oblate and prolate examples

An oblate spheroid with a = 5 and c = 3 has a volume of 4 pi × 25 × 3 / 3 = 100 pi, about 314.159. A prolate one with a = 3 and c = 5.5 has a volume of about 207.345, and a = 1.5 with c = 2 gives about 18.850. A rugby ball is roughly prolate, while a squashed bun or a tomato shape is roughly oblate. Real objects are rarely perfect spheroids, but the formula gives a close first estimate for anything that is smoothly round with one distinct axis. An American football, a grain of rice, a lemon and a fried egg yolk are all candidates, with the lemon and the rice prolate and the yolk oblate. For a sample of food or soil that you have measured in three directions, average the two similar ones to get a.

The Earth as an oblate spheroid

Earth spins, and the spin makes it bulge at the equator. The WGS 84 reference ellipsoid used by GPS has an equatorial semi-axis of 6,378.137 kilometers and a polar semi-axis of about 6,356.752 kilometers, a difference of roughly 21.4 kilometers. Entering a = 6378.137 and c = 6356.752 gives a volume of about 1.0832 × 10¹² cubic kilometers, or 1,083,207,266,253 cubic kilometers before rounding. The flattening, which is (a − c) / a, is about 1 in 298.257. That is small, yet the volume is smaller than that of a sphere with the equatorial radius by the ratio c/a, about 0.9966.

Semi-axes versus full widths

The inputs are semi-axes, half the full length of an axis, measured from the center to the surface. A common mistake is to enter the full width across the equator or the full length from pole to pole. That doubles an input, so the volume is eight times too large if both are doubled. Measure the full width, divide by two, and enter the half. For an egg-shaped object, measure the longest length for the polar axis and the widest girth for the equatorial axis, assuming the shape is circular in cross-section. If the cross-section is oval, the shape is a general ellipsoid and this page does not apply.

Surface area is not included

The page returns volume only. The surface area of a spheroid has closed forms that involve a logarithm for the prolate case and an inverse sine for the oblate case, and it depends on the eccentricity of the shape. Those formulas are not part of this calculator, so it makes no claim about surface. If you need to paint, wrap or coat a spheroid, find a surface area formula or approximate the shape with a sphere. For a mild flattening such as the Earth's, a sphere approximation changes the surface area by a small fraction of a percent. For a strongly stretched shape, the approximation is poor.

Turning volume into practical quantities

A volume is only a start. To estimate a mass, multiply by a density in the same unit system. A volume of 50.2655 cubic centimeters of a material at 1.2 grams per cubic centimeter weighs about 60.3 grams. To size a vessel, convert cubic centimeters to liters by dividing by 1,000. Pressure tanks with elliptical ends, oval pond liners and egg-shaped vessels all use similar geometry, though real ones need wall thickness and fittings accounted for. The calculator treats a solid mathematical shape and gives the enclosed volume of that idealized body only.

Two equal equatorial axes and measurement precision

The page assumes finite positive semi-axes with two equal equatorial axes. A result has many digits, but your measurements limit the useful precision. The volume depends on a squared, so a 1 percent error in a produces about a 2 percent error in volume, while the same error in c produces 1 percent. Keep all lengths in one unit. If you check the volume by hand, retain several digits of pi. The calculator does not model irregular shapes, layered materials or a hollow interior, so subtract any inner cavity separately with the same formula. For example, a solid egg-shaped body with a = 2 and c = 3 minus a cavity with a = 1 and c = 2 leaves 16 pi minus 8 pi / 3 or about 41.89 cubic units of material. The cavity must be a spheroid with the same orientation for that subtraction to be exact.