Ellipse Calculator

Enter the semi-major and semi-minor axes.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

Area is πab. The perimeter is labeled approximate.

A circle is the case where both axes match. Use the circle tool if you only have a radius.

How to use it

  1. Open this page and provide the input it asks for.
  2. Set the options that are visible, then use Calculate ellipse.
  3. Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.

Limitations

Area exact, perimeter by Ramanujan II

Two semi-axes

a and b are the semi-axes. Each must be greater than zero. The area is π × a × b, which is exact for an ellipse in the same sense that πr² is exact for a circle. The perimeter has no elementary closed form. This page approximates it with Ramanujan’s second formula. Let h = ((a − b) / (a + b))². The approximate perimeter is π(a + b) times (1 + (3h) / (10 + √(4 − 3h))). The panel labels that second number as an approximate perimeter.

Equal axes collapse to a circle

When a and b are both 5, h is 0, the area is 25π, and the perimeter approximation becomes π × 10, which is the true circumference of a circle of radius 5. The approximation is exact in that special case because h vanished. A flatter pair, a = 3 and b = 2, has area 6π, about 18.8495559215. There h = (1/5)² = 0.04, and the perimeter approximation evaluates to about 15.8654395893. Swap a and b and h is unchanged, because the difference is squared, so the two readings match.

The approximation is the limitation

Neither axis may be zero or negative. The page does not require you to put the longer axis in a. It does not compute the elliptic integral that would be the true perimeter, so a very flat ellipse can disagree slightly with a high-precision reference even though the area line stays exact. There is no rotation angle and no center coordinate. The figure is axis-aligned in the diagram. If you only have a radius, the circle-area page is the smaller form. It will not print a perimeter either.

How far the approximation may drift

Ramanujan’s second expression is a known tight estimate, not an identity, once h leaves zero. For a nearly circular ellipse the error is tiny compared with display rounding. For a very thin ellipse, treat the perimeter line as a workshop figure and the area line as the one to quote when an exact expression is required. The area πab does not depend on h. You can audit it by multiplying the axes and then multiplying by π on a separate calculator. The perimeter line will not match that audit, because it is a different function of a and b. Both axes are semi-axes: the full width is 2a and the full height is 2b. Typing full widths in both boxes multiplies the area by four.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.