Shapes & spaces

Cyclic polygon reconstruction calculator from unequal side lengths

Reconstruct a convex cyclic polygon from its ordered side lengths, including the branch whose circumcenter is outside the polygon.

Your numbers

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

Reconstruct a convex cyclic polygon from its ordered side lengths, including the branch whose circumcenter is outside the polygon.

THE FORMULAalpha_i=2 asin(s_i/(2R)); centered: sum alpha_i=2pi; noncentered: alpha_max=sum of the other alpha_i.

A worked example

The sides 3, 4 and 5 form a right triangle. Its circumradius is 2.5 and its area is 6. The length-five chord is a diameter.

Good to know

3–12 positive sides satisfying strict polygon inequality. Bracket both centered and longest-side noncentered branches, report coordinates, radius, central angles and area with closure/side residuals. No self-crossing star polygons or arbitrary noncyclic realization.

Reconstructing a cyclic shape from lengths

A cyclic polygon has all its vertices on one circle. Entering only the side lengths would ordinarily leave a polygon flexible, but requiring a convex cyclic realization removes that freedom up to rigid motion and reflection. The ordered side list then determines a circumradius, a sequence of central arcs and a reproducible coordinate representation.

The task differs from computing the circumcircle of already supplied vertices. Here the vertices are unknown and must be reconstructed. Equal side lengths are allowed, but they are not assumed. A single formula for a regular polygon cannot handle the general list because each side subtends its own central angle on the common circumcircle.

Cyclic polygon reconstruction calculator from unequal side lengths worked example534Sides: 3, 4, 5Circumradius = 2.5Area = 6
Scroll across to see the full diagram.
The sides 3, 4 and 5 form a right triangle. Its circumradius is 2.5 and its area is 6. The length-five chord is a diameter.

Compare this with the Regular polygon area side and radius calculator. Recover a convex cyclic polygon and circumradius from a full unequal side-length list; a regular-polygon page assumes all sides equal.

Checking the side list first

Provide between three and twelve positive side lengths in consecutive boundary order. The longest length must be strictly smaller than the sum of the others. Equality gives a flattened limit, not a positive-area convex polygon. A larger longest side makes closure impossible, regardless of how large a circle or how many iterations the solver tries.

Very thin configurations near this inequality boundary can have a large radius and small area relative to their side scale. Such cases require careful residual checks rather than an unchecked decimal with many digits. Reordering the side lengths changes the coordinate arrangement, although several aggregate cyclic quantities can remain the same under a permutation.

The centered and noncentered branches

For a trial radius R, a side of length s has minor central angle twice arcsine of s divided by two R. A centered polygon closes when all those minor angles sum to a full turn. The radius cannot be smaller than half the longest side, which provides a natural starting boundary for the search.

Not every valid polygon surrounds its circle center. On the noncentered branch, the longest side uses the major arc between its endpoints; its minor angle equals the sum of the others. Searching only for a sum of minor angles equal to a full turn would miss those legitimate skinny shapes. The branch decision is therefore part of reconstruction, not an optional display choice.

Coordinates, orientation and area

Once the angles are established, consecutive vertices can be placed on the circle by accumulating the chosen arc increments. The starting rotation is conventional. A reflection gives the same lengths and area, so the displayed orientation is not a second solution with different intrinsic dimensions. Use the returned row ordering when matching a reconstructed side to its input.

The polygon area comes from the closed coordinates or an equivalent signed triangle sum about the circle center. On a noncentered realization, one triangle contribution has the opposite sign. Adding absolute triangle areas in every case would overstate the result. Closure and side-length residuals help detect precisely this sort of branch or sign mistake.

The three-four-five worked example

The default side list is three, four and five. It is a right triangle with area six, and its hypotenuse spans a diameter. The circle radius is consequently two and one half. This is a convenient boundary case between the usual centered and outside-center descriptions, because the center lies on the longest chord.

The shorter sides subtend angles twice arcsine of three fifths and twice arcsine of four fifths. Those two angles add to pi, while the diameter contributes another pi. The full turn closes exactly in mathematics. The returned floating coordinates need only reproduce those lengths and area within the displayed numerical tolerance, rather than use a specific visual rotation.

Independent checks of a reconstruction

Every returned vertex should lie on the stated circle, every consecutive chord should reproduce its supplied side and the last chord should close back to the first. The ordered boundary should remain convex and noncrossing. These checks validate different features: a small circle residual by itself does not prove that the correct ordered chords were assembled.

For three sides, compare the area with Heron's formula. For four sides, compare with the cyclic quadrilateral area formula using the semiperimeter. Scaling every side by a positive factor must scale the radius and coordinates by that factor, and the area by its square. Those transformations give useful tests beyond a single default example.

What the result does not construct

The page returns the convex simple cyclic realization. It does not search self-crossing star polygons, choose arbitrary winding numbers or reconstruct a general noncyclic polygon from side lengths. A radius associated with a different winding convention would answer a different question even if every chord length happened to match the same input list.

Coordinates are mathematical constructions from the entered lengths. If those lengths came from measurement, uncertainty in them is not captured by the arithmetic residual. Near a degenerate polygon, small input changes can cause large radius changes. Use the branch status, inequality margin and residuals together before treating the result as a stable geometric design.

A few questions, answered

Can the circumcenter lie outside the polygon?

Yes. The solver must include the noncentered branch instead of assuming that every side uses a minor central arc.

Why is the polygon inequality strict?

Equality produces a degenerate zero-area limit rather than a convex polygon with interior.

Does reversing the side order change the area?

It reflects an ordered realization up to rotation, so its positive area and radius remain unchanged.

Does this return star polygons?

No. Only the simple convex cyclic realization is supported.

Find your calculator

Start typing to explore the library.