Ellipse Circumference Calculator screenshot

Ellipse Circumference Calculator

Approximate an ellipse's perimeter from its semi-axes with Ramanujan's formula, and give the exact area.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Exact where arithmetic allows

Ellipse Circumference Calculator

Approximate an ellipse's perimeter from its semi-axes with Ramanujan's formula, and give the exact area.

What the page prints, and what it refuses

Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page estimates an ellipse's perimeter from its semi-axes. Semi-axes of 5 and 3 give a circumference of about 25.526999 and an exact area of 47.12389.

An ellipse's perimeter has no elementary closed form, so the page uses Ramanujan's second approximation and labels it as an approximation. When a equals b the shape is a circle and the answer reduces to 2πa exactly.

Why the perimeter is only approximate

The exact perimeter is an elliptic integral, which has no expression in elementary functions. Ramanujan's formula replaces it with π(a + b)(1 + 3h/(10 + √(4 − 3h))), where h = ((a − b)/(a + b))².

The approximation is very good for ordinary eccentricities and exact for a circle. The page prints h, which is 0 for a circle and approaches 1 for a very flat ellipse, so the reader can see how far from circular the shape is.

How to use Ellipse Circumference Calculator

Enter the two semi-axes, not the full axes, then press Run.

The result prints the approximate circumference, both semi-axes, h, the exact area and the method.

What to Expect

Best for

  • Estimating an ellipse's perimeter
  • Getting the exact area alongside it
  • Seeing how eccentricity affects the perimeter

Not ideal for

  • An exact perimeter, which does not exist in elementary terms
  • The full axes entered as semi-axes
  • An ellipse in three dimensions

What this tool keeps

  • Both semi-axes exactly as typed

What may need cleanup

  • Nothing: the values are final numbers

Common errors

  • A zero or negative semi-axis is refused
  • A non-numeric input is refused by name

Example use cases

  • Estimate the perimeter of a 5 by 3 ellipse
  • Check that a circle gives 2πa
  • Compare a flat ellipse with a circle

Sample input

a = 5, b = 3

Sample output

circumference ≈ 25.526999, area = 47.12389, h = 0.0625

Who this is for

  • Geometry students
  • Readers estimating a track or an orbit

Frequently asked questions

Why is the result approximate?

The exact perimeter is an elliptic integral. The page uses Ramanujan's approximation, which is accurate to many digits for ordinary ellipses, and says so instead of implying a closed form.

Should I enter the axes or the semi-axes?

The semi-axes, which are half the full axes. A full width of 10 and height of 6 means a = 5 and b = 3.

What is h?

A dimensionless measure of eccentricity, ((a − b)/(a + b))². It is 0 for a circle and grows toward 1 as the ellipse flattens.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.