Ellipse Equation Calculator (Foci, Vertices & Eccentricity)

Find the center, vertices, co-vertices, foci, eccentricity and directrices of an ellipse from its standard or general equation.

The number under (x − h)². It is a² or b², so for a semi-axis of 3 enter 9.

Results

Standard form
(x + 2)²/4 + (y − 5)²/9 = 1
Center (h, k)
(−2, 5)
Major axis
Vertical, along x = −2
Semi-major axis a
3.00
Semi-minor axis b
2.00
Center-to-focus distance c = √(a² − b²)
2.23606798
c = √5
Vertices (ends of the major axis)
(−2, 2) and (−2, 8)
Co-vertices (ends of the minor axis)
(−4, 5) and (0, 5)
Foci
(−2, 2.763932023) and (−2, 7.236067977)
Exactly (−2, 5 ± √5).
Eccentricity e = c/a
0.745356
0 is a circle; values near 1 are long and thin.
Major and minor axis lengths (2a, 2b)
6 and 4
Directrices
y = 0.9750776405 and y = 9.024922359
At distance a²/c from the center, on the major axis.

How it’s calculated

An ellipse with center (h, k) has the standard form below. The larger denominator is a² and sits under the variable of the major axis; the smaller is b².

(x − h)²/a² + (y − k)²/b² = 1 (horizontal major axis, a > b) vertices (h ± a, k), co-vertices (h, k ± b), foci (h ± c, k) c² = a² − b², eccentricity e = c/a, directrices x = h ± a²/c

If the larger denominator is under the y term, the major axis is vertical and every ± moves to the y-coordinate. From the general form Ax² + Cy² + Dx + Ey + F = 0 (A and C with the same sign), group the x and y terms, complete each square and divide by the number on the right.

Example: (x + 2)²/4 + (y − 5)²/9 = 1. Since 9 > 4 the major axis is vertical, with a = 3 and b = 2. The center is (−2, 5), the vertices are (−2, 2) and (−2, 8), the co-vertices (−4, 5) and (0, 5). c = √(9 − 4) = √5 ≈ 2.236, so the foci are (−2, 5 ± √5) and the eccentricity is √5/3 ≈ 0.745.

For the area and perimeter of an ellipse, see the ellipse calculator.

Frequently asked questions

How do I tell whether the major axis is horizontal or vertical?

Compare the denominators. If the bigger one is under the x term, the ellipse is wider than it is tall (horizontal major axis). If it is under the y term, the major axis is vertical.

How do I find the foci of an ellipse?

Compute c = √(a² − b²) using the larger denominator as a². The foci lie on the major axis, c units either side of the center.

What is the eccentricity of an ellipse?

e = c/a, a number from 0 to just under 1. A circle has e = 0; the closer e is to 1, the flatter the ellipse.

How do I convert 4x² + 9y² − 40x + 36y + 100 = 0 to standard form?

Complete the square in x and y: 4(x − 5)² + 9(y + 2)² = 36, then divide by 36 to get (x − 5)²/9 + (y + 2)²/4 = 1. Choose the general form option to see each step.

Embed this calculator

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

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

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

Added · Last updated · How we check our calculators

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