Ellipse Calculator — Center, Foci, Vertices & Eccentricity

AlgebraFreeNo sign-up

An ellipse calculator reads the semi-axes a and b from the standard form and finds everything else from them. For x²/25 + y²/9 = 1, a = 5 and b = 3, so c = √(25 − 9) = 4. The foci are (±4, 0), the vertices are (±5, 0), the eccentricity is 4/5 = 0.8 and the area is 15π ≈ 47.12 square units.

Ellipse calculator: what do you know?
Type either form: (x – 3)^2/25 + (y + 2)^2/9 = 1, x^2/16 + y^2/36 = 1, or 4x^2 + y^2 – 8x + 4y – 8 = 0. Use ^2 or ² for squares.
Try:
Ellipse in standard form
(x − 3)²/25 + (y + 2)²/9 = 1

Center (3, −2), a = 5, b = 3, c = 4

The ellipse (x − 3)²/25 + (y + 2)²/9 = 1 has center (3, −2), a horizontal major axis, vertices (8, −2) and (−2, −2), co-vertices (3, 1) and (3, −5) and foci (7, −2) and (−1, −2). Eccentricity e = 0.8. Area = 15π ≈ 47.12 square units.

Standard form(x − 3)²/25 + (y + 2)²/9 = 1
General form9x² + 25y² − 54x + 100y − 44 = 0
Center (h, k)(3, −2)
Eccentricity e0.8
Semi-major axis a5
Semi-minor axis b3

Key points

Major axisHorizontal (parallel to the x-axis)
Vertices(8, −2) and (−2, −2)
Co-vertices(3, 1) and (3, −5)
Foci(7, −2) and (−1, −2)
c (center to focus)4
a², b², c²25, 9, 16

Size

Area15π ≈ 47.12 square units
Perimeter (Ramanujan, approximate)≈ 25.53
Perimeter (precise numerical value)≈ 25.53
Major axis length 2a10
Minor axis length 2b6
Distance between foci 2c8

Focus and graphing facts

Latus rectum length 2b²/a3.6
Directricesx = 37/4 and x = −13/4
x-intercepts(3 ± 5√5/3, 0) ≈ (6.73, 0) and (−0.73, 0)
y-intercepts(0, 2/5) and (0, −22/5)
Domain (x-values)[−2, 8]
Range (y-values)[−5, 1]
Parametric formx = 3 + 5 cos t, y = −2 + 3 sin t
48−4F₁F₂(3, −2)Green: the ellipse and its major axis, with the vertices as green dots. Open blue dots: co-vertices. Gold: the foci. Dashed purple: the directrices.
Show steps
  1. Write the equation in general form with whole-number coefficients: 9x² + 25y² − 54x + 100y − 44 = 0.
  2. Group the x terms and the y terms, factor out the squared coefficients and move the constant: 9(x² − 6x) + 25(y² + 4y) = 44.
  3. Complete each square. Half of −6 is −3; its square is 9, which adds 9 × 9 = 81 to the left side. Half of 4 is 2; its square is 4, which adds 25 × 4 = 100. Add the same amounts to the right side.
  4. Write each group as a square: 9(x − 3)² + 25(y + 2)² = 44 + 81 + 100 = 225.
  5. Divide both sides by 225 to make the right side 1: (x − 3)²/25 + (y + 2)²/9 = 1. The center is (3, −2) (the signs inside the brackets flip).
  6. The larger denominator is a² and it sits under the x term, so the major axis is horizontal: a² = 25, a = 5; b² = 9, b = 3.
  7. Find c with c² = a² − b² = 25 − 9 = 16, so c = 4. The foci are c units from the center along the major axis; the vertices are a units away and the co-vertices are b units away on the minor axis.
  8. Eccentricity e = c/a = 0.8 (0 is a circle; values near 1 are long and thin).
  9. Area = πab = π × 5 × 3 = 15π ≈ 47.12 square units.
  10. Perimeter has no exact elementary formula. Ramanujan: P ≈ π[3(a + b) − √((3a + b)(a + 3b))] ≈ 25.53. A precise numerical value (arithmetic-geometric mean method) is 25.53.
  11. Latus rectum (the chord through a focus, perpendicular to the major axis) = 2b²/a = 3.6. Directrices: x = 3 ± a²/c, so x = 37/4 and x = −13/4.

Check: every point on the ellipse has distances to the two foci that add up to 2a = 10.

Ellipse Calculator — Center, Foci, Vertices & Eccentricity
Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

How to use the ellipse calculator

  1. Choose what you know: an Equation in standard or general form, the Center & axes (h, k, a, b and the direction of the major axis), or two Vertices & a focus.
  2. Type the equation or the numbers. Fractions such as 9/4 and roots such as √10 or 2√5 work for the semi-axes.
  3. Read the standard and general forms, center, a, b, c and eccentricity, then the vertices, co-vertices, foci, area, perimeter, latus rectum, directrices, intercepts, domain and range.
  4. Check the graph and open Show steps to see the completing-the-square work and every formula with your numbers.

Key parts of an ellipse

An ellipse is the set of points whose distances to two fixed points, the foci, add up to the same number, 2a. Its parts:

  • Center (h, k): the midpoint of both axes.
  • Semi-major axis a: half of the long axis. The ends of the long axis are the vertices.
  • Semi-minor axis b: half of the short axis. Its ends are the co-vertices.
  • Focal distance c: the distance from the center to each focus, with c² = a² − b².
  • Eccentricity e = c/a: how stretched the ellipse is, from 0 (a circle) up to, but not including, 1.
  • Latus rectum: the chord through a focus perpendicular to the major axis, of length 2b²/a.
  • Directrices: two lines perpendicular to the major axis at distance a²/c from the center. For any point on the ellipse, its distance to a focus divided by its distance to the matching directrix equals e.

Ellipse equation: standard form and general form

With a horizontal major axis the standard form is (x − h)²/a² + (y − k)²/b² = 1. With a vertical major axis, a² moves under the y term: (x − h)²/b² + (y − k)²/a² = 1. The larger denominator is always a², and it tells you the direction of the long axis.

Expanding and clearing fractions gives the general form Ax² + Cy² + Dx + Ey + F = 0, where A and C have the same sign. If A = C the ellipse is a circle; if they have opposite signs it is a hyperbola; if one of them is 0 it is a parabola.

Property Horizontal major axis Vertical major axis
Vertices (h ± a, k) (h, k ± a)
Co-vertices (h, k ± b) (h ± b, k)
Foci (h ± c, k) (h, k ± c)
Directrices x = h ± a²/c y = k ± a²/c
Area πab
Eccentricity e = c/a = √(1 − b²/a²)

Worked example: general form to standard form

  1. Start with 9x² + 25y² − 54x + 100y − 44 = 0.
  2. Group and factor: 9(x² − 6x) + 25(y² + 4y) = 44.
  3. Complete the squares: (−3)² = 9 inside the x bracket adds 9 × 9 = 81; 2² = 4 inside the y bracket adds 25 × 4 = 100. Add both to the right side: 44 + 81 + 100 = 225.
  4. So 9(x − 3)² + 25(y + 2)² = 225. Divide by 225: (x − 3)²/25 + (y + 2)²/9 = 1.
  5. The center is (3, −2), a = 5 under x (horizontal), b = 3 and c = √(25 − 9) = 4.

The vertices are (8, −2) and (−2, −2), the co-vertices are (3, 1) and (3, −5), and the foci are (7, −2) and (−1, −2). The eccentricity is 0.8, the latus rectum is 2 × 9/5 = 3.6 and the directrices are x = 3 ± 25/4, that is x = 37/4 and x = −13/4.

Worked example: vertices and a focus

An ellipse has vertices (0, −13) and (0, 13) and a focus at (0, −12). The center is the midpoint, (0, 0). The vertices share an x-coordinate, so the major axis is vertical, with a = 13 and c = 12. Then b² = a² − c² = 169 − 144 = 25, and the equation is x²/25 + y²/169 = 1. The eccentricity is 12/13 ≈ 0.92, so this ellipse is long and narrow.

Area and perimeter of an ellipse

The area is exact: A = πab. For a = 5 and b = 3 the area is 15π ≈ 47.12 square units. If you know the full width and height, halve them first: an ellipse 16 units wide and 4 units tall has a = 8 and b = 2, so its area is 16π ≈ 50.27.

The perimeter (circumference) has no exact formula with ordinary functions; it needs an elliptic integral. The usual approximation is Ramanujan’s:

P ≈ π[3(a + b) − √((3a + b)(a + 3b))]

For a = 5 and b = 3 this gives π[24 − √252] ≈ 25.53, which matches the precise value to about 0.00005 percent. The calculator also shows a precise numerical value from the arithmetic-geometric mean method, so you can see how close the approximation is.

a, b Ramanujan Precise value Eccentricity
5, 3 25.527 25.527 0.8
13, 5 59.377 59.378 12/13 ≈ 0.923
8, 2 34.310 34.314 √15/4 ≈ 0.968
10, 1 40.606 40.640 ≈ 0.995

The approximation is excellent for everyday shapes and drifts slightly only for very thin ellipses.

Common mistakes with ellipses

  • Using the full axis lengths as a and b. The equation uses the halves.
  • Assuming a² is always under x. The larger denominator is a², wherever it sits.
  • Adding instead of subtracting: for an ellipse c² = a² − b². (For a hyperbola it is a² + b².)
  • Forgetting to multiply by the factored coefficient when completing the square: in 9(x² − 6x + 9) you added 81, not 9, to the left side.
  • Dividing by the wrong number. The right side must become exactly 1.

Where ellipses show up

Planets and satellites follow elliptical orbits with the sun or planet at one focus. Whispering galleries and medical lithotripters use the reflection property: a sound or wave leaving one focus bounces off the curve and passes through the other focus. Gardeners draw oval beds with two stakes and a loop of string, which is the two-foci definition in action.

Ellipse practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. For x²/49 + y²/24 = 1, what is c, the distance from the center to each focus?

Found a mistake? Let us know!

2. What is the area of the ellipse x²/16 + y²/9 = 1?

Found a mistake? Let us know!

3. Which way does the major axis of x²/9 + y²/25 = 1 point?

Found a mistake? Let us know!

4. What is the eccentricity of x²/100 + y²/36 = 1?

Found a mistake? Let us know!

5. What is the center of 4x² + 9y² − 16x + 18y − 11 = 0?

Found a mistake? Let us know!

6. Find the foci of (x − 1)²/25 + (y + 3)²/16 = 1.

Found a mistake? Let us know!

7. An ellipse has vertices (±10, 0) and foci (±6, 0). What is its equation?

Found a mistake? Let us know!

8. Using Ramanujan’s approximation, what is the perimeter of an ellipse with a = 5 and b = 3, to the nearest tenth?

Found a mistake? Let us know!

9. What is the length of the latus rectum of x²/25 + y²/9 = 1?

Found a mistake? Let us know!

10. An oval rug is 12 ft long and 8 ft wide. What are a and b for its ellipse equation?

Found a mistake? Let us know!

Frequently asked questions

What is the formula for an ellipse?

The standard form is (x − h)²/a² + (y − k)²/b² = 1 for a horizontal ellipse centered at (h, k), with a ≥ b. For a vertical ellipse, swap the denominators. Centered at the origin, it is x²/a² + y²/b² = 1.

How do you calculate the area of an ellipse?

Multiply π by the two semi-axes: A = πab. For x²/25 + y²/9 = 1, the area is π × 5 × 3 = 15π ≈ 47.12 square units.

How do you calculate the circumference of an ellipse?

Use Ramanujan's approximation P ≈ π[3(a + b) − √((3a + b)(a + 3b))]. For a = 5 and b = 3, P ≈ 25.53. An exact value needs an elliptic integral, which the calculator evaluates numerically.

How do you find the foci of an ellipse?

Compute c = √(a² − b²) and move c units from the center along the major axis. For x²/25 + y²/9 = 1, c = 4 and the foci are (−4, 0) and (4, 0).

How do you find the eccentricity of an ellipse?

Divide c by a. For a = 5 and c = 4, e = 0.8. A circle has e = 0, and the closer e is to 1, the flatter the ellipse.

What is the radius of an ellipse?

An ellipse has no single radius. Its distance from the center varies between b (at the co-vertices) and a (at the vertices), so people usually quote the two semi-axes. An ellipse 16 wide and 4 tall has semi-axes 8 and 2.

Related calculators

More algebra calculators

Browse all 541 calculators

Related to This Article

What people say about "Ellipse Calculator: Center, Foci, Vertices & Graph"?

No one replied yet.

Leave a Reply