Skip to content
The Calculatorz
Geometry

Ellipse Calculator

Calculate the area, perimeter, eccentricity, foci and other properties of an ellipse from its semi-major and semi-minor axes.

Axes

Ellipse

How to use this calculator

Enter the two radii of the ellipse: the semi-major axis (half the longest width) and the semi-minor axis (half the shortest width). If you enter them the other way round, the calculator swaps them. It gives the area, an accurate perimeter, eccentricity, focal distance, latus rectum and the equation of the ellipse centred at the origin.

Formula

Area = πab. Perimeter ≈ π[3(a + b) − √((3a + b)(a + 3b))] (Ramanujan's approximation, accurate to better than 0.001% for most ellipses), with the exact value from the complete elliptic integral 4aE(e). Eccentricity e = √(1 − b² ÷ a²). Focal distance c = √(a² − b²). Latus rectum = 2b² ÷ a.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewIfrahMSc Mathematics

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

Why is there no simple perimeter formula?

The exact perimeter needs an elliptic integral, which has no closed form. Ramanujan's approximation is extremely close, and the calculator also evaluates the exact series.

What is eccentricity?

A measure of how stretched the ellipse is, from 0 (a circle) towards 1 (a flat line). Earth's orbit has eccentricity about 0.017.

Where are the foci?

On the major axis, c = √(a² − b²) from the centre. For any point on the ellipse, the distances to the two foci add up to 2a.

Is a circle an ellipse?

Yes, a circle is an ellipse with a = b and eccentricity 0.

How do I draw an ellipse?

Pin a loop of string of length 2a + 2c around two pins placed at the foci and trace with a pencil keeping it taut.

Where are ellipses found?

Planetary orbits, whispering galleries, elliptical gears, and the shape of a circle seen at an angle.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
  2. Abramson, J. (2021). Precalculus 2e. OpenStax. View source
  3. Abramson, J. (2021). College algebra 2e. OpenStax. View source
  4. International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source