Shapes & spaces

Disk union area and exposed perimeter calculator from circles

Compute the area and exposed perimeter of a union of circular disks, including overlapping disks, nested disks and holes.

Your numbers

Enter finite values within the stated bounds; coordinate rows may use commas.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Compute the area and exposed perimeter of a union of circular disks, including overlapping disks, nested disks and holes.

THE FORMULAA=1/2 Σarcs ∫(x dy−y dx); L=Σarcs r Δθ.

A worked example

Two unit disks centered at (0,0) and (1,0) have union area 5.0548156086 and exposed perimeter 8.3775804096.

Good to know

1–30 disks; centers within ±10000, radii0.00001–10000. Analytic arc integration with floating comparisons; duplicate disks counted once. Numerically near-tangent or extreme-scale arrangements need rescaling.

A boundary made of exposed arcs

A union counts every covered location once. Adding the individual disk areas therefore overcounts overlapping regions, while adding full circumferences includes arcs hidden inside neighboring disks. This calculator identifies the uncovered angular intervals of each circle and integrates just those exposed pieces.

The result can describe a disconnected collection of disks or a connected region containing holes. No polygon approximation is needed for the area formula. A hole boundary contributes with the orientation inherited from its supporting disk, so its missing area is removed by the same boundary integral.

Two overlapping unit disksArea ≈ 5.054816Perimeter = 8π/3Overlap counted once
Scroll across to see the full diagram.
The hidden arcs lie inside the other disk; the union keeps the two outer arcs.

Compare this with the Polygon union area calculator with boundary and holes. Compute curved-boundary union area and exposed circular arcs, rather than polygon union or only two-circle overlap.

Entering disks and recognizing duplicates

Each row contains a center x coordinate, a center y coordinate and a strictly positive radius. All rows must use the same length unit. Coordinate differences and radii determine overlaps; the absolute location of the drawing has no effect on its geometric area or perimeter.

Identical rows describe the same covered set and are counted only once. A smaller disk entirely contained in another disk contributes no exposed arc. These cases are handled before angular intersections, avoiding division by a zero center distance and preventing a duplicated circumference from entering the answer.

The two-disk worked example

The default centers are one unit apart and both radii equal one. The overlap area is two times arccos one-half, minus one-half times the square root of three. Subtracting that lens from two times pi gives approximately 5.0548156086 square units.

For each circle the covered angular interval has length two pi over three. Each exposed interval therefore has length four pi over three, and the two circles contribute a total perimeter of eight pi over three. The displayed arc rows let you check these two equal contributions separately.

How angular coverage becomes an integral

For one disk, every intersecting neighbor hides an angular interval obtained from the cosine rule. Intervals crossing angle zero are split at two pi. Sorting and merging the hidden intervals produces their union, and the complementary intervals are precisely the exposed boundary portions.

On an exposed arc, write the coordinates as center plus radius times cosine and sine. Substitution into one-half the integral of x dy minus y dx gives a closed expression involving angle differences and endpoint sines and cosines. Arc length is simply radius times angular span.

Reading the arc table

The headline area measures covered surface, whereas perimeter measures every exposed boundary component. A union with a central hole can have a larger perimeter than a visually similar solid region. The table identifies the source circle, angular endpoints, length and signed area contribution of every surviving arc.

Individual signed contributions depend on the coordinate origin and need not resemble the area of a small sector. Their total is the invariant union area. Interpreting each contribution as a separate nonnegative patch would discard the cancellation that makes the boundary formula work.

Tangencies and numerical scale

At exact external tangency, two disks share a point but neither loses a positive-length arc. At internal tangency, the smaller disk remains contained. A very small separation from either case can change the interval structure, although the final area varies continuously through the transition.

Finite arithmetic cannot distinguish arbitrary near-tangencies at every scale. Keep radii and separations reasonably comparable, and translate or rescale extreme coordinates before calculating. A successful floating result is an analytic-arc computation for the entered numbers, not an interval-certified arrangement of uncertain measured circles.

Checking and using the result

For disjoint disks, the answers should equal the sums of their separate areas and circumferences. For a fully nested collection, only the outer boundary survives. Translating every center leaves both totals unchanged, while scaling coordinates and radii multiplies area quadratically and perimeter linearly.

Use the output for a planar covered region, not the volume of overlapping spheres or the boundary of a convex hull around disks. Those constructions include different locations. If the circles are measured with uncertainty, rerun plausible radii and center positions rather than treating the displayed decimal places as physical precision.

A few questions, answered

Does overlap count twice?

No. Covered locations enter the union once; hidden circular arcs are excluded from the perimeter.

Are holes supported?

Yes. Exposed arcs around holes enter the oriented boundary integral and subtract their interior area.

What does a negative arc contribution mean?

It is an origin-dependent signed boundary contribution, not a negative physical patch of area.

Can I use zero-radius disks?

No. Enter positive radii within the stated domain; isolated points do not affect area or perimeter.

Find your calculator

Start typing to explore the library.