MathorynMathematical Formula Database

Geometry

Perimeter of an Ellipse (Ramanujan)

The perimeter of an ellipse has no elementary closed form, but Ramanujan's approximation is extremely accurate for all ordinary ellipses. It is used for oval tracks, tables, garden beds and anywhere the length around an ellipse is needed.

P≈π[3(a+b)−(3a+b)(a+3b)]P\approx\pi\left[3(a+b)-\sqrt{(3a+b)(a+3b)}\right]
LaTeXP\approx\pi\left[3(a+b)-\sqrt{(3a+b)(a+3b)}\right]

Variables

PP
perimeter (circumference)
aa
semi-major axis
bb
semi-minor axis

Example

Estimate the perimeter for a=5, b=3a=5,\ b=3.

  1. 3(a+b)=243(a+b)=24.
  2. (3a+b)(a+3b)=18⋅14=252(3a+b)(a+3b)=18\cdot14=252, 252≈15.8745\sqrt{252}\approx15.8745.
  3. P≈π(24−15.8745)=π⋅8.1255P\approx\pi(24-15.8745)=\pi\cdot8.1255.

Answer: P≈25.527P\approx25.527.

Related formulas