What does this calculator do?
A trapezoid’s area depends only on its two parallel bases and the height between them — the slant of the legs does not matter. This calculator returns the area and the midline (the segment halfway between the bases, equal to their average). The perimeter needs the two legs as well, so it is only computed when you enter them: leg lengths are never guessed from the other inputs. Use any length unit — as long as every input uses the same one, the results come out in that unit (areas in that unit squared).
Formula
Average the bases, multiply by the height:
A = (a + b) × h ÷ 2 m = (a + b) ÷ 2 P = a + b + c + d
How to use it
Enter both parallel bases and the perpendicular height. The two leg fields are optional — fill both to get the perimeter. The height is the perpendicular distance between the bases, not the length of a slanted leg.
Worked example
Bases 8 and 5 with height 4: area = (8 + 5) × 4 ÷ 2 = 26, midline = 6.5. Adding legs 4.2 and 5 gives perimeter = 8 + 5 + 4.2 + 5 = 22.2.
Frequently asked questions
Why doesn’t the calculator work out the legs for me?
The bases and height alone do not determine the legs — the top base can slide sideways without changing the area. Rather than assume a symmetric (isosceles) trapezoid, the tool asks for the legs when you want the perimeter.
Is the height a side of the shape?
Only in a right trapezoid. In general the height is the perpendicular distance between the two parallel sides — measure it at 90° to the bases, not along a slanted leg.
What is the midline used for?
It is the average width of the trapezoid: area = midline × height. In woodworking and land measurement it is a quick way to estimate area from a middle measurement.
Sources
- Standard polygon geometry (area, perimeter and diagonal formulas for rectangles, squares and trapezoids; interior/exterior angles, apothem and area of regular polygons). The exact formula is shown on every page.
- OpenStax — Contemporary Mathematics (chapter on area, perimeter and polygons)
- Khan Academy — Area and perimeter (accessible explainer, not the primary source)
- Reviewed: 2026-07-31
Related calculators
Last updated: 2026-07-31 · v1.0.0 · Report an error