Home › Calculators › Ellipse Calculator

Ellipse Calculator

Enter the semi-major axis a and semi-minor axis b (or the full width and height) to get the area, perimeter, eccentricity, focal distance, foci and the standard equation, with every step worked out.

Last updated:

I am entering

If b is larger than a they are swapped automatically.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Ellipse Calculator

  1. Choose semi-axes or full axes. Full axes are the overall length and width of the oval.
  2. Enter a and b and pick a unit.
  3. Optionally set the orientation and center to get coordinates of the foci and the equation.
  4. Read the area and perimeter, then the eccentricity, foci and other properties.
  5. Check the steps and the perimeter formula comparison, or copy the results.

Ellipse formulas

PropertyFormulaExample (a = 5, b = 3)
AreaA = π·a·b47.1239
Perimeter (Ramanujan II)π(a + b)(1 + 3h / (10 + √(4 − 3h))), h = (a − b)²/(a + b)²25.5270
Perimeter (Ramanujan I)π[3(a + b) − √((3a + b)(a + 3b))]25.5270
Focal distancec = √(a² − b²)4
Eccentricitye = c / a = √(1 − b²/a²)0.8
Latus rectum2b² / a3.6
Flatteningf = (a − b) / a0.4
Directrixx = ± a / e± 6.25

The defining property of an ellipse is that the sum of the distances from any point on the curve to the two foci is constant and equals the major axis 2a. That is why you can draw one with a loop of string around two pins.

Why the perimeter needs an approximation

Unlike a circle, an ellipse has no elementary formula for its circumference. The exact value is the elliptic integral P = 4a ∫0π/2 √(1 − e² sin²θ) dθ, which the calculator evaluates numerically. Srinivasa Ramanujan's 1914 approximations are so close that for everyday shapes the difference is invisible:

Axis ratio b/aEccentricityRamanujan II relative error2π√((a²+b²)/2) relative error
0.90.436< 0.0000001%+0.07%
0.60.8< 0.0000001%+1.49%
0.30.954about −0.000007%+5.76%
0.10.995about −0.001%+9.87%

Frequently asked questions

How do you find the area of an ellipse?

Multiply π by the two semi-axes: A = π × a × b. For a = 5 and b = 3 the area is π × 15 ≈ 47.12 square units. If you know the full length and width instead, halve them first.

Is there an exact formula for the perimeter of an ellipse?

No simple one. The exact perimeter is 4a·E(e), where E is the complete elliptic integral of the second kind. Ramanujan's approximation P ≈ π(a + b)(1 + 3h / (10 + √(4 − 3h))), with h = (a − b)² / (a + b)², is accurate to better than a few parts per million for most ellipses.

What is the eccentricity of an ellipse?

Eccentricity e = c / a = √(1 − b²/a²) measures how stretched the ellipse is. It is 0 for a circle and approaches 1 as the ellipse becomes very long and thin. Earth's orbit has e ≈ 0.0167, so it is almost circular.

How do I find the foci of an ellipse?

Compute c = √(a² − b²). The foci lie on the major axis at a distance c from the center, so for a horizontal ellipse centered at (h, k) they are at (h ± c, k). For a = 5 and b = 3, c = 4 and the foci are at (±4, 0).

What is the difference between the semi-major and semi-minor axis?

The semi-major axis a is half of the longest diameter, and the semi-minor axis b is half of the shortest diameter. They meet at right angles at the center. When a = b the ellipse is a circle with radius a.

Is an oval the same as an ellipse?

Not exactly. An ellipse is a precise curve defined by its two foci, while oval is a looser everyday word for any egg-like rounded shape. Many oval tables, rugs and mirrors are true ellipses, so this calculator works for them if you measure the overall length and width.

What is the standard equation of an ellipse?

For a horizontal ellipse centered at (h, k): (x − h)²/a² + (y − k)²/b² = 1. For a vertical one, a² goes under the y term: (x − h)²/b² + (y − k)²/a² = 1.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Circle CalculatorEnter a circle's radius, diameter, circumference or area and get all the others.Area CalculatorFind the area of squares, rectangles, triangles, circles, trapezoids, ellipses and sectors.Surface Area CalculatorSurface area of a cube, box, cylinder, sphere, cone or pyramid, with lateral and base areas.Triangle CalculatorSolve any triangle from SSS, SAS, ASA, AAS or right-triangle values: sides, angles, area, type.Draw a Perfect Circle TestDraw a circle freehand and get a roundness score with a heatmap of where you went off.Roofing Calculator (Roof Squares)Estimate roof area, squares, shingle bundles and cost from pitch.Square Root CalculatorFind square, cube and nth roots with simplified radical form and steps.Body Surface Area CalculatorCalculate body surface area in m² with the Du Bois, Mosteller, Haycock and other formulas.Pythagorean Theorem CalculatorSolve for the hypotenuse or a missing leg of a right triangle, with a diagram and steps.Volume CalculatorVolume of a cube, box, cylinder, sphere, cone, pyramid or capsule, in liters and gallons too.Slope CalculatorSlope, angle, line equation y = mx + b and distance from two points, with a graph.Midpoint CalculatorFind the midpoint of two points in 2D or 3D, or the missing endpoint from a midpoint.Distance Formula CalculatorDistance between two points in 2D or 3D with step-by-step work and an exact radical answer.Vector Calculator2D and 3D vectors: add, subtract, dot and cross product, magnitude, angle, unit vector, projection.Pascal's Triangle GeneratorGenerate Pascal's triangle up to row 30, highlight a row and expand (ax + by)ⁿ.Trigonometry CalculatorSin, cos, tan, csc, sec, cot and inverses in degrees or radians, with exact values.Arc Length CalculatorArc length, sector area and chord from radius and angle, or solve for the radius or angle.Cylinder Volume CalculatorCylinder volume in liters, gallons and cubic units from radius or diameter, plus surface area.Regular Polygon CalculatorArea, perimeter, apothem, radius and angles of a regular polygon from any one measurement.Aquarium Volume CalculatorFish tank gallons, liters and water weight: rectangle, cylinder, bow-front and hexagon tanks.Tank Volume CalculatorTotal and filled volume of cylinder, rectangular and capsule tanks in gallons and liters.Circle Skirt CalculatorWaist radius, fabric yardage and cutting layout for full, half or quarter circle skirts.Camera Field of View CalculatorAngle of view and frame size from focal length, sensor size and subject distance.Law of Sines and Cosines CalculatorSolve SSS, SAS, ASA, AAS and SSA triangles with the laws of sines and cosines, steps shown.Miter Angle CalculatorMiter saw angle for any polygon or corner, plus crown molding miter and bevel settings.Simplify Square Root CalculatorSimplify square, cube and nth roots to simplest radical form a√b, with steps.Interactive Unit CircleDrag an angle on the unit circle to see degrees, radians and exact sin, cos and tan. Printable chart.Cone Volume CalculatorVolume, slant height and surface area of a right cone from its radius and height.Perimeter CalculatorPerimeter of a square, rectangle, triangle, circle, trapezoid, polygon or sector, with a diagram.Point Slope Form CalculatorLine equation in point-slope form from a point and slope or two points, plus y = mx + b.Polar to Cartesian ConverterConvert polar coordinates (r, θ) to rectangular (x, y) with steps, a plot and bulk lists.Right Triangle CalculatorSolve a right triangle from any two values: sides, angles, area, perimeter and altitude.Slope Intercept Form CalculatorGet y = mx + b from two points, a point and slope, or standard form, with steps and a graph.Sphere Volume CalculatorVolume and surface area of a sphere from radius, diameter or circumference, or the reverse.Trapezoid Area CalculatorArea, perimeter, median and missing base or height of a trapezoid, with a diagram.30-60-90 Triangle CalculatorEnter one side of a 30-60-90 triangle to get the other sides, area and perimeter in exact radical form.45-45-90 Triangle CalculatorSolve an isosceles right triangle from a leg or hypotenuse, with sides in exact √2 form.Complementary and Supplementary Angle CalculatorComplement, supplement and explement of any angle in degrees or radians, with diagrams.Polygon Area from CoordinatesArea, perimeter and centroid of any polygon from its vertex coordinates (shoelace formula).Reference Angle CalculatorFind the reference angle and quadrant of any angle in degrees or radians, with a unit circle sketch.Tangent Line CalculatorFind the tangent and normal line to f(x) at a point, with the derivative, slope and a graph.Coordinate Plane PlotterPlot points, segments and polygons on an interactive coordinate grid, or print blank planes.Coterminal Angle CalculatorList positive and negative coterminal angles and the principal angle, in degrees and radians.Heron's Formula CalculatorFind a triangle's area from its three sides with Heron's formula, semi-perimeter and steps.Implicit Differentiation CalculatorFind dy/dx for any equation in x and y with steps, plus the slope and tangent at a point.Inverse Trig Calculatorarcsin, arccos, arctan, arcsec, arccsc and arccot in degrees and radians, with exact values.
See all 46 Geometry & Trigonometry Calculators →