An ellipse calculator finds all the main measures of an ellipse: the foci, the eccentricity, the area, the circumference, the vertices and the latus rectum. Enter the two semi-axes, or the coefficients of the equation, and press the button. It uses the standard equation and the relations on Wikipedia's pages on the ellipse and on conic sections, and it works in your browser. It also covers the center of an ellipse, the ellipse circumference, the standard form and the foci of an ellipse.
How to use the ellipse calculator
- Choose the semi-axes or the equation.
- For the semi-axes, enter a and b, and the center (h, k) if it is not the origin.
- For the equation, enter the coefficients A and C of x² and y², and D, E and F.
- Press Work out the ellipse.
The standard equation
The Wikipedia page on the ellipse gives the standard equation as x² divided by a² plus y² divided by b² equals 1, where a is the semi-major axis and b is the semi-minor axis, with a at least as large as b. The ellipse is centered at the origin. If its center is at (h, k), the equation is (x − h)² divided by a² plus (y − k)² divided by b² equals 1. When the longer axis is vertical, the larger denominator belongs to the y term, and the calculator writes the equation in that way.
Foci and eccentricity
The page says that the foci lie at a distance c from the center, along the major axis, where c is the square root of a² minus b². The eccentricity is c divided by a, which is the square root of 1 minus b² divided by a². An eccentricity of 0 is a circle, and the value gets closer to 1 as the ellipse gets longer and thinner. For the ellipse with a of 5 and b of 3, c is 4, so the foci are at (−4, 0) and (4, 0), and the eccentricity is 0.8.
Area and circumference
The area of an ellipse is pi times a times b, which is 15 pi, or about 47.124, for the example. The circumference has no simple closed formula. It can be written with an elliptic integral, and Ramanujan found very good approximations. The calculator uses his second one: pi times a plus b times 1 plus 3h divided by 10 plus the square root of 4 minus 3h, where h is the square of a minus b divided by a plus b. For the example the circumference is about 25.527, and for a circle with a equal to b it is exactly 2 pi times the radius.
The latus rectum
The latus rectum is the chord through a focus that is perpendicular to the major axis. The Wikipedia page on conic sections gives the semi-latus rectum of an ellipse as b² divided by a, and the full chord is twice that, 2b² divided by a. For the example it is 3.6. It is one of the numbers that describe how curved the ellipse is near its ends.
From the general equation
If the equation has no xy term, it has the form A x² + C y² + D x + E y + F = 0, and the ellipse is found by completing the square in x and in y. The center is at (−D/2A, −E/2C), and the two semi-axes follow from the number on the right side. The equation 9x² + 25y² − 18x + 100y − 116 = 0 is the ellipse with a center at (1, −2) and semi-axes of 5 and 3, which you can check in the calculator. A and C must have the same sign, and the right side must be positive, or there is no ellipse.
Where ellipses appear
Ellipses show up in the orbits of planets, which are ellipses with the Sun at one focus, in the design of arches and mirrors, and in the shape of the section of a cylinder that is cut at an angle. The same family of curves, the conic sections, also contains the parabola and the hyperbola, which the conic sections calculator on this site tells apart.
A worked example with a shifted center
Consider the ellipse with the equation (x − 1)² divided by 25 plus (y + 2)² divided by 9 equals 1. The center is at (1, −2), the semi-major axis is 5 along the x direction and the semi-minor axis is 3. The distance c is 4, so the foci are at (−3, −2) and (5, −2), and the vertices are at (−4, −2) and (6, −2). The area, circumference and latus rectum are the same as for the ellipse that is centered at the origin, since moving an ellipse does not change its size or shape.
Common mistakes
- Using the full axes. The calculator needs the semi-axes, which are half the lengths.
- Mixing up the foci and the vertices. The vertices are the ends of the major axis.
- Giving an equation with an xy term. It describes a tilted ellipse, which is not covered.
- Expecting an exact circumference. It is a close approximation.
What next
Use this often? Add Ellipse to your Home screen.
Frequently asked questions
What is an ellipse calculator?
A tool that finds the standard form, center, foci, eccentricity, area, circumference and latus rectum of an ellipse from its axes or equation.
How do you find the foci of an ellipse?
The foci are at a distance c = √(a² − b²) from the center along the major axis.
What is the area of an ellipse?
π × a × b, where a and b are the semi-axes.
Is there an exact circumference formula?
Not a simple one. It needs an elliptic integral. The calculator uses Ramanujan's second approximation, which is very accurate.
How do you convert an ellipse equation to standard form?
Complete the square in x and in y. The center is (−D/2A, −E/2C).
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.