Brahmagupta’s Formula Explained with Worked Examples

The area of a cyclic quadrilateral with sides and semi-perimeter is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Brahmagupta’s formula means

It extends Heron's formula: if one side shrinks to zero, the quadrilateral becomes a triangle and the formula reduces to Heron's. A cyclic quadrilateral is one whose four vertices lie on a circle, with opposite angles adding to 180°; see the cyclic quadrilateral theorem. For a rectangle with sides 3 and 4, and , matching the area of a rectangle.

The proof splits the quadrilateral along a diagonal and uses the cosine rule on both triangles together with the fact that the angles opposite the diagonal are supplementary. The result also depends on the diagonals through Ptolemy's theorem, which holds for the same cyclic quadrilaterals.

Among all quadrilaterals with the same four sides, the cyclic one has the largest area. For example, the sides 25, 39, 52, 60 form a cyclic quadrilateral of area 1764 (two right triangles on a diameter of 65, see the angle in a semicircle). The circle through the vertices has radius given with the circumradius of the triangles.

What is it used for?

Brahmagupta's formula gives the area of a cyclic quadrilateral from its four sides.

How to use brahmagupta’s formula

  1. Compute .
  2. Compute the four numbers .
  3. Multiply them.
  4. Take the square root to get the area.

Graph

A cyclic quadrilateral of area 45 inscribed in a circle of radius 5AC-6-4-20246-6-4-20246A cyclic quadrilateral of area 45 inscribed in a circle of radius 5xyGraph with x from -6 to 6 and y from -6 to 6. Shows circle (73); quadrilateral ABCD (5); point A at (5, 0); point C at (-4, 3).

Its sides are √20, √50, √80, √50; the formula and the coordinates both give area 45.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: a rectangle

Find the area of a 3 by 4 rectangle using the formula.

Worked example
Answer
1212
  1. s
  2. Product
  3. Area

Example 2: a square

Find the area of a square of side 5 using the formula.

Worked example
Answer
2525
  1. s
  2. Product
  3. Area

Example 3: 25, 39, 52, 60

Find the area of the cyclic quadrilateral with sides 25, 39, 52, 60.

Worked example
Answer
17641764
  1. s
  2. Product
  3. Area

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

3, 4, 5, 6

s = 9: √(6·5·4·3)

18.9737.

Square side 2

s = 4: √(2⁴)

4.

Rectangle 3 × 4

s = 7: √(4·3·4·3)

12.

Rhombus side 5

√(5⁴)

25.

Word problems

A = √((s − a)(s − b)(s − c)(s − d)) for a cyclic quadrilateral with s = (a + b + c + d)/2. It generalises Heron’s formula (d = 0).

Sides 3, 4, 5, 6

s = 9.

  1. √360
  2. Check: ✓18.9737

Square

Side 2: s = 4.

  1. √16
  2. Check: ✓4

Rectangle Higher

3 × 4: s = 7.

  1. √144
  2. Check: ✓12

Rhombus Higher

Side 5 (a square when cyclic).

  1. √625
  2. Check: ✓25

Common mistakes

Non-cyclic quadrilateral

applies ✗

cyclic only ✓

Else ≤.

s = perimeter

full ✗

half perimeter ✓

Divide by 2.

Missing root

s(s−a)… ✗

√ ✓

Area.

d = 0 gives Heron

forgotten ✗

special case ✓

Triangle.

Exam tips

  1. s = half perimeter.
  2. √∏(s − side).
  3. Cyclic only.
  4. d = 0: Heron.
  5. Check with a rectangle.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Sides 2, 3, 2, 3 (rectangle) Foundation

6

2. Sides 5, 5, 5, 5 Foundation

25

3. Sides 1, 2, 3, 4 to 4 d.p. Foundation

4.899

4. Sides 6, 6, 8, 8 (rectangle) Higher

48

5. Sides 4, 5, 6, 7 to 4 d.p. Higher

28.9828

6. Sides 10, 10, 10, 10 Higher

100

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Brahmagupta’s formula
Area of a cyclic quadrilateral.
Semi-perimeter (s)
Half the perimeter.
Cyclic quadrilateral
Inscribed in a circle.
Heron’s formula
d = 0 case.
Area
A.
Rectangle
Special cyclic quadrilateral.

Frequently asked questions

What is Brahmagupta’s formula?

A = √((s − a)(s − b)(s − c)(s − d)).

When is it valid?

For cyclic quadrilaterals.

How is it linked to Heron?

Set d = 0.

What if the quadrilateral is not cyclic?

The area is less than this value.

Which page covers intersecting chords?

intersecting chords.

Which page covers Heron?

Heron’s formula.

More in Competition and admissions maths and the formula sheets.