Trapezoid Angle Calculator

Enter the two base lengths and two leg lengths of a trapezoid to find all four interior angles, using the law of cosines.

Quick Facts

Base angle formula
cos(A) = (d² + (a-b)² - c²) / (2d(a-b))
Law of cosines applied to the triangle formed by the two legs and the base difference.
Co-interior angles
Angle + angle above it = 180°
Each base angle and the angle directly above it on the same leg are supplementary, since the bases are parallel.
Angle sum
A + B + C + D = 360°
True for every simple quadrilateral, including trapezoids.
Isosceles case
c = d ⇒ equal base angles
Equal legs make both angles at each base identical.

Your Results

Calculated
Bottom-Left Angle (A)
-
Between Base A and the left leg
Bottom-Right Angle (B)
-
Between Base A and the right leg
Top-Left Angle (D)
-
= 180° − Angle A (co-interior)
Top-Right Angle (C)
-
= 180° − Angle B (co-interior)

Ready

Enter both base lengths and both leg lengths, then press Calculate.

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.

Frequently Asked Questions

How do you find a trapezoid's angles from its side lengths?
Slide one leg over so it forms a triangle with the other leg and the difference between the two base lengths (a − b). Applying the law of cosines to that triangle gives the base angle: cos(A) = (d² + (a−b)² − c²) / (2d(a−b)), where d is the left leg, c is the right leg, a is the longer base, and b is the shorter base. The same formula with c and d swapped gives the angle at the other base corner.
Do a trapezoid's four interior angles always add up to 360°?
Yes. Like any simple quadrilateral, a trapezoid's interior angles sum to 360°. In addition, because the two bases are parallel, each base angle and the angle directly above it on the same leg are co-interior angles that sum to 180°.
What makes an isosceles trapezoid's angles special?
When the two legs are equal length (c = d), the trapezoid is isosceles: both base angles at the longer base are equal to each other, and both angles at the shorter base are equal to each other (each being 180° minus the base angle).
Why does my calculator say the side lengths are invalid?
The two legs and the base difference (a − b) must satisfy the triangle inequality: the base difference has to be less than the sum of the legs and greater than their difference. If it isn't, no trapezoid with straight sides can be built from those four lengths — double-check your measurements or make sure the longer base is entered as Base A.