What is an elliptic cone?
An elliptic cone (here: a right elliptic cone) has an ellipse with the semi-axes a and b as its base and its apex at the height h straight above the centre of that ellipse; the side is made of the straight lines from the apex to the rim. With a equal to b it is the ordinary right circular cone.
This calculator finds the volume, the total surface area, the surface-to-volume ratio, the lateral (side) area, the perimeter of the base ellipse and the base area.
How to use it
Enter the two semi-axes a and b of the base ellipse and the height h. The semi-axes may be entered in either order; the numbers are the same. Every measure is solved from the values you enter. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes values from 10¹² up as a 12-digit number times a power of ten, such as 1.23456789012 × 10¹², and very small values out in full.
Derivation of the formulas
A cut at the height z is the base ellipse scaled by 1 − z/h, with the area πab(1 − z/h)², so
$$V = \int_0^h \pi a b \left(1 - \frac{z}{h}\right)^2 dz = \frac{\pi a b h}{3}$$Put the centre of the base at the origin and the apex at (0, 0, h). Every point of the side is (1 − s)(a cos t, b sin t, 0) + s(0, 0, h) with s from 0 to 1 and t from 0 to 2π. The area element of this surface is (1 − s)√(a²b² + h²(a² sin² t + b² cos² t)) ds dt, and integrating s from 0 to 1 gives the factor 1/2. Writing a²b² as a²b²(sin² t + cos² t),
$$A_{side} = \frac{1}{2} \int_0^{2\pi} \sqrt{a^2 (b^2 + h^2) \sin^2 t + b^2 (a^2 + h^2) \cos^2 t} \, dt$$The integral is the perimeter of the ellipse with the semi-axes a√(b² + h²) and b√(a² + h²), so the side area is half that perimeter. With a equal to b both semi-axes are a√(a² + h²) and the side area is πa√(a² + h²), the familiar πrs of the circular cone with slant s.
Both perimeters, of the base and of the auxiliary ellipse, are complete elliptic integrals of the second kind.
The page evaluates this integral with the arithmetic-geometric mean of Gauss. Start from a₀ = a, b₀ = b (a the longer semi-axis) and c₀² = a² − b², and repeat an+1 = (an + bn)/2, bn+1 = √(anbn), cn+1 = cn²/(4an+1). The two means meet at M(a, b) and the cn shrink so fast that each step roughly doubles the number of correct digits (even a base a thousand million times longer than wide needs only about a dozen steps); then
$$P = \frac{2\pi}{M(a, b)} \left( a^2 - \sum_{n \ge 0} 2^{n-1} c_n^2 \right)$$No approximation formula (such as Ramanujan's) is used. When the page was built, this sum was compared on eighteen ellipses, from a circle to a base a thousand million times longer than wide, with Carlson's symmetric elliptic integrals and with a direct numerical integration, and the three agreed to more than 80 significant digits.
The side-area formula itself was also checked, on the page's test cases of ordinary proportions, against a fan of 100,000 flat triangles from the apex to the rim; they agreed to within 1 part in 10 million.
The surface is the side plus the base, A = Aside + πab. With a equal to b the surface-to-volume ratio is 3(√(a² + h²) + a)/(ah), which the page gives as an exact quotient whenever √(a² + h²) is a terminating decimal.
Worked example
With the default semi-axes 5 and 3 and height 8 the volume is about 125.663706 cubic units, the side area about 112.713457 and the total surface area about 159.837347 square units; the base ellipse has the perimeter 25.526999.
FAQ
Which inputs are refused?
A semi-axis or height that is 0 or negative, text that is not a number and values outside the range. Every pair of semi-axes in the range is answered, in either order.
Why is the side area not π times a mean radius times a slant height?
The side of an elliptic cone has no single slant height: the distance from the apex to the rim changes around the base. Its exact area is half the perimeter of the auxiliary ellipse shown in the derivation.
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
Accuracy and input range
The page computes every result from the values you enter: the surface-to-volume ratio exactly when a equals b and √(a² + h²) is a terminating decimal; the other results with π and the values you enter to at least 80 significant digits, the ellipse perimeters by the arithmetic-geometric mean iteration with 20 extra digits, stopped once its next correction is smaller than 10⁻¹⁰⁰ of the result. Each value is rounded once, half up, to the digits shown; when a value lies within 10⁻⁷⁵ of a rounding boundary (relative to its size) the page repeats the calculation with 160 and then 320 digits first, so every digit shown is correct unless a result lies within about 10⁻³¹⁵ of such a boundary.
Enter each length from 0.000001 to 1,000,000,000. Anything outside is refused with a message naming the range.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018, ch. 4 (solids of revolution, spherical and conical solids)
P. F. Byrd, M. D. Friedman, Handbook of Elliptic Integrals for Engineers and Scientists, 2nd ed., Springer, 1971 (the complete elliptic integral of the second kind)