Logo

MonoCalc

/

Ellipse Perimeter Calculator

Geometry

Semi-major axis (a)

Semi-minor axis (b)

Length unit

Approximation method

Decimal precision

Compare all methods

Show step-by-step

a = 10 mb = 6 mPerimeter = circumference of ellipse
P = 51.0551 m
h = (10−6)² / (10+6)² = 0.062500, P = π(a+b)(1 + 3h/(10+√(4−3h)))

Eccentricity (e): 0.8

h parameter: 0.0625

Area (A = πab): 188.4956

Perimeter in other units

mm51,055.113
cm5,105.511
m51.055
km0.051
in2,010.044
ft167.504
yd55.835
mi0.032

About This Tool

Ellipse Perimeter Calculator – Circumference of an Ellipse

The perimeter of an ellipse — also called its circumference — is the total length of the curved boundary enclosing the shape. Unlike a circle, an ellipse has no simple closed-form formula for its perimeter. It involves an elliptic integral, a special function that cannot be reduced to elementary arithmetic, which is why accurate approximations and numerical methods are essential tools for engineers, architects, and students alike.

This calculator offers four methods ranging from the elegant Ramanujan approximations to a 20-point Gauss-Legendre numerical integration that is effectively exact for any eccentricity. Choose the method that best suits your precision requirements.

Key Concepts: Semi-major and Semi-minor Axes

Every ellipse is defined by two perpendicular axes:

  • Semi-major axis (a) — half the length of the longest diameter. This is the longer of the two half-axes.
  • Semi-minor axis (b) — half the length of the shortest diameter. Always satisfies b ≤ a.

When a = b, the ellipse degenerates into a circle with radius r = a, and the perimeter is exactly P = 2πa. This calculator detects and handles that case automatically.

Supported Approximation Methods

Ramanujan I (1914)

The celebrated Indian mathematician Srinivasa Ramanujan derived this elegant approximation:

h = (a − b)² / (a + b)²
P ≈ π(a + b)(1 + 3h / (10 + √(4 − 3h)))

The dimensionless parameter h captures the shape of the ellipse: h = 0 for a circle, approaching 1 for a very elongated ellipse. Ramanujan I is accurate to better than 0.0002% for eccentricities below 0.95.

Ramanujan II (Extended Series)

An extension of Ramanujan I that adds a higher-order correction term in , improving accuracy for highly elongated ellipses:

P ≈ π(a + b)(1 + 3h/(10 + √(4−3h)) + (4/44)h³)

This is the default method in the calculator. It is recommended for most practical purposes, balancing simplicity and precision.

Padé Approximant (Hudson Variant)

A rational polynomial approximation:

P ≈ π(a + b)(64 − 3h²) / (64 − 16h)

The Padé form is compact and performs well for moderate eccentricities, though it is slightly less accurate than Ramanujan II at very high eccentricities (e > 0.99).

Exact – Gauss-Legendre Numerical Integration

The true perimeter is given by the elliptic integral of the second kind:

P = 4a ∫₀^(π/2) √(1 − e² sin²θ) dθ

where e = √(1 − (b/a)²) is the eccentricity. This calculator evaluates the integral using a 20-point Gauss-Legendre quadrature, which achieves 15+ significant digits of accuracy. Use this method when maximum precision is required.

Understanding Eccentricity

Eccentricity (e) quantifies how elongated the ellipse is:

e = √(1 − (b/a)²), where a ≥ b

  • e = 0 — perfect circle; all methods agree exactly with 2πa
  • 0 < e < 0.5 — nearly circular; all approximations are very accurate
  • 0.5 ≤ e < 0.9 — moderately elongated; Ramanujan and Padé methods are excellent
  • e ≥ 0.9 — highly elongated; prefer Ramanujan II or the exact Gauss-Legendre method

Famous real-world eccentricities: Earth's orbit ≈ 0.017 (nearly circular), Mars ≈ 0.093, and Halley's Comet ≈ 0.967 (very elongated ellipse requiring careful approximation).

Worked Example

An oval running track has a semi-major axis of 100 m and a semi-minor axis of 60 m. Using Ramanujan II:

h = (100 − 60)² / (100 + 60)² = 1600 / 25600 = 0.0625
P ≈ π × 160 × (1 + 3 × 0.0625 / (10 + √(4 − 3 × 0.0625)))
P ≈ 502.655 × 1.01817 ≈ 511.8 m

The exact Gauss-Legendre result for these dimensions is approximately 511.82 m, demonstrating the high accuracy of Ramanujan II.

Practical Applications

  • Sports engineering — calculating the distance around oval tracks, velodromes, and elliptical arenas for lane marking and timing.
  • Architecture and civil engineering — estimating material lengths for elliptical archways, windows, tunnels, and road layouts.
  • Astronomy and orbital mechanics — computing orbital path lengths for satellites, planets, and comets travelling on elliptical trajectories.
  • Manufacturing — determining belt lengths, gasket circumferences, and edge trim for elliptical parts.
  • Landscape design — planning the edging length for oval garden beds, ponds, and paths.
  • Education — exploring why the ellipse perimeter has no elementary closed form and comparing numerical integration with analytical approximations.

Tips for Accurate Results

  • Use Exact (Gauss-Legendre) when accuracy matters most — for example, in engineering calculations where material costs scale with length.
  • Enable the method comparison tableto see how much all formulas agree for your specific ellipse shape. For most practical shapes (e < 0.9), the difference is negligible.
  • The semi-major axis must be greater than or equal to the semi-minor axis. If you enter them in reverse order, the calculator swaps them automatically.
  • Increase decimal precision before copying the result into further calculations to minimise rounding chain errors.

Frequently Asked Questions

Is the Ellipse Perimeter Calculator free?

Yes, Ellipse Perimeter Calculator is totally free :)

Can I use the Ellipse Perimeter Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Ellipse Perimeter Calculator?

Yes, any data related to Ellipse Perimeter Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

Why is there no exact closed-form formula for the ellipse perimeter?

Unlike the area formula (A = π × a × b), the perimeter of an ellipse involves an elliptic integral — a type of integral that cannot be expressed in terms of elementary functions like polynomials, trigonometric, or exponential functions. Mathematicians have proven this impossibility, which is why we rely on highly accurate approximations or numerical integration instead.

How does this calculator work?

Enter the semi-major axis (a) and semi-minor axis (b) in your chosen unit, select an approximation method, and adjust the decimal precision. The tool computes the perimeter using the selected formula, displays intermediate values such as eccentricity and the h parameter, and optionally shows a side-by-side comparison of all supported methods.

Which approximation method should I use?

For most practical purposes, Ramanujan I or Ramanujan II are excellent choices — they are accurate to better than 0.0001% for typical ellipses. The Exact (Gauss-Legendre) method performs a 20-point numerical integration and is effectively exact for all eccentricities. Choose Exact when maximum precision is required, and a Ramanujan formula when you want to follow a simple analytical expression.

What is eccentricity and how does it affect the perimeter?

Eccentricity (e) measures how stretched the ellipse is, calculated as e = √(1 − (b/a)²). It ranges from 0 (perfect circle) to just below 1 (extremely elongated). As eccentricity increases the perimeter grows relative to what a circle of the same semi-major axis would have, and the Ramanujan approximations become more important because simple formulas diverge more.

What is the h parameter shown in the step-by-step breakdown?

The h parameter is defined as h = (a − b)² / (a + b)². It is a dimensionless quantity used in Ramanujan's formulas to capture the shape of the ellipse compactly. When a = b (circle), h = 0. As the ellipse becomes more elongated, h approaches 1. The Ramanujan perimeter formula expands neatly as a series in h, making it easy to compute by hand.

How accurate is the result?

The Exact (Gauss-Legendre) method is accurate to 15+ significant digits for any eccentricity. Ramanujan I and II are accurate to better than 0.0001% for eccentricities below 0.99. The Padé approximant is slightly less accurate at very high eccentricities but still excellent for most real-world shapes. All methods return a result rounded to your chosen decimal precision.