Skip to content
FiftyCalc Free calculators for all 50 states

Foci of an Ellipse Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the center of the ellipse and its two semi-axes to get the coordinates of both foci, the focal distance and the eccentricity.

Result

Sample figures

Focal distance c (center to each focus)—

Focus 1: x —

  • Focus 1: y—
  • Focus 2: x—
  • Focus 2: y—
  • Eccentricity e = c ÷ semi-major axis—
  • Distance between the foci (2c)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Foci of an Ellipse Calculator

Center x-coordinate h: enter a number. Prefilled example: 0.

Center y-coordinate k: enter a number. Prefilled example: 0.

Semi-axis along x (length units): enter 0 or more. Prefilled example: 5.

Semi-axis along y (length units): enter 0 or more. Prefilled example: 3.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Center x-coordinate h: enter a number.
  2. Center y-coordinate k: enter a number.
  3. Semi-axis along x (length units): enter 0 or more.
  4. Semi-axis along y (length units): enter 0 or more.
  5. Read the result: Focal distance c (center to each focus); the panel also shows Focus 1: x, Focus 1: y, Focus 2: x, Focus 2: y, Eccentricity e = c ÷ semi-major axis and Distance between the foci (2c).

How this calculator works

For the ellipse (x − h)²/a² + (y − k)²/b² = 1, the foci lie on the major axis (the longer one) at a distance c from the center, with c² = (semi-major)² − (semi-minor)².

If the x semi-axis is the longer one, the foci are (h ± c, k); otherwise they are (h, k ± c). The eccentricity e = c ÷ semi-major axis is between 0 (a circle) and 1 (a very flat ellipse). Every point of the ellipse has distances to the two foci that add up to twice the semi-major axis.

The formula

  1. C=max⁡(a,b)2−min⁡(a,b)2
Symbols used in the formula
SymbolMeaningUnit
aSemi-axis along xlength units
bSemi-axis along ylength units
CFocal distance c (center to each focus)
max(a, b, …)the largest of the values.
min(a, b, …)the smallest of the values.

Worked example

Center x-coordinate h0
Center y-coordinate k0
Semi-axis along x (length units)5
Semi-axis along y (length units)3
Focus 1: x-4
Focus 1: y0
Focus 2: x4
Focus 2: y0
Eccentricity e = c ÷ semi-major axis0.8
Distance between the foci (2c)8
  1. C=max⁡(5,3)2−min⁡(5,3)2=4

Focal distance c (center to each focus) 4

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

Where are the foci of x²/25 + y²/9 = 1?

c = √(25 − 9) = 4, so the foci are at (−4, 0) and (4, 0), and the eccentricity is 0.8.

What are the foci of a circle?

Both foci coincide with the center, because the two semi-axes are equal and c = 0.

Questions answered

Related calculators