Center of Ellipse Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the coefficients of an ellipse written as Ax² + Cy² + Dx + Ey + F = 0 (axes parallel to x and y, no xy term).
Result
Center x-coordinate h
Center y-coordinate k
- Right side after completing the square, A h² + C k² − F
- Semi-axis along x
- Semi-axis along y
- Eccentricity
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- A (coefficient of x²): enter a number.
- C (coefficient of y²): enter a number.
- D (coefficient of x): enter a number.
- E (coefficient of y): enter a number.
- F (constant): enter a number.
- Read the result: Center x-coordinate h; the panel also shows Center y-coordinate k, Right side after completing the square, A h² + C k² − F, Semi-axis along x, Semi-axis along y and Eccentricity.
How this calculator works
Completing the square turns Ax² + Cy² + Dx + Ey + F = 0 into A(x − h)² + C(y − k)² = A h² + C k² − F, with h = −D ÷ 2A and k = −E ÷ 2C. Dividing by the right side gives the standard form (x − h)²/a² + (y − k)²/b² = 1.
It is a real ellipse only if A and C have the same sign and the right side has that sign too; otherwise the semi-axes show a dash (a hyperbola, a single point or no graph). Eccentricity e = √(1 − b²/a²) with a the longer semi-axis; e = 0 is a circle.
The formula
| Symbol | Meaning |
|---|---|
| A (coefficient of x²) | |
| D (coefficient of x) | |
| Center x-coordinate h |
Worked example
| A (coefficient of x²) | 4 |
|---|---|
| C (coefficient of y²) | 9 |
| D (coefficient of x) | -16 |
| E (coefficient of y) | 18 |
| F (constant) | -11 |
| Center y-coordinate k | -1 |
|---|---|
| Right side after completing the square, A h² + C k² − F | 36 |
| Semi-axis along x | 3 |
| Semi-axis along y | 2 |
| Eccentricity | 0.7454 |
Center x-coordinate h 2
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Where is the center of 4x² + 9y² − 16x + 18y − 11 = 0?
At (2, −1). The standard form is (x − 2)²/9 + (y + 1)²/4 = 1, so the semi-axes are 3 and 2.
What if A equals C?
The ellipse is a circle and the eccentricity is 0.