
Ellipse Area Calculator
Use this ellipse area calculator to compute oval surface area A = π × a × b from semi-major and semi-minor axes up to 12 digits with a lookup table.
Open toolThe Ellipse Perimeter Calculator is a two-dimensional curve-length solver that acts as an ellipse circumference calculator, circumference of an ellipse calculator, and perimeter of an ellipse calculator using Ramanujan's second approximation. Enter #a and #b (1e-9 to 1,000,000,000) to compute 12-significant-digit oval circumference locally in your browser without server uploads.
Enter the inputs, then select Calculate.
Result will appear here
Understanding how to calculate the perimeter of an ellipse requires a different approach from finding ellipse area (A = πab; see our Ellipse Area Calculator). Unlike a circle (C = 2πr), the exact arc length of an ellipse with semi-major axis a and semi-minor axis b leads to the complete elliptic integral of the second kind, P = 4a ∫₀^(π/2) √(1 − e² sin²θ) dθ, which has no closed-form expression in elementary functions.
h = ((a − b) / (a + b))², P ≈ π(a + b) × [1 + 3h / (10 + √(4 − 3h))]
To achieve 12-digit accuracy without slow numerical integration, batch12-core.js implements Srinivasa Ramanujan's second approximation (1914). When expanded as a power series in h, Ramanujan's formula matches the exact elliptic integral P = π(a + b)(1 + h/4 + h²/64 + h³/256 + 25h⁴/16384 + ...) identically through the h⁴ term. Its leading error term is −(3 / 131072)h⁵ ≈ −0.0000229h⁵, meaning that for the preloaded a = 3, b = 2 ellipse (h = 0.04), the formula's relative error is roughly 2.3 × 10⁻¹² (accurate to all 12 displayed digits).
Compare 10 verified oval and orbital geometries to see how this ellipse circumference calculator evaluates the flattening parameter h = ((a − b)/(a + b))² and 12-digit perimeter (#result-main):
| First Semiaxis (#a) | Second Semiaxis (#b) | Flattening Parameter (h) | Calculated Perimeter (#result-main) | Geometric & Engineering Benchmark |
|---|---|---|---|---|
| 3 (preloaded) | 2 (preloaded) | 0.04 | 15.8654395893 | Preloaded workspace verification case (3:2 oval) |
| 5 | 5 | 0 | 31.4159265359 (10π) | Exact circle limit (a = b = 5 → 2πr) |
| 5 | 4 | 0.0123457 | 28.361667889 | Low-eccentricity ellipse (e = 0.6, 5:4 aspect ratio) |
| 5 | 3 | 0.0625 | 25.5269988628 | Classic textbook ellipse (e = 0.8, focal distance c = 4) |
| 10 in | 5 in | 0.111111 | 48.4422410807 | 20 in × 10 in (2:1) oval ductwork collar (48.44 in band) |
| 6 | 2 | 0.25 | 26.7297855597 | Elongated 3:1 elliptical arch rib (e = 0.9428) |
| 4 | 1 | 0.36 | 17.1568392624 | High-eccentricity 4:1 cam profile (e = 0.9682) |
| 36 in | 24 in | 0.04 | 190.385275071 | 72 in × 48 in (6 ft × 4 ft) oval dining table edge banding (15.87 ft) |
| 45 m | 30 m | 0.04 | 237.981593839 | 90 m × 60 m elliptical garden track perimeter (237.98 m) |
| 1.0167 AU | 0.9832 AU | 0.0002806 | 6.28331188422 | Near-circular planetary orbit benchmark (a = 1.0167, b = 0.9832) |
Follow these three steps to learn how to calculate the circumference of an ellipse in the workspace above.
Measure from the center of the ellipse to the farthest vertex (half of the major diameter 2a) and enter that value into First semiaxis (#a, preloaded with 3, accepting 1e-9 to 1,000,000,000).
Supply the perpendicular center-to-co-vertex radius (half of the minor height 2b) in Second semiaxis (#b, preloaded with 2) using the same length unit.
Select Calculate (#primary-action) to compute the 12-digit perimeter in #result-main, then use Copy result (#copy-action) or Load sample (#sample-action).
These three worked examples demonstrate how the circumference of an ellipse calculator evaluates the preloaded 3 × 2 baseline, an oval dining tabletop edge band, and a 20 in × 10 in elliptical HVAC duct.
With First semiaxis = 3 and Second semiaxis = 2, the sum is a + b = 5 and the flattening parameter is h = ((3 − 2)/(3 + 2))² = (1/5)² = 0.04. Substituting h = 0.04 gives 1 + 0.12 / (10 + √3.88) = 1.01001682655, which multiplied by 5π returns 15.8654395893 linear units.

A woodworker needs veneer edge banding for a 72 in long by 48 in wide oval tabletop. Halving both full dimensions gives First semiaxis = 36 in and Second semiaxis = 24 in. Entering 36 in #a and 24 in #b outputs 190.385275071 inches (15.865 ft) of trim before overlap waste.

A sheet-metal fabricator forms a flat-oval transition collar measuring 20 in major axis (a = 10 in) by 10 in minor axis (b = 5 in). Entering 10 and 5 yields h = (5/15)² = 1/9 ≈ 0.111111 and outputs 48.4422410807 inches of sheet-metal stretch-out length (to check the ellipse's flatness ratio, pair with our Ellipse Eccentricity Calculator).

Why does this perimeter of an ellipse calculator use Ramanujan's second approximation instead of simpler textbook formulas? Compare the accuracy across aspect ratios:
Naive Arithmetic Mean (P ≈ π(a + b)) vs. Root-Mean-Square (P ≈ 2π√((a² + b²)/2)): Simply averaging the two radii sets h = 0 and ignores curvature concentration near the major vertices. At a 2:1 aspect ratio (a = 10, b = 5), π(10 + 5) = 47.1239, underestimating the true perimeter (48.4422) by −2.72% (1.32 in short on a 20 in duct!). Conversely, the RMS formula gives 2π√62.5 = 49.6729, overshooting the true length by +2.54%.
Ramanujan's Second Approximation vs. Complete Elliptic Integral 4aE(e): At a = 10, b = 5 (h = 1/9), the exact elliptic integral 4aE(√0.75) is 48.4422411027, while Ramanujan's second formula outputs 48.4422410807 (an error of just −0.000000045%, or half a part per billion). Even on a steep 4:1 ellipse (a = 4, b = 1, h = 0.36), Ramanujan II (17.1568392624) stays within 0.0014% of the exact elliptic integral (17.15686352). For circular arcs or sectors rather than closed ovals, use our Arc Length Calculator or Sector Perimeter Calculator.

Check these three frequent input mistakes before cutting material or exporting specifications:
Entering Full Diameters (2a, 2b) Instead of Semiaxes (a, b): The inputs #a and #b represent center-to-edge semiaxes (half-width and half-height), not end-to-end major and minor diameters. Because h = ((a − b)/(a + b))² is unchanged when both numbers are doubled while π(a + b) doubles, typing full diameters 6 and 4 instead of semiaxes 3 and 2 outputs 31.7308791785 (exactly 2× the true perimeter 15.8654395893). Swapping #a and #b does not change the result because (a + b) and (a − b)² are symmetric. Also note that 4-center compass ovals have a slightly different perimeter than a true conic-section ellipse x²/a² + y²/b² = 1.
For related conic, circular, and 3D calculations, use our Ellipse Area Calculator, Ellipse Eccentricity Calculator, Ellipsoid Volume Calculator, Circle Area Calculator, Arc Length Calculator, Sector Perimeter Calculator, or Regular Polygon Perimeter Calculator.


Use this ellipse area calculator to compute oval surface area A = π × a × b from semi-major and semi-minor axes up to 12 digits with a lookup table.
Open tool
Calculate eccentricity e = c / a, linear eccentricity c, and focal separation 2c with this ellipse eccentricity calculator from semiaxes a and b in browser.
Open tool
Use this ellipsoid volume calculator and volume of an ellipsoid calculator to compute V = (4/3)πabc from semiaxes a, b, c or full diameters in your browser.
Open toolChoose another tool for your next calculation, conversion, or text task.

Compute exact circle surface area A = πr² from radius, diameter, or circumference with our free circle area calculator, 10-row lookup table, and examples.
Open tool
Use this arc length calculator to find circular arc length from radius and central angle (θ/360 × 2πr) up to 12 digits with a lookup table and examples.
Open tool
Calculate pie-slice boundary length P = 2r + (θ/360)2πr with this sector perimeter calculator and perimeter of a sector calculator from radius and angle.
Open tool
Calculate total boundary length P = n × s with this regular polygon perimeter calculator and perimeter of a polygon calculator for 3 to 10,000 equal sides.
Open toolAnswers about using Ellipse Perimeter Calculator and understanding its results.
It uses Srinivasa Ramanujan's second approximation: first calculate h = ((a − b) / (a + b))² from semiaxes a and b, then compute P ≈ π(a + b)(1 + 3h / (10 + √(4 − 3h))). For the preloaded a = 3, b = 2 inputs (h = 0.04), this returns 15.8654395893.
Integrating the arc-length element ds = √(dx² + dy²) around x²/a² + y²/b² = 1 produces the complete elliptic integral of the second kind, P = 4a ∫₀^(π/2) √(1 − e² sin²θ) dθ. Liouville proved that this integral cannot be expressed in closed form using only elementary algebraic, trigonometric, or logarithmic functions when a ≠ b.
Always enter the semiaxes (half of the full major length and half of the full minor width). Entering full end-to-end diameters D = 2a and d = 2b doubles the calculated perimeter.
Its Taylor series matches the exact elliptic integral through h⁴, with a leading error term of −(3 / 131072)h⁵. For aspect ratios up to 2:1 (a = 2b, h = 1/9), the error is less than 0.5 parts per billion (0.000000045%), and even at a 3:1 aspect ratio (h = 0.25) it remains accurate to within 0.00018%.
A half-ellipse (semi-elliptical arch) cut along either the major axis (2a) or minor axis (2b) has curved arc length equal to half of the full ellipse perimeter (P / 2). If you need the closed perimeter including the flat base chord, add 2a (or 2b) to P / 2.
No. Because (a + b) and (a − b)² are symmetric, swapping First semiaxis (#a) and Second semiaxis (#b) gives the identical 12-significant-digit circumference.
Choose another tool for your next calculation, conversion, or text task.