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².
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
- College Algebra 2e, §8.1 The Ellipse — OpenStax
- Calculus Volume 2, §7.5 Conic Sections (eccentricity and directrix) — OpenStax
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