Saved

Press the star next to a tool's name to save it.

All my tools

Conic Sections Calculator

Use this conic sections calculator to classify a general equation as a circle, ellipse, parabola or hyperbola, and to find the focus, eccentricity and latus rectum.

Restored your last values ·

To classify a conic, enter the coefficients of its general equation. Blank values count as 0. To get the focus, eccentricity and latus rectum of a conic in standard position, choose the ellipse, the hyperbola or the parabola and enter a, and b where it is needed.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, fill in the boxes, then press Work out the conic.

See full result

A conic sections calculator tells you which curve an equation describes, and gives the focus, the eccentricity and the latus rectum of an ellipse, a hyperbola or a parabola. Enter the coefficients of the general equation to find out if it is a circle, an ellipse, a parabola or a hyperbola, or enter a and b for a conic in standard position. It uses the discriminant and the table of properties on Wikipedia's page on conic sections, and it works in your browser. It covers the latus rectum too.

How to use the conic sections calculator

  1. Choose what you want: to classify an equation, or to get the numbers of an ellipse, a hyperbola or a parabola.
  2. To classify, enter A, B, C, D, E and F. Blank boxes count as 0.
  3. For a standard conic, enter a and b.
  4. Press Work out the conic.

The discriminant

The Wikipedia page on conic sections gives the rule for the general equation A x² + B x y + C y² + D x + E y + F = 0. If B² − 4AC is below zero, the curve is an ellipse, and it is a circle when A equals C and B is zero. If it is zero, the curve is a parabola, and if it is above zero, the curve is a hyperbola, which is rectangular when A plus C is zero. For x² + x y + y² − 1 = 0 the discriminant is −3, so it is an ellipse. For x² − y² = 1 it is 4, so it is a hyperbola, and since A plus C is zero it is a rectangular one. For x² + 2xy + y² + x = 0 it is zero, which gives a parabola.

Degenerate conics

The rule on the page is for the non-degenerate case. Some equations describe a single point, a line, two lines, or nothing at all. For example x² − y² = 0 is the pair of lines y = x and y = −x. The calculator tests for this with the determinant of the three by three matrix of the coefficients, which is zero for a degenerate conic, and tells you if the curve is degenerate. The determinant test is a standard result and is not taken from the page that we cite.

Ellipse, hyperbola and parabola in standard position

The page gives a table of the properties of the standard forms. For the ellipse x² over a² plus y² over b² equals 1, the eccentricity is the square root of 1 minus b² over a², the distance to the focus is the square root of a² minus b², and the semi-latus rectum is b² over a. For the hyperbola x² over a² minus y² over b² equals 1, the eccentricity is the square root of 1 plus b² over a², the distance to the focus is the square root of a² plus b², and the semi-latus rectum is again b² over a. For the parabola y² equals 4 a x, the eccentricity is 1, the focus is at (a, 0), the directrix is x equals −a, and the semi-latus rectum is 2a.

The latus rectum

The latus rectum is the chord through a focus that is parallel to the directrix. The page defines the semi-latus rectum as half of its length, so the full chord is twice that: 2b² over a for the ellipse and the hyperbola, and 4a for the parabola. For the ellipse with a of 5 and b of 3, the semi-latus rectum is 1.8 and the latus rectum is 3.6. For the hyperbola with a of 3 and b of 4, the eccentricity is 5 over 3, the distance to the focus is 5, and the semi-latus rectum is 16 over 3. The calculator shows both lengths.

The asymptotes of a hyperbola

The lines that the branches of the hyperbola approach are its asymptotes. For the standard hyperbola they are y equals plus or minus b over a times x. The calculator shows them for the hyperbola mode. For a rectangular hyperbola, where a equals b, they are the lines y equals x and y equals minus x, which cross at a right angle.

Where conics appear

The conic sections get their name from the way in which a plane cuts a cone. They appear in orbits, in the shape of mirrors and satellite dishes, in the paths of projectiles and in architecture. The ellipse calculator on this site gives more of the numbers of an ellipse, including its area and its circumference.

Circles and rectangular hyperbolas

Two special cases deserve notice. A circle is an ellipse in which the two axes are equal, so its eccentricity is 0 and its two foci are at the center. A rectangular hyperbola has equal axes, and its eccentricity is the square root of 2. The calculator names both when it classifies an equation.

Common mistakes

  • Forgetting the xy term. It matters for the classification.
  • Putting all coefficients as zero. There must be an x², xy or y² term.
  • Mixing a and b for the hyperbola. a goes with the x term.
  • Assuming every equation is a real curve. Some are degenerate.

What next

Use this often? Add Conic Sectio to your Home screen.

Frequently asked questions

What is a conic sections calculator?

A tool that classifies an equation as a circle, ellipse, parabola or hyperbola, and gives the focus, eccentricity and latus rectum of a standard conic.

How do you classify a conic?

With the discriminant B² − 4AC: below 0 an ellipse (a circle if A = C and B = 0), equal to 0 a parabola, above 0 a hyperbola.

What is the latus rectum?

The chord through a focus that is parallel to the directrix. Its length is 2b²/a for an ellipse or hyperbola and 4a for the parabola y² = 4ax.

What is the eccentricity?

For an ellipse, e = √(1 − b²/a²). For a hyperbola, e = √(1 + b²/a²). For a parabola, e = 1.

What is a degenerate conic?

A case in which the equation gives a point, a line, two lines or no points, for example x² − y² = 0.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools