Diagonals of an inscribed quadrilateral.
Ptolemy's Theorem

Given a cyclic quadrilateral with sides a,b,c,d, and diagonals e,f:

Try this Drag any orange dot. Note how the diagonals formula always holds.

Recall that an inscribed (or 'cyclic') quadrilateral is one where the four vertices all lie on a circle. It turns out that there is a relationship between the sides of the quadrilateral and its diagonals. If you mutiply the lengths of each pair of opposite sides, the sum of these products equals the product of the diagonals.

Formally: For a cyclic quadrilateral with sides a,b,c,d and diagonals e,f, then

In the figure above, drag any vertex around the circle. Note how the relationship holds.

* NOTE The lengths in the figure above are rounded to one decimal place for clarity. If you repeat the calculation on a calculator you may not therefore get an exact equality. The equation is meant only to illustrate how the theorem works.

'Crossed' polygons

In the figure above, if you drag a point past its neighbor the quadrilateral will become 'crossed' where one side crossed over another. In such 'crossed' quadrilaterals Ptolemy's Theorem no longer holds. (Most properties of polygons are invalid when the polygon is crossed).

While you are here..

... I have a small favor to ask. Over the years we have used advertising to support the site so it can remain free for everyone. However, advertising revenue is falling and I have always hated the ads. So, would you go to Patreon and become a patron of the site? When we reach the goal I will remove all advertising from the site.

It only takes a minute and any amount would be greatly appreciated. Thank you for considering it!   – John Page

Become a patron of the site at

Other polygon topics


Types of polygon

Area of various polygon types

Perimeter of various polygon types

Angles associated with polygons

Named polygons