Ellipse Calculator

Area47.12
Circumference (Ramanujan approximation)25.53
Eccentricity0.8
Distance between the foci8.00
How this was calculated
  1. Area is the circle formula stretched: π × a × b = π × 5 × 3 = 47.12 square units. When a = b it collapses to the familiar πr².
  2. No elementary formula gives an ellipse's perimeter exactly, so this uses Ramanujan's second approximation: π × [3(a + b) − √((3a + b)(a + 3b))] = 25.53 — accurate to well under 1% for everyday shapes.
  3. The focal distance is c = √(a² − b²) = 4.00, putting the foci 8.00 apart, and the eccentricity e = c ÷ a = 0.8: 0 is a circle, values near 1 are long and thin.

An ellipse calculator finds the key measurements of any ellipse from its two axes: the semi-major axis (a) and the semi-minor axis (b). Enter those two values and the tool returns the area, the circumference (perimeter), the eccentricity, and the distance between the two foci. The area follows the formula π × a × b, so a = 5 and b = 3 gives an area of 47.12. The eccentricity e = √(a² − b²) ÷ a runs from 0 for a circle toward 1 for a needle shape; when a = 10 and b = 2, the eccentricity is 0.9798, a long, thin ellipse with the foci 8 apart in the a = 5, b = 3 case.

No elementary formula gives an ellipse's perimeter exactly, so this calculator uses Ramanujan's second approximation, the accepted standard for this kind of calculation because it is accurate to well under 1% for everyday shapes. That is why the a = 5, b = 3 ellipse gives a circumference of about 25.53, while a = 10, b = 2 gives about 42.01. When a = b = 4 the shape is a circle in disguise, with area 50.27 equal to π × 16 and circumference 25.13. This page shows the formula, step-by-step workings, worked examples and sources so you can verify every result.

Worked examples

Classic 5 by 3

Primary result: 47.12. (5 · 3)

Area47.12
Circumference (Ramanujan approximation)25.53
Eccentricity0.8
Distance between the foci8.00

A circle in disguise (4, 4)

Primary result: 50.27. (4 · 4)

Area50.27
Circumference (Ramanujan approximation)25.13
Eccentricity0
Distance between the foci0.00

Long and thin (10, 2)

Primary result: 62.83. (10 · 2)

Area62.83
Circumference (Ramanujan approximation)42.01
Eccentricity0.9798
Distance between the foci19.60

Area: the circle formula, stretched

An ellipse is really just a circle that has been stretched in one direction, and its area formula reflects that. For a circle, you use πr², where r is the radius. For an ellipse, you use π × a × b, where a is the semi-major axis (half the longest width) and b is the semi-minor axis (half the shortest width). The π stays the same; you simply swap the single radius for two different measurements that account for the stretch.

To see why this works, imagine starting with a circle where a equals b. If a = b = 4, the area formula becomes π × 4 × 4, which is π × 16, or 50.27. That is exactly the circle formula, πr², because when both axes are equal there is no stretch at all. The shape is a circle in disguise. The moment a and b become different values, the shape elongates and the same formula adapts, scaling the area by how much longer one axis is than the other.

The ellipse calculator confirms this with a few quick examples. With a = 5 and b = 3, the area is π × 5 × 3 = 47.12. Stretch the same shape further to a = 10 and b = 2, and the area becomes π × 10 × 2 = 62.83. Notice that doubling a while shrinking b does not double the area — the product a × b went from 15 to 20, so the area grew proportionally. The formula tracks the total space inside, not how elongated the boundary happens to be.

Elongation shows up in other measurements, not in the area itself. The eccentricity formula, e = √(a² − b²) ÷ a, runs from 0 for a perfect circle toward 1 for a needle-thin shape. That a = 10, b = 2 ellipse has an eccentricity of 0.9798, making it long and thin, yet its area of 62.83 is only modestly larger than the 47.12 of the more balanced 5-by-3 ellipse. The foci sit c units apart, where c = √(a² − b²), so for the 5-by-3 case the foci are 8 apart. Area tells you how much space the ellipse contains; eccentricity and focal distance tell you how stretched that space is.

One thing the area formula cannot do is describe the perimeter. No elementary formula gives an ellipse's perimeter exactly, which is why the calculator turns to Ramanujan's second approximation — accurate to well under 1% for everyday shapes. The 5-by-3 ellipse has a circumference of about 25.53, while the 10-by-2 ellipse runs about 42.01, even though their areas differ by less than 16 square units. A stretched circle keeps its area formula simple, but its boundary length is another matter entirely.

Worked examples

The ellipse calculator above gives you instant results, but seeing the math step by step helps you understand what the numbers mean. The table below walks through three verified ellipses: a classic shape, a circle in disguise, and a needle-thin extreme. For each one, the area follows directly from the formula π × a × b, where a and b are the semi-major and semi-minor axes.

Circumference is the trickier value. No elementary formula gives an ellipse's perimeter exactly, so the calculator relies on Ramanujan's second approximation, which is accurate to well under 1% for everyday shapes. Eccentricity, defined as e = √(a² − b²) ÷ a, runs from 0 for a perfect circle toward 1 for a flattened needle. The focal distance is c = √(a² − b²), and the two foci sit 2c apart.

The first row shows a classic ellipse with a = 5 and b = 3. The area works out to 47.12, and Ramanujan's approximation gives a circumference of about 25.53. The eccentricity is 0.8, and the foci are 8 apart — a noticeably stretched but still recognizable oval.

The second row sets a = b = 4. When the semi-major and semi-minor axes match, the ellipse becomes a circle in disguise. The area is 50.27, which equals π × 16, and the circumference is 25.13. The eccentricity drops to 0, confirming the shape is perfectly round.

The third row pushes the ellipse to an extreme with a = 10 and b = 2. The area is 62.83, and the circumference comes out to about 42.01. The eccentricity reaches 0.9798, producing a long, thin ellipse that looks more like a stretched line than a typical oval.

ShapeSemi-major axis (a)Semi-minor axis (b)Area (π × a × b)Circumference (Ramanujan)Eccentricity (e)Foci apart (2c)
Classic ellipse5347.12about 25.530.88
Circle in disguise4450.2725.1300
Needle-thin ellipse10262.83about 42.010.9798—
Notice that the needle-thin ellipse (a = 10, b = 2) has a larger area than the classic one (a = 5, b = 3) even though it looks far less substantial. Area depends on the product of a and b, not on how round the shape appears.

The circumference problem

Unlike the area of an ellipse, which is simply π × a × b, no elementary formula gives an ellipse's perimeter exactly. The area formula uses the semi-major axis a and the semi-minor axis b directly, but the distance around the boundary requires what mathematicians call an elliptic integral. These integrals cannot be reduced to a closed-form expression using basic arithmetic, square roots, or trigonometric functions. That is why an ellipse calculator must rely on an approximation to produce a usable number for circumference.

Ramanujan's second approximation is the practical answer. It is accurate to well under 1% for everyday shapes, which covers virtually every ellipse you are likely to encounter. For a verified example, take a = 5 and b = 3. The area is 47.12, the eccentricity is 0.8, and the two foci sit 8 units apart. The circumference, using Ramanujan's approximation, comes to about 25.53. For a long, thin ellipse such as a = 10 and b = 2, the area is 62.83, the eccentricity reaches 0.9798, and the circumference is about 42.01. Even at that extreme aspect ratio, the approximation holds up well.

Eccentricity measures how stretched an ellipse is. The formula is e = √(a² − b²) ÷ a, and the value runs from 0 for a circle toward 1 for a needle-like shape. The focal distance is c = √(a² − b²), so in the a = 5, b = 3 example the foci are 8 apart because c = 4 and there are two foci. When a = b = 4, the ellipse is a circle in disguise. The area is 50.27, which equals π × 16, and the circumference is 25.13. Eccentricity drops to 0 because there is no stretch. A reliable ellipse calculator handles both the circular case and the stretched case without requiring you to switch tools or formulas.

Foci and eccentricity

Every ellipse has two special interior points called foci (singular: focus). You can picture how they work with the classic string-and-pins method. Push two pins into a board at the foci, loop a loose string around both pins, pull the string taut with a pencil, and trace a curve. Because the pencil keeps the total distance to the two pins constant, the shape it draws is always an ellipse. Move the pins closer together and the ellipse rounds out; pull them farther apart and it stretches.

The distance from the center of the ellipse to either focus is called c, and it follows directly from the semi-major axis a and the semi-minor axis b. The formula is c = √(a² − b²). The two foci sit on the major axis, one on each side of the center, so the total distance between them is 2c. When you use our ellipse calculator, entering a = 5 and b = 3 gives c = 4, which means the foci are 8 apart. That same input produces an area of 47.12 and a circumference of about 25.53 using Ramanujan's approximation.

Eccentricity, written as e, describes how stretched an ellipse is. The formula is e = c ÷ a, or equivalently e = √(a² − b²) ÷ a. Eccentricity always runs from 0 up toward 1. A value of 0 means the shape is a circle in disguise — the two foci have merged at the center. As e approaches 1, the ellipse flattens into a thin needle. For a = b = 4, the eccentricity is 0, the area is 50.27 (equal to π × 16), and the circumference is 25.13. At the other extreme, a = 10 with b = 2 gives an eccentricity of 0.9798, a long, thin ellipse with an area of 62.83 and a circumference of about 42.01.

Eccentricity and focal distance are useful because they tell you the shape of an ellipse without requiring you to draw it. Two ellipses can have the same area but very different eccentricities, meaning one looks nearly circular while the other looks like a flattened cigar. No elementary formula gives an ellipse's perimeter exactly, and Ramanujan's second approximation is accurate to well under 1% for everyday shapes, so the circumference values shown above are close approximations rather than exact figures.

Semi-axes vs full axes

An ellipse has two key lengths: the semi-major axis (a) and the semi-minor axis (b). The prefix 'semi' means these are half-measurements — they run from the center of the ellipse to its edge, not all the way across. The full major axis spans the entire width, so it equals 2a, and the full minor axis equals 2b. This is where many people slip up when using an ellipse calculator: they type in the full widths where the tool expects the semi-axes.

That single mistake produces an area that is four times too large, because the area formula is π × a × b. If your ellipse measures 10 units across its long way and 6 units across its short way, the correct inputs are a = 5 and b = 3. Plugging in the full values instead (10 and 6) gives π × 10 × 6 = 188.50, exactly four times the true area of 47.12. The same factor-of-four error distorts the circumference, which is about 25.53 using Ramanujan's approximation, and throws off every derived value, including the eccentricity of 0.8 and the foci separation of 8.

The distinction matters most when you are reading a diagram or a problem statement that says 'the major axis is 10.' Ask yourself: is that the full length across, or the distance from center to edge? In standard geometry, 'major axis' means the full span, while 'semi-major axis' means half of it. When a calculator asks for a and b, it wants the semi-axes. Confirm what your source reports before entering values, and the factor-of-four error never arises.

Two quick checks help you verify your inputs. First, if a equals b, the shape is a circle in disguise — for example, a = b = 4 gives an area of 50.27, which is π × 16, and a circumference of 25.13. Second, watch the eccentricity: it runs from 0 (a perfect circle) toward 1 (a flattened needle). A long, thin ellipse such as a = 10, b = 2 has an eccentricity of 0.9798, an area of 62.83, and a circumference of about 42.01. If your results look wildly off, recheck whether you entered semi-axes or full axes.

Always confirm whether your source gives the full axis or the semi-axis. Entering a full axis where a semi-axis belongs makes your area four times too large.

Ellipses in orbit

Kepler's first law tells us that planets do not orbit the Sun in perfect circles. Instead, each planet follows an elliptical path, with the Sun sitting at one of the ellipse's two foci. That single insight, published in 1609, replaced centuries of circular-orbit thinking and gave astronomers a geometric framework that still holds today. An ellipse calculator built on the same math can show why two orbits with the same area can look completely different, and why one planet's path barely deviates from a circle while another stretches far across the sky.

The number that classifies an orbit is eccentricity. The formula is e = √(a² − b²) ÷ a, where a is the semi-major axis and b is the semi-minor axis. Eccentricity runs from 0 for a perfect circle toward 1 for a long, needle-like ellipse. The focal distance is c = √(a² − b²), and the two foci sit 2c apart. When a = 5 and b = 3, eccentricity is 0.8 and the foci are 8 apart — already a noticeably stretched ellipse. Push the shape to a = 10 and b = 2 and eccentricity climbs to 0.9798, a long, thin ellipse that would represent a comet-like orbit rather than a planet's.

A low eccentricity, by contrast, means the orbit is nearly circular. When a = b = 4, the shape is a circle in disguise: area 50.27, which equals π × 16, and circumference 25.13. Earth's orbit is much closer to this case than to the stretched examples above, which is why early astronomers could get away with circular approximations for so long. The ellipse area formula, π × a × b, stays the same whether the shape is a circle or a slender ellipse, so area alone cannot tell you how elongated an orbit is. For that, eccentricity is the key.

Orbit calculations often need perimeter too, and here the math gets harder. No elementary formula gives an ellipse's perimeter exactly. Ramanujan's second approximation is accurate to well under 1% for everyday shapes, which is why a reliable ellipse calculator usually relies on it rather than on simpler rules that drift far from the true value. For a = 5 and b = 3, Ramanujan's approximation gives a circumference of about 25.53; for a = 10 and b = 2, about 42.01. These numbers matter when you are estimating how long a body spends in different parts of its orbit, because a stretched ellipse sends a planet or comet racing through the region near the Sun and crawling through the distant arc.

FAQs

How do you calculate the area of an ellipse?

Multiply π by the two semi-axes. For example, with semi-axes of 5 and 3 units, the area is π × 5 × 3 = 47.12 square units. The formula is π × a × b, where a and b are the semi-major and semi-minor axes. Make sure you use the semi-axes, not the full diameters, or your result will be off.

Is there an exact formula for an ellipse's circumference?

Not exactly — the perimeter requires an elliptic integral, so there is no simple closed-form formula. Ramanujan's approximation is a popular alternative. For a 5-by-3 ellipse, it gives 25.53, accurate to a small fraction of a percent. This makes it practical for most uses without the need for advanced calculus or integral tables.

What is eccentricity?

Eccentricity measures how flat an ellipse is, calculated as e = √(a² − b²) ÷ a. A circle has an eccentricity of 0. A 10-by-2 ellipse scores 0.9798, nearly a line segment. The closer the value is to 1, the more stretched the ellipse becomes.

What is the difference between axes and semi-axes?

Semi-axes run from the centre to the edge, while full axes (the diameters) are double that length. The area formula πab uses the semi-axes, so halve your measurements first if you measured all the way across. Confusing the two is a common mistake that leads to results four times larger than they should be.

How far apart are the foci?

The foci are 2c apart, where c = √(a² − b²). For the 5-by-3 ellipse, that works out to 8 units. Both foci sit on the major axis, on either side of the centre. The closer the foci are to each other, the more circular the ellipse appears.

Where do ellipses appear in real life?

Ellipses appear in planetary orbits. Planets move on ellipses with the Sun at one focus, not at the centre. Earth's eccentricity is only 0.0167, nearly circular, which is why the distance from Earth to the Sun varies so little throughout the year.

Sources

Related calculators

Circle Calculator
Give any one of radius, diameter, circumference or area and get all four — with the step from the value you know to the ones you don't.
Regular Polygon Area Calculator
Area, perimeter, apothem and circumradius of a regular polygon from its side count and side length.
Surface Area Calculator
Surface area of a sphere, cone or cuboid — with the lateral, base and face-by-face breakdowns that painting and wrapping estimates actually need.
Arc Length Calculator
The length of a circular arc from radius and angle — plus the sector area, the chord length and the slice's share of the whole circle.