What an obtuse trapezoid is
An obtuse trapezoid is a trapezoid that has one acute and one obtuse interior angle on each of its two parallel bases. Seen from the longer base \(a\), one leg leans outwards past the end of the base and the other leans inwards, so the shorter base \(c\) is shifted to one side. This sets it apart from an acute trapezoid (both angles on the longer base acute, as in every isosceles trapezoid) and from a right trapezoid (an angle of exactly \(90^{\circ}\)). In the figure the corners are \(A, B, C, D\) counter-clockwise, \(AB=a\) is the longer base, \(BC=b\), \(CD=c\), \(DA=d\), and \(\alpha\), \(\beta\) are the angles at \(A\) and \(B\).
Enter the four sides, or a base with the height and angles, and the calculator returns the area, all sides, the height, both diagonals, the perimeter, the midline and all four angles. It refuses inputs that do not close into a trapezoid, and it tells you when the shape you entered is acute or right rather than obtuse. Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. The page shows up to six decimal places, and writes a value below 0.0000005 or of 1015 and more as its full decimal. Every length must be from 0.000001 to 1,000,000,000; anything outside is refused with a message naming the range.
Derivation
Place \(A\) at the origin with \(AB\) on the x-axis and let \(D=(x_D,h)\). From four sides, cut away the parallelogram with sides \(c\) and \(b\): what is left is a triangle with sides \(a-c\), \(b\) and \(d\) and height \(h\). Its apex lies at
$$x_D=\frac{d^{2}-b^{2}+(a-c)^{2} }{2\,(a-c)},\qquad h=\sqrt{d^{2}-x_D^{2} },$$which is the same as Heron's formula on that triangle, \(h=\tfrac{2}{a-c}\sqrt{p(p-b)(p-d)(p-a+c)}\) with \(p=\tfrac{b+d+a-c}{2}\). The angle at \(A\) is obtuse exactly when \(x_D<0\), and the angle at \(B\) is obtuse exactly when \(x_D>a-c\). From a height and angles, \(x_D=h\cot\alpha\) and \(c=a-h\cot\alpha-h\cot\beta\).
$$K=\frac{a+c}{2}\,h,\qquad P=a+b+c+d,\qquad m=\frac{a+c}{2},$$ $$e=AC=\sqrt{(x_D+c)^{2}+h^{2} },\qquad f=BD=\sqrt{(a-x_D)^{2}+h^{2} },\qquad \gamma=180^{\circ}-\beta,\quad \delta=180^{\circ}-\alpha.$$A check that holds for every trapezoid: \(e^{2}+f^{2}=b^{2}+d^{2}+2ac\).
Worked example
The page opens with \(a=20\), \(b=15\), \(c=16\), \(d=13\). The leftover triangle has sides \(4, 15, 13\):
$$x_D=\frac{169-225+16}{8}=-5,\qquad h=\sqrt{169-25}=12,\qquad K=\frac{20+16}{2}\cdot 12=216.$$Since \(x_D=-5<0\), the angle at \(A\) is obtuse: \(\alpha=180^{\circ}-\arctan\tfrac{12}{5}\approx 112.619865^{\circ}\), while \(\beta=\arctan\tfrac{12}{9}\approx 53.130102^{\circ}\). The diagonals are \(e=\sqrt{11^{2}+12^{2} }=\sqrt{265}\approx 16.278821\) and \(f=\sqrt{25^{2}+12^{2} }=\sqrt{769}\approx 27.730849\); the perimeter is 64 and the midline 18.
FAQ
Why does the calculator refuse some four-side inputs?
Four sides fix a trapezoid only when \(a\ne c\) and the lengths \(a-c\), \(b\), \(d\) satisfy the triangle inequality. If the two angles at the longer base both come out acute (or one is exactly \(90^{\circ}\)), the trapezoid exists but is not obtuse, and the calculator says which kind it is.
Which base must be a?
The longer one. Enter the shorter parallel side as \(c\).
Is the area formula different from an ordinary trapezoid?
No. The area is always the mean of the parallel sides times the height; only the way the height is found from the sides changes.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018
H. S. M. Coxeter, Introduction to Geometry, 2nd ed., 1969