Ellipse Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the two semi-axes of the ellipse (half its length and half its width), in the same unit.
Result
Area πab (square units)
Perimeter (circumference), Ramanujan's formula (length units)
- Eccentricity e = √(1 − b² ÷ a²)
- Center-to-focus distance c = √(a² − b²) (length units)
- Latus rectum 2b² ÷ a (length units)
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.
- Semi-major axis a (half the longest diameter, length units): enter 0 or more.
- Semi-minor axis b (half the shortest diameter, same unit): enter 0 or more.
- Read the result: Area πab (square units); the panel also shows Perimeter (circumference), Ramanujan's formula (length units), Eccentricity e = √(1 − b² ÷ a²), Center-to-focus distance c = √(a² − b²) (length units) and Latus rectum 2b² ÷ a (length units).
How this calculator works
Area of an ellipse with semi-axes a and b: A = πab. The perimeter has no elementary closed form (it is an elliptic integral); the calculator uses Ramanujan's second approximation (1914): P ≈ π(a + b)[1 + 3h ÷ (10 + √(4 − 3h))] with h = (a − b)² ÷ (a + b)², which is exact for a circle and very close for ordinary ellipses.
With a ≥ b: eccentricity e = √(1 − b²/a²) (0 for a circle), the foci lie c = √(a² − b²) from the center on the major axis, and the latus rectum, the chord through a focus perpendicular to the major axis, is 2b² ÷ a.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Semi-major axis a (half the longest diameter, length units) | ||
| Semi-minor axis b (half the shortest diameter, same unit) | ||
| Area πab | square units |
Worked example
| Semi-major axis a (half the longest diameter, length units) | 5 |
|---|---|
| Semi-minor axis b (half the shortest diameter, same unit) | 3 |
| Perimeter (circumference), Ramanujan's formula (length units) | 25.527 |
|---|---|
| Eccentricity e = √(1 − b² ÷ a²) | 0.8 |
| Center-to-focus distance c = √(a² − b²) (length units) | 4 |
| Latus rectum 2b² ÷ a (length units) | 3.6 |
Area πab (square units) 47.1239
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the area of an ellipse with semi-axes 5 and 3?
π × 5 × 3 = 15π ≈ 47.1239 square units; its perimeter is about 25.527 and its eccentricity 0.8.
Why is the perimeter an approximation?
The exact perimeter is an elliptic integral with no formula in elementary functions; Ramanujan's formula gives it to many digits for most ellipses and exactly 2πr for a circle.