For a triangle, the three sides fix everything, but four sides can make many shapes. If the four corners lie on a circle, the shape is fixed and has the largest possible area. This cyclic quadrilateral calculator takes the four sides to give the area, the perimeter, the two diagonals and the radius of the circumscribed circle.
How the calculation works
- Semiperimeter s = (a + b + c + d) ÷ 2.
- Area (Brahmagupta’s formula) = √((s − a)(s − b)(s − c)(s − d)). It is the largest area that a quadrilateral with these four sides can have.
- Diagonals (Ptolemy): p = √((ac + bd)(ad + bc) ÷ (ab + cd)) and q = √((ac + bd)(ab + cd) ÷ (ad + bc)). Their product is ac + bd.
- Circumscribed radius R = √((ab + cd)(ac + bd)(ad + bc)) ÷ (4 × area). The longest side must be shorter than the sum of the other three.
Example
A quadrilateral inscribed in a circle has sides 6, 7, 9 and 8 in. The semiperimeter is 15 in, so the area is √((15 − 6)(15 − 7)(15 − 9)(15 − 8)) = √(9 × 8 × 6 × 7) = √3,024 = 54.99 in². The perimeter is 30 in. The diagonals are about 10.35 in and 10.63 in, and the circle that passes through the four corners has a radius of about 5.36 in.
Why it matters
Surveyors, geometry students and designers use the formulas to find the area of a four-sided plot or panel and to check constructions in a circle. The result is also an upper limit: no quadrilateral with the same four sides can enclose a larger area.
Good to know
The calculator assumes that the quadrilateral can be inscribed in a circle, which holds only for certain angles, and gives the area of that ideal figure. For a four-sided plot that is not cyclic, the true area is smaller, and you need a diagonal or an angle to find it. If one side is longer than the sum of the other three, no quadrilateral exists and the area shows as zero.
Related tools
The triangle solver calculator handles the triangles that the diagonals cut, and the regular polygon calculator covers the case of equal sides and angles.