Quadrilateral Area Calculator & Diagonal Reconstruction

Enter four ordered side lengths and diagonal AC. Build the two triangles on that diagonal, see which placements form a simple boundary, and compare their areas and the other diagonal.

Measured polygon geometry

Find quadrilateral area from a measured diagonal

Only the opposite-side placement produces a simple quadrilateral.
Edit the four sides and diagonal

Name corners A, B, C and D as you walk the boundary. Measure all four sides and the distance from A to C in one unit.

Opposite sides of AC

Convex quadrilateral

12 square units

Other diagonal BD 5

Same side of AC

Crossed boundary

Area unavailable

Other diagonal BD 1.4

Perimeter 14. The shared diagonal must be strictly between 1 and 7 in your length unit.

Reconstruct the boundary around AC

Both triangles use the dashed diagonal AC. Match the placement to the order in which you measured the outside edges.

Equal-scale reconstruction from four sides and diagonal ACOpposite sides of AC. Convex quadrilateral. Area 12 square units.ABCDDashed line · diagonal AC

Convex quadrilateral · 12 square units

Review the two triangles and export CSV
Triangle measurements about AC
TriangleFoot along ACHeightArea
ABC1.82.46
ADC3.22.46

The CSV includes exact squared heights and areas for both triangles.

How to use this calculator

  1. Label the four corners in walking order and measure the sides and diagonal AC in one unit.
  2. Read the two possible placements and find the one that matches the boundary. Compare quadrilateral areas and the implied length of diagonal BD.
  3. Use the drawing toggle to view the same-side or opposite-side assembly. The scale stays fixed during the comparison.
  4. Export the measured lengths, exact squared triangle areas and boundary classifications as CSV.

The Formula

The mathematical logic powering this calculation is:

Put A at (0,0) and C at (d,0), where d is measured diagonal AC. With left side L and right side R connected to an apex, its altitude foot measured from A is u = (L² − R² + d²)/(2d). The height is √(L² − u²), and the triangle area is d × height/2. Both triangles require |L − R| < d < L + R.

Place B above AC and compare D on either side of AC. For opposite sides, the simple boundary has area equal to the sum of the two triangle areas. For the same side, a simple boundary has the absolute difference of the triangle areas. Use exact turn signs to determine whether the perimeter is convex, concave, crossed or flat. Crossed or flat boundaries withhold quadrilateral area. Height squares and coordinate projections use exact fractions. Classification compares signed radical products by their exact squares. The drawing and displayed square roots are approximate.

Use one planar length unit and enter the outside edges in order AB, BC, CD and DA. Each side and the measured diagonal must be positive through 1 billion, with up to six decimals. Area uses square units. A measurement placing B and D on opposite sides of AC can produce a concave shape at A or C when a corner turns inward.

Worked Example

If you input:

  • Outside side lengths: 3, 4, 3, 4
  • Diagonal AC: 5

Result:

The opposite-side placement is a convex quadrilateral with area 12 and diagonal BD of 5 units. The same-side placement crosses itself.

Frequently Asked Questions

Can I determine quadrilateral area from four sides alone?

Four sides can flex to different shapes and areas. A diagonal determines the two triangles. The placement of those triangles identifies the boundary.

When do I add or subtract the two triangle areas?

Use the sum when the two apexes are on opposite sides of the common diagonal. For a simple same-side boundary, use the absolute difference.

Why is an area withheld for one placement?

A boundary with crossing edges or flat corners fails this worksheet’s simple four-corner check. The drawing still shows the measured triangle placement.

Why does the diagonal range exclude its endpoints?

At either endpoint, one triangle would have zero height. A strict triangle inequality gives a positive height on both sides of the shared measurement.

Can I enter any order of the four sides?

Enter them in outside walking order. AB and BC meet B, CD and DA meet D, and AC connects the other two corners.

Similar Calculators