Trapezoid formulas
- Area: A = (a + b) / 2 · h
- Perimeter: P = a + b + c + d
- Midsegment: m = (a + b) / 2, so A = m · h
A trapezoid (called a trapezium in British English) has two parallel sides, the bases a and b, joined by the legs c and d. The height h is the distance between the bases.
Isosceles trapezoid
Both legs are equal: c = √(h² + ((a − b)/2)²), and both diagonals are d = √(h² + ((a + b)/2)²). Example with a = 10 cm, b = 6 cm and h = 4 cm:
A = (10 + 6) / 2 · 4 = 32 cm² c = √(4² + 2²) = √20 ≈ 4.47 cm P = 10 + 6 + 2 · 4.47 ≈ 24.94 cm d = √(4² + 8²) = √80 ≈ 8.94 cm
Right trapezoid
One leg is perpendicular to the bases, so it equals the height. The slanted leg is d = √(h² + (a − b)²). With a = 10 cm, b = 6 cm and h = 4 cm, d = √32 ≈ 5.66 cm, the area is 32 cm² and the perimeter about 25.66 cm.
Any trapezoid from four sides
First find how far the top base is shifted, then the height:
- x = ((a − b)² + c² − d²) / (2 · (a − b))
- h = √(c² − x²)
Example with bases of 20 cm and 6 cm and legs of 13 cm and 15 cm: x = (196 + 169 − 225) / 28 = 5 cm, h = √(169 − 25) = 12 cm and A = 13 · 12 = 156 cm². The bases must differ, and the legs must be able to span the difference between them.
Frequently asked questions
How do I find the height from the area?
Rearrange the area formula: h = 2 · A / (a + b). A trapezoid of 45 cm² with bases of 12 cm and 6 cm is 5 cm tall.
Which side is a and which is b?
It doesn’t matter for the area and perimeter. a and b are the two parallel sides, and the results are the same either way round.
What is the midsegment of a trapezoid?
The line joining the midpoints of the legs. It is parallel to the bases and as long as their average, (a + b) / 2.