Connect via MCP →

Enter Calculation

Formula

Show calculation steps (2)
  1. Area

    Area: Ellipse Foci & Eccentricity Calculator

    Area of the ellipse

  2. Perimeter (Ramanujan)

    Perimeter (Ramanujan): Ellipse Foci & Eccentricity Calculator

    Ramanujan approximation; A = max(a,b), B = min(a,b), h = (A-B)^2 / (A+B)^2

Advertisement

Results

Linear Eccentricity (c)
4
distance from center to each focus
Eccentricity (e) 0.8
Semi-major axis 5
Semi-minor axis 3
Area 47.1239
Perimeter (approx.) 25.527

What this calculator does

This tool analyzes an ellipse from its two semi-axes, a and b. It returns the linear eccentricity c (the distance from the center to each focus), the eccentricity e, the semi-major and semi-minor axes, the enclosed area, and an accurate approximation of the perimeter. It works whether the longer axis is horizontal or vertical, because it automatically treats the larger value as the semi-major axis.

How to use it

Enter the two semi-axis lengths in any consistent units (the result uses those same units). The semi-axis is half the full width or height of the ellipse. Press calculate to see the focal distance and eccentricity instantly.

The formula explained

The foci of an ellipse sit on the major axis at distance c from the center, where

$$c = \sqrt{\left|\,\text{a}^{2} - \text{b}^{2}\,\right|}$$

The eccentricity

$$e = \frac{c}{\text{a}_3}$$

(a₃ being the semi-major axis) measures how stretched the ellipse is: \(e = 0\) is a perfect circle, and \(e\) approaches 1 as the ellipse grows long and thin. The area is \(\pi a b\), and the perimeter uses Ramanujan second approximation, which is extremely accurate for all aspect ratios.

Advertisement
Diagram of an ellipse showing semi-major axis a, semi-minor axis b, two foci, and focal distance c
An ellipse with semi-axes a and b, its two foci, and the linear eccentricity c measured from center to focus.

Worked example

For \(a = 5\) and \(b = 3\):

$$c = \sqrt{\left|\,25 - 9\,\right|} = \sqrt{16} = 4$$

Eccentricity

$$e = \frac{4}{5} = 0.8$$

Area

$$A = \pi \times 5 \times 3 \approx 47.124$$

The two foci lie 4 units on either side of the center along the major axis.

FAQ

What if a equals b? The ellipse is a circle: \(c = 0\) and \(e = 0\), so there is a single focus at the center.

Does axis order matter? No. The calculator finds the larger axis itself, so you can enter a and b in any order.

Why is the perimeter approximate? An ellipse perimeter has no simple closed form (it requires an elliptic integral). Ramanujan formula matches the true value to within a tiny fraction of a percent.

Last updated: