Skip to content
Omnikalc

Cyclic quadrilateral calculator: Brahmagupta area from four sides

Enter the four sides of a quadrilateral inscribed in a circle to get the area, the perimeter, both diagonals and the radius of the circumscribed circle.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Results

Area

54.991 in²

Perimeter
30.000 in
First diagonal
10.349 in
Second diagonal
10.629 in
Radius of the circumscribed circle
5.364 in

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.

The triangle solver calculator handles the triangles that the diagonals cut, and the regular polygon calculator covers the case of equal sides and angles.

Frequently asked questions

What is a cyclic quadrilateral?

A cyclic quadrilateral is a four-sided figure whose four corners all lie on one circle. Its opposite angles add up to 180°. Squares, rectangles and isosceles trapezoids are cyclic, while a general rhombus or parallelogram is not.

What is Brahmagupta's formula?

It gives the area of a cyclic quadrilateral from its four sides alone: the square root of the product of (s − a), (s − b), (s − c) and (s − d), where s is the semiperimeter. It extends Heron's formula for triangles, which is the case where one side is zero.

Can any four sides form a cyclic quadrilateral?

Yes, as long as the longest side is shorter than the sum of the other three. The order of the sides around the shape then fixes the diagonals, but the area is the same for every order. The calculator takes the sides in order a, b, c, d around the figure.

What does Ptolemy's theorem say?

The product of the diagonals of a cyclic quadrilateral equals the sum of the products of the opposite sides: pq = ac + bd. The calculator uses this and the companion formula for the ratio of the diagonals to find both diagonals from the sides.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.