Elliptical Ring Calculator

Elliptical Ring Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

A=π(ab−cd)=π(a(b−d)+d(a−c)),P(p,q)=4pE(e),e=p2−q2pA = \pi (a b - c d) = \pi\left(a (b - d) + d (a - c)\right),\; P(p, q) = 4 p\,E(e),\quad e = \frac{\sqrt{p^2 - q^2} }{p}
Usage stats

Advertisement

Results

Area A
36.128316
square units
Outer semi-axis a6
Outer semi-axis b4
Inner semi-axis c5
Inner semi-axis d2.5
Ring width along a1
Ring width along b1.5
Outer perimeter31.730879
Inner perimeter24.221121
Total boundary length55.952

Report an error on this page

What this calculator does

An elliptical ring is the region between two concentric ellipses with the same axes: an outer ellipse with semi-axes a and b and an inner ellipse with semi-axes c (along a) and d (along b), where c is at most a and d is at most b. With the ring-width option the inner semi-axes are a − w and b − w.

Derivation of the formulas

Area:

$$ A = \pi (a b - c d) = \pi\left(a (b - d) + d (a - c)\right) $$

Perimeter of an ellipse with semi-axes p ≥ q:

$$ P(p, q) = 4 p\,E(e),\quad e = \frac{\sqrt{p^2 - q^2} }{p} $$

Total boundary length:

$$ L = P(a, b) + P(c, d) $$

An ellipse with semi-axes a and b is a unit disc stretched by a in one direction and by b in the other, so its area is \(\pi a b\). The inner ellipse lies inside the outer one exactly when \(c \le a\) and \(d \le b\), and the ring is what is left when the inner ellipse is removed: \(A = \pi a b - \pi c d\). Written as \(\pi\left(a (b - d) + d (a - c)\right)\) it stays accurate for a thin ring. The perimeter of an ellipse is \(P = 4p\,E(e)\) with the complete elliptic integral of the second kind; the calculator evaluates it with Carlson's symmetric integrals: \(E(e) = R_F(0, 1 - e^2, 1) - \tfrac{e^2}{3} R_D(0, 1 - e^2, 1)\).

Solving from what you know

Choose what you know: Outer semi-axes a, b and inner semi-axes c, d; Outer semi-axes a, b and ring width w. The calculator first finds the sizes that define the shape and then computes every other value from the formulas above. Each length is accepted from 0.000001 to 1,000,000,000 (an inner size the shape allows to vanish may also be 0), each area from 0.000000000001 to 1,000,000,000,000,000,000; anything outside is refused with a sentence that names the range. A combination that cannot form the shape is refused with a sentence that says why; a limit that is still a real shape is answered and named.

Worked example

With the defaults a = 6, b = 4, c = 5 and d = 2.5: A = π(24 − 12.5) = 11.5π ≈ 36.128316; the outer perimeter is about 31.730879 and the inner one about 24.221121.

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. They are shown with up to 6 decimal places; a value below 0.000001 or of 10¹⁵ and more is shown as its plain 12-digit number instead. The unit you pick is a label: lengths are shown in that unit and areas in its square.

Advertisement
A shaded elliptical ring with outer semi-axes 6 and 4 and inner semi-axes 5 and 2.5.
The worked example uses outer semi-axes a = 6 and b = 4, and inner semi-axes c = 5 and d = 2.5.

Frequently asked questions

Why is the ring width not the same all the way round?

The gap between the ellipses is a − c at the ends of the axis a and b − d at the ends of the axis b; in between it changes smoothly. Two ellipses cannot keep a constant gap unless both are circles. The ring-width option gives the same width w at the four axis ends.

What if the inner semi-axes are 0?

There is no hole and the shape is the whole ellipse: A = πab.

How accurate are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

Advertisement
The outer ellipse area 24π minus the inner ellipse area 12.5π gives an elliptical ring area of 11.5π.
The area is π(24 − 12.5) = 11.5π ≈ 36.128316.

References

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018

M. Abramowitz and I. A. Stegun (eds.), Handbook of Mathematical Functions, National Bureau of Standards, 1964

Last updated: