Trapezoid Calculator

Area and midline from bases and height — plus perimeter if you know the legs.

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
Trapezoid diagramA trapezoid with parallel bases a and b and a dashed height h.abh
Diagram not to scale.

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.

Formula version1.0.0
FormulaA = (a + b) × h ÷ 2 m = (a + b) ÷ 2 P = a + b + c + d
Precision4 decimals

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

Related calculators

Last updated: 2026-07-31 · v1.0.0 · Report an error