Four points A, B, C, D lie on a circle, forming a cyclic quadrilateral. Drag them around the circle to reshape it. Brahmagupta's formula gives the quadrilateral's area straight from its four side lengths: with s the semiperimeter, the area is the square root of (s minus a) times (s minus b) times (s minus c) times (s minus d). The formula's value is shown alongside the area measured directly, and the two always agree. An info button opens a drawer explaining the theorem.
Area = √( (s−a)(s−b)(s−c)(s−d) ) where s = semiperimeter = (a+b+c+d)/2
Drag the four vertices around the circle. The side-based formula always matches the directly measured area.