☖ Home Units Converter Geometry Σ Math Physics Electricity

Irregular convex quadrilateral calculator

Print quadrilateral
Quadrilateral description


Side a
Side b
Side c
Side d
Diagonal AC (p)
Diagonal BD (q)
Angle α
Angle β
Angle γ
Angle δ
Quadrilateral area
Quadrilateral perimeter
Angle between diagonals
Area of triangle ABC
Area of triangle ACD
Area of triangle ABD
Area of triangle BCD
α1 
α2 
β1 
β2 
γ1 
γ2 
δ1 
δ2 
 
       
Degree 
Radian       
Input Limit:
     
Irregular convex Quadrilateral summary
Irregular convex quadrilateral summary
Print summary

Four sides of an irregular quadrilateral can be arranged in convex, concave or crossed shape.

Quadrilateral forms

(We assume that the vertices are connected by the sequence from A to B then to C and to D and finally back to A) Because any arbitrary 4 sides can form a convex, concave or crossed quadrilateral it is mandatory to define the exact form.

In order to draw a quadrilateral closed shape the following inequalities must be fulfilled:

Quadrilateral
a + b + c > d
b + c + d > a
c + d + a > b
d + a + b > c

Any quadrilateral shape can be divided into 2 triangles.

The area of a convex quadrilateral can be expressed in one of the following formulas:

Quadrilateral area
Quadrilateral drawing
It can be seen from Fig. 3 that folding triangle BCD along q axis forms a concave quadrilateral. The question now is how can we estimate if folding the triangle will form a concave or crossed shape. From fig. 2 we can see that if β1> β2 and δ1> δ2 are both true then the new shape will be concave else if one of the criteria is false the new shape is a crossed quadrilateral. If both criteria are false then it is a concave shape but triangle ABD is folded into triangle BCD instead.

If the vertices coordinate of a convex quadrilateral is given, then the area can be calculated easily by cross product of the vectors, formed from the two opposite vertices.

Area By Cross Product
v_1=(x_2-x_1 )i+(y_2-y_1 )j v_2=(x_4-x_1 )i+(y_4-y_1 )j
And the two opposite vectors are:
v_3=(x_2-x_3 )i+(y_2-y_3 )j v_4=(x_4-x_3 )i+(y_4-y_3 )j
And the area is:
A=1/2 (|v_1×v_2 |+|v_3×v_4 |)

After solving the cross product we get a more simple form of the area, It must be remembered that each determinant should be taken as positive value even if the result is negative. (See example 1)

A=|■(x_2&x_4@y_2&y_4 )|+1/2 (|■(x_1&x_2@y_1&y_2 )|+|■(x_4&x_1@y_4&y_1 )|+|■(x_3&x_2@y_3&y_2 )|+|■(x_4&x_3@y_4&y_3 )|)
A=x_2 y_4-x_4 y_2+1/2 (x_1 y_2-x_2 y_1+x_4 y_1-x_1 y_4+x_3 y_2-x_2 y_3+x_4 y_3-x_3 y_4 )