Irregular four-sided plots of land, rooms and fields rarely have parallel sides. Bretschneider’s formula generalises Heron’s formula and Brahmagupta’s formula for cyclic quadrilaterals to every quadrilateral.
How to use the Quadrilateral Calculator
- What do you know?
- Diagonal p
- Diagonal q
- Angle θ
- Side a
- Side b
- Side c
- Side d
- Angle α (between d and a)
- Angle γ (between b and c)
- Bimedian m
- Bimedian n
- Angle φ
Results update as you type, and everything is calculated in your browser.
How it works
Pick what you know. With four sides you also need two opposite angles; if the quadrilateral is cyclic (α + γ = 180°), the cosine term vanishes and you get Brahmagupta’s formula.
Inputs explained
| Field | What to enter |
|---|---|
| What do you know? | Choose one: Diagonals p, q and angle θ between them, Four sides and two opposite angles, Bimedians m, n and angle φ between them |
| Diagonal p | Units: cm, m, mm, in, ft, yd … |
| Diagonal q | Units: cm, m, mm, in, ft, yd … |
| Angle θ | Units: °, rad, π rad, grad, turn |
| Side a | Units: cm, m, mm, in, ft, yd … |
| Side b | Units: cm, m, mm, in, ft, yd … |
| Side c | Units: cm, m, mm, in, ft, yd … |
| Side d | Units: cm, m, mm, in, ft, yd … |
| Angle α (between d and a) | Units: °, rad, π rad, grad, turn |
| Angle γ (between b and c) | Units: °, rad, π rad, grad, turn |
| Bimedian m | Units: cm, m, mm, in, ft, yd … |
| Bimedian n | Units: cm, m, mm, in, ft, yd … |
| Angle φ | Units: °, rad, π rad, grad, turn |
What each result means
- Perimeter = [Side a] + [Side b] + [Side c] + [Side d]
- Sum of the other two angles = 360 – [Angle α (between d and a)] – [Angle γ (between b and c)]
Example values
How the main result changes when Diagonal p changes and everything else stays at the example values above:
| Diagonal p (cm) | Area (cm²) |
|---|---|
| 4.5 | 28.9552 |
| 6.75 | 28.9552 |
| 9 | 28.9552 |
| 11.25 | 28.9552 |
| 13.5 | 28.9552 |
| 18 | 28.9552 |
Formula
A = ½·p·q·sin θ
A = √((s − a)(s − b)(s − c)(s − d) − abcd·cos²((α + γ)/2)), s = (a + b + c + d)/2
A = m·n·sin φ
Worked example
Inputs: What do you know?: Four sides and two opposite angles; Side a: 5 cm; Side b: 6 cm; Side c: 4 cm; Side d: 7 cm; Angle α (between d and a): 80 °; Angle γ (between b and c): 95 °.
Results: Area = 28.955168 cm²; Perimeter = 22 cm; Sum of the other two angles = 185 °.
Key terms
- Cyclic quadrilateral
- One whose vertices lie on a circle.
- Bretschneider's formula
- The general area formula from four sides and two opposite angles.
Frequently asked questions
Can I find the area from four sides alone?
No. The shape can flex; you also need an angle or a diagonal.
What is Brahmagupta's formula?
For cyclic quadrilaterals, A = √((s − a)(s − b)(s − c)(s − d)).
What is a bimedian?
A segment joining the midpoints of opposite sides.
Do the angles of a quadrilateral add to 360°?
Yes, always.