Ellipse Calculator

Calculate the area, exact perimeter (circumference), eccentricity and focal distance of an ellipse or oval from its semi-axes.

Half of the longest width. If you measured the full width, divide by 2.
Half of the shortest width. The order of a and b does not matter.

Results

Area
47.124
Perimeter (circumference)
25.527
Eccentricity e
0.80
0 = circle; close to 1 = very elongated.
Distance between foci (2c)
8

How it’s calculated

An ellipse with semi-major axis a and semi-minor axis b has a simple area formula. Its perimeter has no elementary closed form: it equals 4a·E(e), a complete elliptic integral of the second kind, which we evaluate exactly with the fast arithmetic-geometric mean method. Ramanujan's approximation is shown for comparison.

Area = π a b c = √(a² − b²) e = c ÷ a Perimeter = 4a·E(e) ≈ π(a + b)(1 + 3h ÷ (10 + √(4 − 3h))), h = ((a − b) ÷ (a + b))²

Example: a = 5 ft, b = 3 ft gives Area = π × 15 ≈ 47.12 ft², c = √(25 − 9) = 4 ft, e = 0.8, foci 8 ft apart, and perimeter ≈ 25.53 ft (h = 1/16).

Frequently asked questions

How do I find the area of an oval?

Measure the longest and shortest widths, halve each to get a and b, then use A = πab. A 10 ft × 6 ft oval has area π × 5 × 3 ≈ 47.1 ft².

Why is there no simple formula for the perimeter?

The arc length of an ellipse is an elliptic integral, which cannot be written with elementary functions. This calculator computes it numerically to full precision.

What is eccentricity?

A measure of how stretched the ellipse is: e = √(1 − b²/a²). A circle has e = 0; a very flat ellipse approaches 1.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator