+Calculator+

Ellipse Calculator

Calculate area, perimeter, eccentricity, focal distance, aspect ratio, and semi-latus rectum of an ellipse from its two semi-axes.

Ellipse dimensions

Area

47.1239

Perimeter (Ramanujan)
25.527
Eccentricity
0.8
Focal distance (c)
4
Aspect ratio (a / b)
1.6667
Semi-latus rectum (p)
1.8
Semi-major axis (a)
5
Semi-minor axis (b)
3

Frequently Asked Questions about the Ellipse Calculator

What formulas does this ellipse calculator use?
Area uses A = pi * a * b. Perimeter uses Ramanujan's second approximation, P is roughly pi * [3(a + b) - sqrt((3a + b)(a + 3b))], accurate to about 0.04 percent for any eccentricity. Eccentricity uses e = sqrt(1 - (b / a) squared), focal distance c = sqrt(a squared - b squared), aspect ratio = a / b, and semi-latus rectum p = b squared / a.
Why is there no exact formula for the perimeter?
The exact perimeter of an ellipse is a complete elliptic integral of the second kind, which has no closed form in elementary functions. Ramanujan's second approximation gets you within roughly 0.04 percent across all valid shapes, which is more than enough for engineering, design, and most science work.
What is the difference between the semi-major and semi-minor axis?
The semi-major axis a is half of the longest diameter, and the semi-minor axis b is half of the shortest. By convention a is always greater than or equal to b. If you enter b larger than a, the calculator swaps the two values and flags the result as swapped so you keep that convention.
What does the eccentricity tell you?
Eccentricity measures how stretched the ellipse is. A value of 0 means the ellipse is a perfect circle, values close to 1 mean a long thin ellipse, and a value of exactly 1 would be a parabola. For any real ellipse, eccentricity sits between 0 and 1.
What is the focal distance c used for?
Every ellipse has two foci on its major axis. The focal distance c is the distance from the center to each focus, with c = sqrt(a squared - b squared) = a times e. The defining property of an ellipse is that for any point on the curve, the sum of its distances to the two foci equals 2a.