Ellipse Area Calculator
Enter the semi-major axis a and semi-minor axis b to get the area (A = πab), an accurate Ramanujan perimeter, eccentricity, focal distance, and latus rectum. Switch to full-diameters mode if that is what you have measured, or use reverse-solve to find a missing axis from a known area.
Formula
Worked example
For a = 6 cm and b = 4 cm: Area = pi * 6 * 4 = 24 pi ≈ 75.40 cm^2. h = (6-4)^2/(6+4)^2 = 4/100 = 0.04, so P ≈ pi * 10 * (1 + 0.12 / (10 + sqrt(3.88))) ≈ 31.74 cm. Eccentricity e = sqrt(1 - 16/36) ≈ 0.745. Focal distance c = sqrt(36-16) = sqrt(20) ≈ 4.47 cm. Latus rectum = 2*16/6 ≈ 5.33 cm.
How the ellipse area formula works
An ellipse is what you get when you stretch a circle along one axis. A circle of radius r has area pi*r^2, which you can also write as pi*r*r. An ellipse replaces one r with the semi-major axis a (half the longest diameter) and the other with the semi-minor axis b (half the shortest), giving A = pi*a*b. This formula is exact, not an approximation, and it collapses neatly to the circle formula whenever a and b are equal. If you measured the full diameters instead of the half-lengths, just divide each by two before entering them, or switch to full-diameters mode above. The reverse-solve mode works backward: enter the area and one known semi-axis, and the calculator finds the missing axis using b = A / (pi * a).
Perimeter: why Ramanujan is needed
The perimeter of an ellipse has no simple closed form. The exact value is an elliptic integral of the second kind, which cannot be expressed in elementary functions. The best practical approximation for everyday use is Ramanujan's second formula: P ≈ pi*(a+b)*(1 + 3h / (10 + sqrt(4-3h))), where h = (a-b)^2 / (a+b)^2. For nearly every shape from a gentle oval to a quite elongated ellipse, the error is smaller than one part in a million. When a equals b, h is zero, and the formula simplifies correctly to 2*pi*r for a circle.
Eccentricity, foci, and latus rectum
Eccentricity e = sqrt(1 - b^2/a^2) measures how far from circular an ellipse is. At e = 0, it is a perfect circle. As e approaches 1 the ellipse flattens toward a straight line. The focal distance c = sqrt(a^2 - b^2) gives the distance from the centre to each focus along the major axis; the two foci sit at (-c, 0) and (c, 0) when the major axis is horizontal. The defining property of an ellipse is that for every point on the curve, the sum of distances to both foci equals 2a. The latus rectum, 2b^2/a, is the chord drawn through a focus perpendicular to the major axis: it tells you the "width" of the ellipse at the focus, which is useful in optics, orbital mechanics, and engineering.
Real-world applications
Ellipses appear constantly in science and everyday life. Planetary orbits are ellipses with the Sun at one focus (Kepler's first law). Whispering galleries and elliptical mirrors work because sound or light leaving one focus reflects perfectly to the other. Oval running tracks, elliptical windows, racetrack ovals, and many satellite dishes are all based on ellipse geometry. In structural engineering, elliptical arches distribute loads efficiently. The area formula and focal properties give you the numbers you need for any of these calculations.
Ellipse reference: common shapes
| Shape | a | b | Area | Perimeter | e | Latus rectum |
|---|---|---|---|---|---|---|
| Circle | 5 | 5 | 78.54 | 31.42 | 0.000 | 10.00 |
| Slight oval | 6 | 5 | 94.25 | 34.66 | 0.553 | 8.33 |
| Standard oval | 6 | 4 | 75.40 | 31.74 | 0.745 | 5.33 |
| Track-shaped | 10 | 5 | 157.08 | 48.44 | 0.866 | 5.00 |
| Elongated | 8 | 3 | 75.40 | 36.30 | 0.927 | 2.25 |
| Very flat | 10 | 2 | 62.83 | 38.99 | 0.980 | 0.80 |
Area uses A = pi*a*b; perimeter uses the Ramanujan approximation; eccentricity e = sqrt(1-b^2/a^2).
Frequently asked questions
What are the semi-major and semi-minor axes?
The semi-major axis a is half of the ellipse's longest diameter, measured from the centre to the farthest point on the curve. The semi-minor axis b is half of the shortest diameter, from the centre to the nearest point. If you only know the full diameters, divide each by two, or switch to full-diameters mode above.
Can I enter full diameters instead of semi-axes?
Yes. Switch the Input mode selector to "Full diameters (2a, 2b)" and enter the total width and height of the ellipse. The calculator halves each value internally before applying A = pi*a*b, so the result is identical.
How do I find a missing axis if I know the area?
Switch to "Reverse: find axis from area" mode. Enter the area and whichever semi-axis you already know. The calculator rearranges A = pi*a*b to get the missing axis: b = A / (pi * a), or a = A / (pi * b).
Why is there no exact formula for the perimeter?
The exact perimeter of an ellipse requires an elliptic integral of the second kind, which cannot be written using ordinary arithmetic. Ramanujan's second approximation, P ≈ pi*(a+b)*(1 + 3h/(10+sqrt(4-3h))), is accurate to better than one part in a million for essentially any shape.
What does eccentricity mean?
Eccentricity e = sqrt(1 - b^2/a^2) is a number between 0 and 1 that measures how elongated an ellipse is. An eccentricity of 0 is a perfect circle. Values around 0.5 are gentle ovals. Values approaching 1.0 are very flat, almost line-like ellipses. Earth's orbit has an eccentricity of about 0.017, making it nearly circular.
What is the focal distance and why does it matter?
The focal distance c = sqrt(a^2 - b^2) is the distance from the centre of the ellipse to each of its two foci. Foci are the defining special points of an ellipse: the sum of distances from any point on the curve to both foci is always exactly 2a. This property governs planetary orbits (Sun at one focus), elliptical mirrors, and whispering galleries.
What is the latus rectum?
The latus rectum, L = 2b^2/a, is the chord drawn through a focus at right angles to the major axis. Its length tells you the "width" of the ellipse at the focal point. In astronomy, the semi-latus rectum L/2 = b^2/a appears directly in the orbit equation, relating the radial distance to the angle from the focus.