Foci of an Ellipse

After this page you can calculate the focal distance of an origin-centered ellipse and place both foci on the correct coordinate axis.

Start with the focal relationship

The foci are two points inside an ellipse that determine its constant sum of distances. For semi-axes a and b, the distance c from the center to either focus satisfies c² = |a² − b²|. Begin by squaring and subtracting.

find foci of an ellipse with a=5 b=3

Because a is larger, the foci lie on the x-axis. Taking the square root gives the positive focal distance; the two coordinates use its positive and negative values.

Place vertical foci

The same relationship applies when b is larger, but the foci now lie on the y-axis. The absolute difference makes the focal calculation positive without hiding which semi-axis controls the direction.

find foci of an ellipse with a=3 b=5

Decide the axis before writing the coordinates. On a vertical major axis, both x-coordinates are zero and the y-coordinates are opposites.

Keep an exact radical

A focal distance need not be a whole number. After finding c², simplify its square root exactly instead of rounding. Factoring out a perfect square often gives a shorter radical.

find foci of an ellipse with a=4 b=2

The foci remain symmetric about the origin, and their distance from it is the simplified radical. Press Try one for another ellipse and give both foci in either order.

Practice

Practice: problems like this one, made and checked in your browser.

Recap

  • Calculate c² = |a² − b²|, then take the nonnegative square root for c.
  • Put the foci at ±c on the x-axis when a is larger and on the y-axis when b is larger.
  • Leave non-square focal distances as simplified radicals rather than decimal approximations.