Formula and Method for Trapezoid Angles
A trapezoid has exactly one pair of parallel sides, called the bases, and two non-parallel sides, called the legs. Knowing all four side lengths — the longer base a, the shorter base b, and the two legs c and d — is enough to pin down the shape completely, including all four interior angles. This calculator finds those angles using the law of cosines, then reports the pair at the shorter base as the supplement of the pair at the longer base.
How the calculation works
Slide the right leg (length c) to the left, parallel to itself, until its lower endpoint meets the left end of the shorter base. That construction creates a triangle whose three sides are the left leg d, the right leg c, and the base difference (a − b) — because the two bases are parallel, this auxiliary triangle has the exact same angle at the bottom-left corner as the trapezoid does. Applying the law of cosines to that triangle gives the bottom-left angle A:
cos(A) = (d² + (a−b)² − c²) / (2d(a−b)), so A = arccos of that ratio.
The same construction from the other side gives the bottom-right angle B: cos(B) = (c² + (a−b)² − d²) / (2c(a−b)). Because the two bases are parallel, the top-left angle D and top-right angle C are simply the supplements: D = 180° − A and C = 180° − B. As a check, the trapezoid's height works out to h = d·sin(A), which should equal c·sin(B).
Common mistakes
- Mixing up which base is longer: enter the longer parallel side as Base A and the shorter one as Base B — the formula relies on the sign of (a − b).
- Impossible side combinations: the two legs and the base difference must satisfy the triangle inequality (each side shorter than the sum of the other two). If they don't, no trapezoid can be built from those four lengths.
- Assuming isosceles when it isn't: unless you know the legs are equal, don't assume the base angles at each end are the same — use the general formula above instead of the simpler right-triangle shortcut.
Real-world applications
- Carpentry and framing use trapezoid angles to cut roof sections, stair stringers, and beveled trim pieces that taper from a wide edge to a narrow one.
- Civil engineering relies on trapezoidal cross-sections (canals, road embankments, retaining walls) where the side-slope angle determines stability and material volume.
- Sewing, quilting, and fabrication patterns often use trapezoid panels, and knowing the corner angles lets you cut and join pieces accurately.
- Land surveying uses trapezoid angle checks to confirm a parcel's boundary lines close correctly.