Cyclic Quadrilateral Calculator

Cyclic Quadrilateral Calculator

Growing AI Skill PRO

Enter Calculation

Results

Area of Cyclic Quadrilateral
40.9878
Measurement Value
Side A 5
Side B 6
Side C 7
Side D 8
Perimeter 26
Semiperimeter 13

Formula

K=(s−a)(s−b)(s−c)(s−d)where{s=a+b+c+d2a=Side Ab=Side Bc=Side Cd=Side D\begin{gathered} K = \sqrt{(s-a)(s-b)(s-c)(s-d)} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} s &= \dfrac{a+b+c+d}{2} \\ a &= \text{Side A} \\ b &= \text{Side B} \\ c &= \text{Side C} \\ d &= \text{Side D} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Report an error on this page

What This Calculator Does

The Cyclic Quadrilateral Calculator finds the area of a four-sided shape whose vertices all lie on a single circle. You enter the four side lengths — Side A, Side B, Side C, and Side D — and the tool instantly returns the area using Brahmagupta's formula. As a bonus it also reports the semiperimeter and the full perimeter, so you get the complete picture from just four numbers.

A four-sided polygon with all four vertices touching a circle
A cyclic quadrilateral has all four corners lying on a single circle.

The Inputs You Provide

  • Side A, B, C, D: the lengths of the four sides of the quadrilateral, in any consistent unit (cm, m, inches, etc.).

The shape must be cyclic — meaning a circle can pass through all four corners. For such shapes the area depends only on the side lengths, which is why no angles are needed.

The Formula Explained

The calculator uses Brahmagupta's formula:

$$A = \sqrt{(s - a)(s - b)(s - c)(s - d)}, \quad \text{where } s = \frac{a + b + c + d}{2}$$

Here s is the semiperimeter — half the total of all four sides. The tool computes the perimeter \((a + b + c + d)\), divides by 2 to get s, then subtracts each side from s, multiplies the four results together, and takes the square root. It is the quadrilateral version of Heron's formula for triangles.

Advertisement

Worked Example

Suppose Side A = 4, Side B = 5, Side C = 6, and Side D = 7.

  • Perimeter = \(4 + 5 + 6 + 7 = 22\)
  • Semiperimeter \(s = 22 / 2 = 11\)
  • \((s - a) = 7\), \((s - b) = 6\), \((s - c) = 5\), \((s - d) = 4\)
  • Product = \(7 \times 6 \times 5 \times 4 = 840\)
  • Area = \(\sqrt{840} \approx 28.98\) square units
Inscribed quadrilateral with labeled sides and dashed diagonal
The four side lengths feed into Brahmagupta's formula to give the area.

How Different Side Lengths Change the Area

Brahmagupta's formula \(K = \sqrt{(s-a)(s-b)(s-c)(s-d)}\) applies only to quadrilaterals that can be inscribed in a circle. The table compares five side sets (in the same length unit; area is in that unit squared).

Sides a, b, c, d Semiperimeter s Product (s−a)(s−b)(s−c)(s−d) Area K Shape
5, 5, 5, 5 10 5·5·5·5 = 625 25 Square
3, 4, 3, 4 7 4·3·4·3 = 144 12 Rectangle
4, 5, 6, 7 11 7·6·5·4 = 840 28.98 General cyclic quadrilateral
3, 3, 4, 4 7 4·4·3·3 = 144 12 Right-angle kite (diagonal 5 is a diameter)
1, 1, 1, 2.9 2.95 1.95³·0.05 ≈ 0.3707 ≈ 0.61 Nearly degenerate

Worked example (4, 5, 6, 7): \(s = \frac{4+5+6+7}{2} = 11\), so \(K = \sqrt{(11-4)(11-5)(11-6)(11-7)} = \sqrt{7 \cdot 6 \cdot 5 \cdot 4} = \sqrt{840} \approx 28.98\).

Near-degenerate case

If one side equals the sum of the other three, such as 1, 1, 1, 3, then \(s = 3\) and \(s - d = 0\). The product is 0 and the area is exactly 0, because the four sides lie flat along a line. Only side sets where the longest side is shorter than the sum of the other three can form a quadrilateral. As the longest side approaches that limit (for example 2.9 in the table), the area shrinks toward 0.

Maximum-area property

For any quadrilateral with given sides, Bretschneider's formula gives \(K = \sqrt{(s-a)(s-b)(s-c)(s-d) - abcd\,\cos^2\left(\frac{\alpha+\gamma}{2}\right)}\), where \(\alpha\) and \(\gamma\) are opposite angles. The subtracted term is 0 exactly when \(\alpha + \gamma = 180^\circ\), which is the cyclic case. So among all quadrilaterals with the same four sides, the cyclic one has the largest area. Example: a 3 × 4 rectangle has area 12, but a parallelogram with the same sides and a 60° angle has area \(3 \cdot 4 \cdot \sin 60^\circ \approx 10.39\), which is smaller.

Advertisement

Key Terms and Definitions

Cyclic quadrilateral
A four-sided polygon whose vertices all lie on one circle. Its opposite angles sum to 180°.
Circumscribed circle (circumcircle)
The circle that passes through all four vertices of the quadrilateral. Only cyclic quadrilaterals have one.
Perimeter
The total distance around the shape: \(P = a + b + c + d\).
Semiperimeter
Half the perimeter: \(s = \frac{a+b+c+d}{2}\). Each term \(s - a\), \(s - b\), \(s - c\), \(s - d\) must be positive for a real quadrilateral to exist.
Brahmagupta's formula
The area of a cyclic quadrilateral with sides a, b, c, d is \(K = \sqrt{(s-a)(s-b)(s-c)(s-d)}\). It is named after the Indian mathematician Brahmagupta (7th century). It depends only on the side lengths, because the cyclic condition fixes the shape.
Heron's formula
The area of a triangle with sides a, b, c is \(\sqrt{s(s-a)(s-b)(s-c)}\), where \(s = \frac{a+b+c}{2}\).

Special cases

  • Heron's formula: If one side is 0 (d = 0), the quadrilateral becomes a triangle. Then \(s - d = s\), and Brahmagupta's formula becomes Heron's formula.
  • Rectangle: For sides a, b, a, b, \(s = a + b\), so \(K = \sqrt{b \cdot a \cdot b \cdot a} = ab\), the familiar rectangle area.

Frequently Asked Questions

What is a cyclic quadrilateral? It is a four-sided polygon that can be inscribed in a circle — all four vertices touch the circle's edge. Brahmagupta's formula only gives the correct area for this type of shape.

Why did I get an error or "NaN"? If one side is too long relative to the others, a term like \((s - \text{side})\) becomes negative, making the product negative and the square root undefined. Check that no single side exceeds the sum of the other three.

Does the order of the sides matter? No. Because the formula multiplies the four \((s - \text{side})\) terms together, you can enter the sides in any order and still get the same area.

Last updated:

Most popular in Geometry

View all Geometry calculators