Ellipse calculator

Semi-axes a ≥ b. Area is exact: πab. Circumference has no elementary closed form — we use Ramanujan’s second approximation.

Report error
Area
π a b
Circumference
Ramanujan II
Eccentricity
c / a
GEOMETRY

Ellipse geometry

b / a = —
AXIS PROPORTIONS

How the semi-axes compare

a
b
b / a
GEOMETRY AT A GLANCE

Key dimensions

Major axis2a
Minor axis2b
Focal distancec
Eccentricitye

Parts

PartValue
A = πab

Semi-axes

Understanding the geometry

Understanding the Geometry of an Ellipse

An ellipse is one of the fundamental curves of analytic geometry. It looks like a stretched or compressed circle, but its geometry is governed by a precise relationship between two axes, two focal points, and the distances measured from the center. If you understand the roles of the semi-major axis a and semi-minor axis b, nearly every important measurement follows naturally.

F₂ F₁ center a b c major axis minor axis

The semi-major axis a is the longer center-to-vertex distance; b is the shorter one; c locates each focus.

1. What exactly is an ellipse?

A rigorous definition is more useful than simply calling an ellipse an “oval.” An ellipse is the set of all points in a plane for which the sum of the distances to two fixed points is constant. Those fixed points are called the foci.

For a horizontal ellipse, the semi-major axis is a and the semi-minor axis is b, with a ≥ b. The full major and minor axes therefore have lengths 2a and 2b.

Geometric idea: if a = b, the two axes become equal and the ellipse becomes a circle. Thus a circle is not a separate species of curve; it is the most symmetric special case of an ellipse.

2. The standard equation

When the ellipse is centered at the origin and its major axis is horizontal, its standard equation is:

x²/a² + y²/b² = 1

The equation says exactly how far a point may move horizontally and vertically while remaining on the curve. If the center is shifted to (h, k), the equation becomes:

(x − h)²/a² + (y − k)²/b² = 1

The calculator itself works from the two semi-axes, so the geometric center does not affect area, circumference, or eccentricity. It only changes the coordinates of the ellipse's key points.

3. The four quantities that organize the ellipse

Semi-major axis
a = longer center → vertex
Half of the full major axis.
Semi-minor axis
b = shorter center → vertex
Half of the full minor axis.
Linear eccentricity
c = √(a² − b²)
Center-to-focus distance.
Numerical eccentricity
e = c/a
Dimensionless measure of elongation.

4. Area: why A = πab

The area formula is exact:

A = πab

One way to understand it is to begin with a circle of radius 1, whose area is π. Stretch that circle horizontally by a factor of a and vertically by a factor of b. Every small area element is scaled by the product ab, so the total area becomes πab.

This also gives an immediate dimensional check. Because a and b are lengths, their product has units of length squared, exactly what an area must have.

Worked example · a = 10, b = 6
A = π(10)(6)
A = 60π
A ≈ 188.496 square units

5. Eccentricity: measuring how stretched the ellipse is

Eccentricity gives us a dimensionless description of shape. For a horizontal ellipse:

c = √(a² − b²)    and    e = c/a

A circle has a = b, so c = 0 and therefore e = 0. As b becomes smaller relative to a, the foci move farther from the center and e increases toward 1. The closer e is to 1, the more elongated the ellipse becomes.

ShapeRelationshipEccentricity
Circlea = be = 0
Moderately elongated ellipseb somewhat smaller than a0 < e < 1
Highly elongated ellipseb ≪ ae approaches 1

6. Foci and the defining property

The foci are located at equal distances from the center on the major axis. That distance is c, so the foci are at (−c, 0) and (c, 0) when the ellipse is centered at the origin.

Their importance is not merely computational. Pick any point P on the ellipse and measure its distance to both foci. The sum is always exactly 2a:

PF₁ + PF₂ = 2a

This is the property that makes the classic “two pins and a string” construction work: fix two pins at the foci, keep a string of total length 2a taut, and the pencil traces the ellipse.

7. Circumference: the difficult measurement

Unlike the circle, an ellipse does not have a simple elementary formula for its exact perimeter. The exact value can be expressed using elliptic integrals. For ordinary calculator work, a high-quality approximation is much more practical.

This calculator uses Ramanujan’s second approximation:

C ≈ π(a + b) [1 + 3h / (10 + √(4 − 3h))]

h = ((a − b)/(a + b))²

The important point is that h measures how different the two semi-axes are. When a and b are equal, h becomes zero and the formula collapses to the familiar circle circumference 2πa.

Why not pretend the result is exact? Because an ellipse's perimeter genuinely has a more complicated mathematical structure than a circle's circumference. Reporting the approximation honestly is part of doing the geometry correctly.
Worked example · circumference for a = 10, b = 6
h = ((10 − 6)/(10 + 6))² = 0.0625
C ≈ π(16)[1 + 3(0.0625)/(10 + √(4 − 3(0.0625)))]
C ≈ 51.05 units

8. Axis lengths versus semi-axis lengths

One of the most common sources of error is confusing an axis with a semi-axis. The calculator asks for a and b, which are center-to-edge distances, not the full widths.

QuantityMeaningFor a = 10, b = 6
Major semi-axisa10
Minor semi-axisb6
Full major axis2a20
Full minor axis2b12
Focus distance from centerc8

9. A useful limiting case: the circle

A strong mathematical formula should survive its special cases. Set a = b = r. Then:

Area
A = πr²
Circumference
C = 2πr
Linear eccentricity
c = 0
Numerical eccentricity
e = 0

This is more than a curiosity. It is a useful verification test for both the mathematics and the calculator: if equal semi-axes do not produce circle values, something is wrong.

10. Worked example: the complete picture

Given · a = 10 units, b = 6 units
Major axis = 2a = 20
Minor axis = 2b = 12
Area = πab = 60π ≈ 188.496
c = √(100 − 36) = 8
e = 8/10 = 0.8
h = (4/16)² = 0.0625
Ramanujan II circumference ≈ 51.05 units

11. Common mistakes students make

  • Using full diameters in A = πab. The formula requires semi-axis lengths.
  • Assuming circumference is exactly 2π√((a²+b²)/2). That is an approximation, not the exact ellipse perimeter.
  • Forgetting which axis is major. In the calculator, a is the larger semi-axis after the values are sorted.
  • Confusing c with eccentricity e. c has units of length; e has no units.
  • Expecting the foci to remain fixed when b changes. Their distance from the center is c = √(a²−b²), so their positions depend on both axes.

12. FAQ

Is every oval an ellipse?

No. “Oval” is a broad visual description. An ellipse is a precisely defined mathematical curve with two foci and a fixed sum-of-distances property.

Can an ellipse have a vertical major axis?

Yes. The geometry is unchanged; the major and minor directions are simply rotated. The calculator uses the larger value as a.

Why is ellipse circumference approximate?

The exact perimeter is expressed through elliptic integrals rather than a simple elementary formula. Ramanujan’s second approximation gives a highly accurate practical result.

What happens when a = b?

The ellipse becomes a circle. Area becomes πa², circumference becomes 2πa, and eccentricity becomes zero.

What does eccentricity tell me physically?

It tells you how far the ellipse departs from circular symmetry. Zero means a perfect circle; values closer to one indicate a more elongated shape.

The central idea to remember: a and b determine the scale of the ellipse, c determines where the foci sit, e describes how elongated the shape is, A measures its interior, and the perimeter requires an approximation such as Ramanujan II.