40.2481
sq units
26
units
16.2481
sq units
24
sq units
40.2481
sq units
26
units
16.2481
sq units
24
sq units
The Quadrilateral Calculator computes the area and perimeter of any general quadrilateral by dividing it into two triangles using a known diagonal. This method works for all types of quadrilaterals — regular, irregular, convex, or even mildly non-convex shapes — making it one of the most versatile area computation techniques in plane geometry.
A quadrilateral is any four-sided polygon. Unlike triangles, which are rigid once their side lengths are fixed, quadrilaterals are flexible: four given side lengths can form infinitely many different shapes with different areas. This is why computing the area of a general quadrilateral requires more information than just the four side lengths. The diagonal provides the additional constraint needed to determine the shape uniquely (up to reflection).
The method used by this calculator is called diagonal decomposition. A diagonal splits the quadrilateral into two triangles. The area of each triangle is computed independently using Heron's formula, and the total area is their sum. Heron's formula states that for a triangle with sides \( p, q, r \) and semi-perimeter \( s = (p+q+r)/2 \), the area is \( A = \sqrt{s(s-p)(s-q)(s-r)} \).
For the first triangle (formed by sides \( a \), \( b \), and the diagonal \( e \)), the semi-perimeter is \( s_1 = (a + b + e)/2 \), and the area is \( A_1 = \sqrt{s_1(s_1-a)(s_1-b)(s_1-e)} \). For the second triangle (formed by sides \( c \), \( d \), and the diagonal \( e \)), the computation is analogous. The total quadrilateral area is \( A = A_1 + A_2 \).
This approach has deep historical roots. Heron of Alexandria (c. 10–70 AD) discovered his formula for the area of a triangle in terms of its sides alone, without needing the height. The diagonal decomposition technique extends this to arbitrary quadrilaterals and was well known to medieval Islamic mathematicians who used it for land surveying.
For cyclic quadrilaterals (all four vertices lie on a circle), a more specialized formula exists: Brahmagupta's formula, \( A = \sqrt{(s-a)(s-b)(s-c)(s-d)} \), where \( s \) is the semi-perimeter. This formula does not require the diagonal because the cyclic constraint uniquely determines the shape. For non-cyclic quadrilaterals, the more general Bretschneider's formula incorporates two opposite angles, but the diagonal decomposition method used here is often more practical when the diagonal is measurable.
In surveying and land measurement, the diagonal decomposition method is standard practice. Surveyors measure the four boundary lengths and one diagonal of a parcel, then compute the area using this technique. It is also used in finite element analysis, where complex domains are meshed into quadrilateral elements whose areas must be computed accurately.
The calculator also displays the individual triangle areas, which can help verify the computation and understand how the diagonal divides the total area. A diagonal that is closer to the "center" of the quadrilateral will produce two triangles of roughly equal area, while an extreme diagonal will create one large and one small triangle.
The quadrilateral is split into two triangles by the diagonal. Each triangle's area is computed using Heron's formula:
Triangle 1 (sides \( a, b, e \)):
$$s_1 = \frac{a + b + e}{2}$$
$$A_1 = \sqrt{s_1(s_1 - a)(s_1 - b)(s_1 - e)}$$
Triangle 2 (sides \( c, d, e \)):
$$s_2 = \frac{c + d + e}{2}$$
$$A_2 = \sqrt{s_2(s_2 - c)(s_2 - d)(s_2 - e)}$$
Total Area:
$$A = A_1 + A_2$$
Perimeter:
$$P = a + b + c + d$$
The area is the total enclosed surface of the quadrilateral. The perimeter is the total boundary length. The Triangle 1 Area and Triangle 2 Area show how the diagonal partitions the total area into two parts. If the triangle inequality is violated for either triangle (i.e., the given sides cannot form a valid triangle with the diagonal), the corresponding area may yield an imaginary result — the calculator uses absolute value to handle minor numerical issues, but significant violations indicate invalid input dimensions.
Inputs
Results
An irregular quadrilateral with sides 5, 7, 8, 6 and diagonal 10. The diagonal splits it into triangles with areas approximately 16.25 and 23.83.
Inputs
Results
A rectangle with sides 6 and 8 has diagonal 10 (by Pythagoras). Both triangles have equal area 24, giving total area 48 = 6×8.
Four side lengths alone do not determine a unique quadrilateral — the shape can flex into infinitely many configurations with different areas. The diagonal fixes the shape (up to reflection), providing enough information to compute the area uniquely.
Heron's formula computes the area of a triangle from its three side lengths: \( A = \sqrt{s(s-a)(s-b)(s-c)} \), where \( s = (a+b+c)/2 \) is the semi-perimeter. It was discovered by Heron of Alexandria around the 1st century AD and eliminates the need to know the height of the triangle.
Yes, but the diagonal must be one that lies inside the quadrilateral (for a convex quadrilateral, both diagonals work). You must correctly assign which sides form each triangle. The total area will be the same regardless of which diagonal you use, as long as the quadrilateral is convex.
For concave (non-convex) quadrilaterals, you must use the diagonal that lies entirely inside the shape. If you use the external diagonal, the method will give an incorrect area because the two triangles will overlap rather than partition the quadrilateral.
Brahmagupta's formula gives the area of a cyclic quadrilateral (one inscribed in a circle) as \( A = \sqrt{(s-a)(s-b)(s-c)(s-d)} \), where \( s \) is the semi-perimeter. It requires no diagonal but only works for cyclic quadrilaterals. The general version is Bretschneider's formula, which includes opposite angles.
Surveyors measure the four boundary lengths and one or two diagonals of a land parcel using tape measures or electronic distance meters. They then apply the diagonal decomposition method to compute the plot area. This technique has been used for thousands of years and remains standard practice in cadastral surveying.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!