---
slug: ellipse-calculator
title: "Ellipse Calculator"
category: geometry
updated: 2026-11-17
canonical: https://calcseed.com/c/geometry/ellipse-calculator/
html: /c/geometry/ellipse-calculator/
---

# Ellipse Calculator

Calculate the area and perimeter of an ellipse from its semi-major and semi-minor axes using A = πab. Solve for either axis. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (5 units, 3 units), the area is **47.12 units²**. At these inputs: perimeter = **25.53**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Semi-major axis | 5 | units |
| Semi-minor axis | 3 | units |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Area | 47.1239 | units² |
| Perimeter | 25.527 |  |

## Formula

```text
A = &pi;ab     P ≈ &pi;(3(a+b) − &radic;((3a+b)(a+3b)))
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Semi-major axis | number | units | 5 |
| Semi-minor axis | number | units | 3 |
| Area | number | units² | 47.124 |

## Outputs

| Result | Format |
| --- | --- |
| Area | primary |
| Perimeter | number |

## How it works

### What this calculator measures

An ellipse is a stretched circle, fixed by two numbers: the semi-major axis a, the half-width in the long direction, and the semi-minor axis b, the half-width in the short direction. This calculator returns the area in square units and an approximation of the perimeter in plain units, and it can also solve for either axis when you know the area instead. Note that a and b are half-measures: an oval tabletop 10 ft across and 6 ft deep has a = 5 and b = 3.

### The formula, term by term

The area &pi;ab is the circle formula with a built-in squeeze: an ellipse of semi-axes a and b is a circle of radius a compressed by the factor b/a in one direction, and the area shrinks by that same factor, giving &pi;a × (b/a) × a = &pi;ab. When a = b the ellipse is a circle and the formula collapses to &pi;r², a useful sanity check you can run mentally on any result.

The perimeter is a different story. No closed-form expression for an ellipse&rsquo;s circumference exists — the exact value is an elliptic integral, a special function that resisted mathematicians for centuries and partly gave elliptic integrals their name. The calculator uses Ramanujan&rsquo;s approximation, published in 1914 and accurate to within a fraction of a percent for virtually every ellipse you will meet. The ≈ sign in the formula is honest: the perimeter output is a very good estimate, not an exact value.

### Worked example with the defaults

The defaults are a = 5 and b = 3. The area is &pi; × 5 × 3 ≈ 47.12 units². The perimeter goes through Ramanujan&rsquo;s bracket: 3(a + b) = 24, (3a + b)(a + 3b) = 18 × 14 = 252, and &radic;252 ≈ 15.87, leaving 24 − 15.87 = 8.13. Multiplied by &pi; that is &pi; × 8.13 ≈ 25.53 units.

Two checks confirm the numbers. The perimeter must fall between the circumferences of the inscribed and circumscribed circles, 2&pi;b ≈ 18.85 and 2&pi;a ≈ 31.42 — and 25.53 sits between them. The area, meanwhile, must sit between &pi;b² ≈ 28.27 and &pi;a² ≈ 78.54. Both tests pass, and both are fast enough to run by hand on any future result.

### What moves the numbers

| Semi-major a | Semi-minor b | Area | Perimeter (approx.) |
| --- | --- | --- | --- |
| 5 | 5 | 78.54 | 31.42 |
| 5 | 3 | 47.12 | 25.53 |
| 5 | 1 | 15.71 | 21.01 |
| 10 | 3 | 94.25 | 43.86 |

Read the first three rows as one experiment: hold a = 5 and flatten the ellipse. The area collapses from 78.54 to 15.71 units² — a five-fold drop, since the area is proportional to b — but the perimeter only falls from 31.42 to 21.01 units, because a flattened ellipse still has to travel out to a and back along its long ends. Area responds to the axes proportionally; perimeter responds stubbornly. Row four shows the other lever: growing a to 10 at b = 3 triples the area but only 1.7-times the perimeter.

#### Where ellipses matter

- **Orbits.** Planets and satellites trace ellipses; Earth&rsquo;s orbit has a ≈ 149.6 million km, and its oval shape is so slight (the polar axis of the planet itself is only 0.33% shorter than the equatorial) that the orbit&rsquo;s perimeter differs from a circle&rsquo;s by under 0.02%.
- **Optics.** Elliptical mirrors and whispering galleries focus sound and light between the two foci, which sit c = &radic;(a² − b²) from the centre — exactly 4 units from the centre of the default ellipse, completing a 3-4-5 triangle.
- **Layout and fabrication.** Oval tables, windows, planters and tanks are bought and cut by their elliptical area; a 10 × 6 ft oval table top covers 47.12 ft².

### Common mistakes

- Entering full widths as semi-axes: an oval 10 across and 6 deep needs a = 5, b = 3; typing 10 and 6 quadruples the area to 188.50 units² and inflates the perimeter badly.
- Treating the perimeter as exact: Ramanujan&rsquo;s formula is within a fraction of a percent for moderate shapes, but it is still an approximation, which matters when fencing or edging is cut to length.
- Worrying about the order of a and b: every formula here is symmetric in the two axes, so swapping them changes nothing.
- Mixing units between the two axes, which corrupts the area in units² and the perimeter together.

One comparison surprises people: an ellipse holds less area than the circle whose circumference it matches. The default ellipse (perimeter 25.53) has the same perimeter as a circle of radius 4.06, but that circle encloses about 51.9 units² against the ellipse&rsquo;s 47.12 — roughly 10% more. Among closed curves of equal perimeter, the circle encloses the most area, and every departure from circular costs you.

### Solving for a missing axis

The area variable is solvable against either axis because &pi;ab rearranges cleanly: a = A ÷ (&pi;b) and b = A ÷ (&pi;a). With A = 47.124 and b = 3, the major axis solves to 47.124 ÷ 9.425 = 5. The same division recovers b = 3 from a = 5. Note the limits: an area smaller than &pi;b² forces a below b, which just means your labels were swapped, and an area larger than the solver expects usually signals full widths entered instead of half-widths.

## FAQ

### How do I find the area of an ellipse?

Multiply &pi; by the two semi-axes: A = &pi;ab. At the defaults a = 5 and b = 3, the area is &pi; × 15 ≈ 47.12 square units.

### How do I find the perimeter of an ellipse?

There is no exact closed-form formula, so the calculator uses Ramanujan&rsquo;s approximation. For a = 5 and b = 3 it gives &pi;(24 − &radic;252) ≈ 25.53 units, accurate to within a fraction of a percent.

### Are a and b the full width of the ellipse?

No. They are semi-axes, meaning half-widths. An oval 10 units across and 6 deep has a = 5 and b = 3; entering 10 and 6 makes the area four times too large (188.50 instead of 47.12).

### When is an ellipse a circle?

When the two semi-axes are equal. Setting a = b = 5 collapses the perimeter to 2&pi; × 5 = 31.42 and the area to &pi; × 25 = 78.54, the ordinary circle values.

### Which changes the ellipse more: the major or minor axis?

The minor axis moves the area more per unit, since A = &pi;ab treats both equally but flattening b also shrinks the shape&rsquo;s height. Perimeter barely responds: from b = 5 to b = 1 at a = 5, the area falls 80% but the perimeter only 33%.

### How accurate is Ramanujan&rsquo;s perimeter formula?

For ordinary ellipses it is correct to within a fraction of a percent; the error only becomes visible for extremely elongated shapes. It is more than good enough for fencing, edging and material estimates.

### Does it matter which axis I call major?

No. The area and the perimeter are symmetric in a and b, so swapping the two values gives identical outputs. Convention puts the larger value in a for clarity.

### How much less area does an oval hold than a circle of the same perimeter?

About 10% for the default shape: its 25.53-unit perimeter would circle 51.9 units² as a circle, but the ellipse encloses only 47.12. The gap widens as the oval flattens.

### How do I solve for a missing semi-axis?

Divide the area by &pi; times the other axis. With A = 47.124 and b = 3, the semi-major axis is 47.124 ÷ (&pi; × 3) = 5.

## Method and sources

Methodology: Formulas are the standard closed-form expressions of Euclidean geometry, exact for the given inputs.

Last updated: 2026-11-17.
- Ellipse area: A = πab; perimeter (Ramanujan): p ≈ π(3(a+b) − √((3a+b)(a+3b))).
