Calculates the area of an ellipse as π × semi-major axis × semi-minor axis. When the two radii are equal this reduces to the area of a circle, πr². The perimeter is given by Ramanujan's approximation.
An ellipse is a circle stretched in one direction. The distance from the centre to the farthest point is the semi-major axis , and the distance to the nearest point is the semi-minor axis . The area is just their product, times .
When the ellipse is a circle and the formula reduces to .
With the defaults, and :
The area is about 47.1239. For the perimeter the calculator uses Ramanujan's approximation
Here and , so .
The area formula is exact, but there is no elementary closed form for the perimeter of an ellipse. The true perimeter is an elliptic integral, and it cannot be written with finitely many arithmetic operations and square roots. The figure shown here comes from Ramanujan's approximation, whose error is minute unless and are wildly different. Both axes must be positive, and swapping them leaves the area and the perimeter unchanged.