No ads, no sign-upChecked 2026-08-23

Ellipse Perimeter Calculator

Result

25.526986units

Result: 25.526986 units

An ellipse has no exact perimeter formula in elementary functions, so this uses Ramanujan's first approximation — accurate far beyond the six digits shown. Both semi-axes go in with the same length unit and the perimeter comes back in it. Equal axes give the circle, 2πr.

The numbers at a glance

Held fixed: Semi-major axis a 5.000.

Semi-minor axis bResult
1.00021.005604
2.00023.012812
3.000Your value25.526986
4.00028.361668
5.00031.415927
6.00034.628956

Worked examples

How it's calculated

P ≈ π(3(a + b) − √((3a + b)(a + 3b)))

  1. StepMeasure the long semi-axis a — half the longest diameter.
  2. StepMeasure the short semi-axis b, at a right angle to it.
  3. ResultRead the perimeter in the same unit you entered.

Reference table

a, bNotePerimeter
2.5, 2.5circle, 5π15.707963
4, 22:1 ellipse19.376842
5, 3Ramanujan25.526986
5, 5circle, 10π31.415927
10, 52:1 ellipse48.442105

Questions

How do you calculate the perimeter of an ellipse?

There is no exact elementary formula, so a very close approximation is used: π(3(a + b) − √((3a + b)(a + 3b))). With a = 5 and b = 3 it gives about 25.526986.

How accurate is Ramanujan's approximation?

For ordinary ellipses the relative error stays below one part in a billion. It is far tighter than the six decimals shown here.

Why is there no exact formula?

The perimeter is an elliptic integral, which cannot be written with roots, logarithms and trigonometric functions alone. That is what gave elliptic integrals their name.

What happens when both axes are equal?

The ellipse is a circle and the formula reduces exactly to 2πr. Axes of 5 give 10π, about 31.415927.

Sources and last check

  1. mathworld.wolfram.com

Information, not professional advice.