Home · Math · Plane Geometry · Ellipse Circumference Calculator

Ellipse Circumference Calculator

Circumference of an ellipse from its semi-axes using Ramanujan's second approximation - the ellipse perimeter has no exact closed form.

Your figures

Example result — edit the figures to make it yours

25.53

Circumference (approx.)

Area (for reference)47.12

a = 5 b = 3 Ellipse · semi-axes a = 5 · b = 3
The shape for your figures, drawn and labelled from the same values the result is computed from — change a figure and the drawing follows.

What this calculator does

Circumference of an ellipse from its semi-axes using Ramanujan's second approximation - the ellipse perimeter has no exact closed form. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

C approx. pi (a + b) (1 + 3h / (10 + sqrt(4 - 3h))), h = ((a - b)/(a + b))^2

No elementary formula gives an ellipse's perimeter exactly; it is defined by an elliptic integral. Ramanujan's second approximation, shown here, is accurate to a tiny fraction of a percent for all but extremely flat ellipses.

Enter semi-axes (half-widths). For a circle (a = b) the approximation returns 2 pi a exactly.

Worked example

With the example inputs this page opens with (semi-major axis a 5, semi-minor axis b 3), the result is 25.53 — circumference (approx.). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying semi-major axis a
Semi-major axis aCircumference (approx.)
2.517.31
422.10
525.53
6.2529.96
7.534.52
1043.86

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Ellipse Circumference Calculator work?

Circumference of an ellipse from its semi-axes using Ramanujan's second approximation - the ellipse perimeter has no exact closed form. Semi-axis a - Semi-axis b -> Circumference. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Ellipse Circumference Calculator need?

Semi-axis a - Semi-axis b -> Circumference. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Ellipse Circumference Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.