How this quadrilateral calculator works
A general quadrilateral is not fixed by its four side lengths alone: the same four lengths can form different shapes with different areas. This calculator also asks for one diagonal, AC. That diagonal fixes the two triangles on either side, making it possible to calculate the shape consistently.
Quadrilateral formulas
Worked example
Take AB = 5 cm, BC = 4 cm, CD = 6 cm, DA = 5 cm, and AC = 7 cm. The diagonal creates triangles with side lengths (5, 4, 7) and (5, 6, 7). Heron’s formula gives areas of approximately 9.798 cm² and 14.6969 cm², so the quadrilateral area is 24.4949 cm². Its perimeter is 5 + 4 + 6 + 5 = 20 cm.
Convex and concave quadrilaterals
This calculator is designed for a convex quadrilateral: each interior angle is less than 180°, the sides do not cross, and both triangles created by the diagonal have positive area. Invalid side and diagonal combinations are rejected with a message so an impossible diagram is not reported as a result.
Frequently asked questions
Can four side lengths determine a quadrilateral’s area?
No. A quadrilateral can flex while keeping its side lengths, changing its area. One diagonal or another independent measurement is needed.
Why does the calculator ask for diagonal AC?
AC splits the shape into two triangles. Each triangle’s area can then be found from its three side lengths using Heron’s formula.
Does this calculate concave or crossed quadrilaterals?
No. It validates convex shapes and clearly rejects measurements that produce a concave or crossed configuration.
Do all four angles add to 360 degrees?
Yes. The interior angles of every simple quadrilateral sum to 360°.