On this page
Heron's formula gives a triangle's area from its three sides alone. A quadrilateral is different: four sides do not fix its shape, because a frame of four rods hinged at the corners can be pushed out of shape, even flat. So an area formula for a general quadrilateral needs one more piece of information. Bretschneider's formula uses the sum of two opposite angles.
What is Bretschneider's formula?
Take a quadrilateral ABCD with sides a = AB, b = BC, c = CD and d = DA, semiperimeter s = (a + b + c + d)/2, and angles A and C at opposite corners. Its area is K = √((s − a)(s − b)(s − c)(s − d) − abcd·cos²((A + C)/2)).
The formula works for convex and concave quadrilaterals, cyclic or not, according to the Wikipedia article on Bretschneider's formula. The same article says the German mathematician Carl Anton Bretschneider discovered it in 1842, and that Karl Georg Christian von Staudt derived it the same year; its reference list gives Bretschneider's 1842 paper in Archiv der Mathematik und Physik. Wolfram MathWorld's entry on Bretschneider's formula gives the same result, along with versions that use the two diagonals instead of an angle.
Two details are easy to miss:
Either pair of opposite angles works. The four angles add up to 360°, so (A + C)/2 and (B + D)/2 add up to 180°; their cosines differ only in sign, and their squares are equal.
The angle term is subtracted and can never be negative, so for four fixed sides the area is largest when that term is zero.
Why does it reduce to Brahmagupta's formula?
A quadrilateral is cyclic when all four vertices lie on one circle, and then its opposite angles add up to 180°. So (A + C)/2 = 90°, cos 90° = 0, and the second term disappears, leaving K = √((s − a)(s − b)(s − c)(s − d)).
That is Brahmagupta's formula for a cyclic quadrilateral, named after the 7th-century Indian mathematician. The Wikipedia article on Brahmagupta's formula walks through this same step, and draws the conclusion the second bullet above points to: among all quadrilaterals with the same four sides, the cyclic one has the largest area.
How does it become Heron's formula for a triangle?
Let one side shrink to zero, say d = 0. The quadrilateral collapses into a triangle with sides a, b and c. The product abcd becomes 0, so the angle term vanishes whatever the angles are, and the factor (s − d) is just s. You are left with K = √(s(s − a)(s − b)(s − c)).
That is Heron's formula, named after Heron of Alexandria, who proved it in his work Metrica (Wikipedia on Heron's formula). That page also notes that Heron's formula follows from Brahmagupta's or Bretschneider's by setting one side to zero. Quick check with the 13-14-15 triangle: s = 21, and √(21 × 8 × 7 × 6) = √7056 = 84.
For more triangles whose area comes out as a whole number, see which triangles have integer sides and integer area. For Heron's formula at school level, see Measuring Space Class 9: perimeter, area and Heron's formula.
A worked example: sides 5, 6, 7 and 8
Take ABCD with AB = 5, BC = 6, CD = 7, DA = 8, and A + C = 120°.
Semiperimeter: s = (5 + 6 + 7 + 8)/2 = 13.
Brahmagupta part: (13 − 5)(13 − 6)(13 − 7)(13 − 8) = 8 × 7 × 6 × 5 = 1680.
Correction: abcd = 5 × 6 × 7 × 8 = 1680, and cos² 60° = 1/4, so the term to subtract is 420.
Area: K = √(1680 − 420) = √1260 = 6√35 ≈ 35.50 square units.
Now flex the same four rods until the shape is cyclic. The correction term drops to zero and the area rises to √1680 = 4√105 ≈ 40.99 square units. Same sides, about 5.5 square units more area, and the whole difference comes from the cos² term.
If the cosine-rule step in that check is where you got stuck, the Fermi Problem Library has a step-by-step solver that explains the reasoning, not just the final number.
When should you use Bretschneider's formula?
You know four sides and a pair of opposite angles, or just their sum: use Bretschneider directly.
The quadrilateral is inscribed in a circle: drop the angle term and use Brahmagupta.
You know four sides and one diagonal: split along the diagonal and use Heron twice.
You know only the four sides: the area is not fixed; it is at most the Brahmagupta value.
The vertices sit on a square grid: Pick's theorem counts the area from dots.
To revise the cosine rule, cyclic quadrilaterals and Heron's formula as linked ideas rather than separate facts, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing.



