Skip to content
Other

Foci of an Ellipse Calculator

Enter the semi-major axis (a) and semi-minor axis (b) to find both focus points, the focal distance, eccentricity, all four vertices, latus rectum, area, and circumference. You can also set the center coordinates and choose horizontal or vertical orientation. Results update as you type and include a full step-by-step breakdown.

Your details

The longest half-axis of the ellipse, measured from the center to the end of the major axis. Must be greater than the semi-minor axis.
The shortest half-axis of the ellipse, measured from the center to the end of the minor axis. Must be less than the semi-major axis.
Choose whether the major axis runs left-right (horizontal) or up-down (vertical). This determines where the foci sit relative to the center.
The x-coordinate of the center of the ellipse. Use 0 for an ellipse centered at the origin.
The y-coordinate of the center of the ellipse. Use 0 for an ellipse centered at the origin.
Focal distance (c)Highly elongated
4

Distance from the center to each focus point

Eccentricity (e)0.8
Focus F1(-4, 0)
Focus F2(4, 0)
Vertex V1(-5, 0)
Vertex V2(5, 0)
Co-vertex CV1(0, -3)
Co-vertex CV2(0, 3)
Latus rectum3.6
Area47.1239
Circumference (approx.)25.527
Standard form equationx²/25 + y²/9 = 1
0.8 e
Near circle<0.1Mild ellipse0.1-0.5Moderate ellipse0.5-0.75High eccentricity0.75+

Focal distance c = 4.0000, eccentricity e = 0.8000.

  • The two foci are 8.0000 units apart, symmetrically placed around the center.
  • An eccentricity of 0.8000 means the ellipse is a highly elongated ellipse.
  • The sum of distances from any point on the ellipse to both foci is always 10.0000 (twice the semi-major axis).
  • Its area is 47.1239 square units and its approximate circumference is 25.5270 units.

Next stepUse the foci coordinates to set up the pin-and-string method: fix pins at F1 and F2 with a string of length 2a to trace the full ellipse.

Formula

c=a2−b2,e=ca,ℓ=2b2a,A=πabc = \sqrt{a^2 - b^2}, \quad e = \dfrac{c}{a}, \quad \ell = \dfrac{2b^2}{a}, \quad A = \pi a b

Worked example

Ellipse with semi-major axis a = 5 and semi-minor axis b = 3: c = sqrt(25 - 9) = sqrt(16) = 4. The foci sit at (+/-4, 0) for a horizontal ellipse centered at the origin. Eccentricity e = 4/5 = 0.8. Latus rectum = 2(9)/5 = 3.6. Area = pi x 5 x 3 ≈ 47.12 square units.

What are the foci of an ellipse?

An ellipse is defined as the set of all points in a plane for which the sum of the distances to two fixed points is constant. Those two fixed points are the foci (singular: focus). If you fix two pins on a board, loop a string around them, and trace with a pencil kept taut, you draw a perfect ellipse: the string length is 2a (twice the semi-major axis), and the pins mark the foci. The foci always lie on the major axis, the longer axis of symmetry, at a distance c from the center. The relationship between the three key lengths is the Pythagorean-like identity a² = b² + c², or equivalently c = sqrt(a² - b²), where a is the semi-major axis and b is the semi-minor axis.

How to find the foci: the formula and steps

Step 1: identify the semi-major axis a (the larger of the two half-axes) and the semi-minor axis b. Step 2: compute c = sqrt(a² - b²). Step 3: place the foci on the major axis at (+/-c, 0) for a horizontal ellipse centered at the origin, or at (0, +/-c) for a vertical one. If the center is at (h, k) instead of the origin, shift accordingly: horizontal foci are (h - c, k) and (h + c, k); vertical foci are (h, k - c) and (h, k + c). Eccentricity e = c/a tells you the shape: e = 0 is a circle, values near 1 are highly elongated.

Eccentricity, latus rectum, area, and circumference

Eccentricity (e = c/a) summarizes how far the ellipse departs from a circle. The latus rectum is the chord that passes through a focus perpendicular to the major axis; its length is 2b²/a, and it measures the "width" of the ellipse at the focus. The area is simply pi x a x b, a natural generalization of the circle formula pi x r². The circumference has no closed-form solution in elementary functions, but Ramanujan's approximation - pi(a + b)(1 + 3h/(10 + sqrt(4 - 3h))) where h = ((a - b)/(a + b))² - is accurate to within a fraction of a percent for typical ellipses.

Real-world applications

Ellipses and their foci appear across science and engineering. Kepler's first law states that every planet orbits the Sun in an ellipse with the Sun at one focus, not the center. Elliptical pool tables have two pockets, one at each focus: a ball rolled from one focus always bounces to the other. Whispering galleries and lithotripsy machines exploit the reflective property that a signal or shock wave from one focus converges at the other. Elliptical gears, satellite orbits, and architectural arches all draw on the mathematics captured in this calculator.

Eccentricity and ellipse shape

Eccentricity rangeShape descriptionExample
e = 0Perfect circlea = b
0 < e < 0.25Nearly circularEarth's orbit (e ≈ 0.017)
0.25 to 0.5Mildly elongatedMars's orbit (e ≈ 0.093)
0.5 to 0.75Moderately elongatedPluto's orbit (e ≈ 0.248)
0.75 to <1Highly elongatedHalley's comet (e ≈ 0.967)
e = 1Degenerate (line)b = 0

Eccentricity (e) quantifies how much an ellipse deviates from a circle. It always lies between 0 (a perfect circle) and 1 (a degenerate line segment).

Frequently asked questions

What is the difference between the foci and the center of an ellipse?

The center is the midpoint of the major axis, equidistant from both vertices and both foci. The foci are two specific points inside the ellipse, each at distance c from the center along the major axis. When the ellipse is a circle (a = b), the two foci merge at the center and c = 0.

Can I enter b larger than a?

Yes. The calculator automatically treats the larger value as the semi-major axis a and the smaller as the semi-minor axis b, then applies the correct formula regardless of the order you enter them. Just make sure the orientation setting matches the axis you intend to be the major one.

What does eccentricity = 0 mean?

An eccentricity of 0 means a = b, so c = 0 and the two foci coincide at the center: the ellipse is a perfect circle. As eccentricity increases toward 1, the ellipse becomes more elongated and the foci move further from the center.

How does the orientation (horizontal vs. vertical) change the foci?

Orientation controls whether the major axis runs along the x-direction or the y-direction. For a horizontal ellipse the foci lie on the x-axis at (h +/- c, k); for a vertical ellipse they lie on the y-axis at (h, k +/- c). The focal distance c and eccentricity are identical in both cases because they depend only on a and b, not the tilt.

Why is the circumference an approximation?

The exact perimeter of an ellipse requires an elliptic integral, which cannot be expressed in simple elementary functions. Ramanujan's 1914 approximation is accurate to better than 0.04% for most practical ellipses and is the standard formula used by engineers and architects. The error only becomes noticeable for extreme eccentricities very close to 1.

What is the latus rectum and why does it matter?

The latus rectum is the chord drawn through a focus at right angles to the major axis. Its length, 2b²/a, tells you how wide the ellipse is at the focus. In orbital mechanics it appears in the vis-viva equation and in the formula for orbital period. A longer latus rectum relative to a means a rounder ellipse; a shorter one means the curve is sharper near the foci.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…