StatGardenREF. DESK
Calculators/Geometry/Trapezoid
Geometry

Trapezoid calculator

Area and perimeter of a four-sided figure with parallel sides.

What this calculator does

A trapezoid has exactly one pair of parallel sides, called the bases, connected by two legs that need not be equal or parallel to each other. The area depends only on the two bases and the perpendicular height between them: the legs affect the shape but not the area.

That last point trips people up. Two trapezoids can share the same bases and height, so the same area, while having completely different legs and looking nothing alike side by side.

The formula

FormulaA = (a + b)/2 × h; the median equals (a+b)/2

The area formula averages the two parallel sides and multiplies by the height, which is the same as saying the trapezoid has the area of a rectangle whose width equals the median: the line joining the midpoints of the two legs, exactly halfway between the bases in length.

TermMeaning
a, bThe two parallel sides, or bases.
hThe perpendicular height between the two bases.
c, dThe two legs, connecting the bases. Need not be equal.
MedianThe line halfway between the bases, equal to (a + b) ÷ 2.

The inputs explained

FieldWhat to enter
Parallel side aOne parallel side.
Parallel side bThe other parallel side.
HeightThe perpendicular distance between the two parallel sides, not the length of a leg.
Leg cOne leg, connecting the ends of a and b.
Leg dThe other leg.

When to use it

A sloped garden bed or retaining wall

The face of a bed that is wider at the front than the back is a trapezoid. The area from the two widths and the depth gives the soil or paving needed.

A trapezium-shaped block of land

Many suburban blocks taper along one boundary. Treating the front and back widths as the two bases gives the area without needing the diagonal legs at all.

Cross-sections of drains, canals and hoppers

A trapezoidal channel is a standard shape in civil work because it is stable to excavate and hydraulically efficient: the area here gives the flow cross-section.

Fabric or sheet material cut on an angle

A panel that tapers from one width to another, such as a lampshade side or a skirt panel, is a trapezoid, and the median is the average width used for material estimates.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How area scales with height, bases fixed at 10 and 6

The two parallel sides held constant while the height between them increases.

Bases 10 and 6, legs 5.4 each
HeightAreaMedian (mid-line)
216.0008.000
432.0008.000
540.0008.000
864.0008.000
1080.0008.000
15120.0008.000
The median stays fixed at 8 throughout, since it depends only on the two bases, not the height. Area is directly proportional to height here: doubling the height doubles the area, unlike a triangle or circle where the relationship is squared.

How area changes as the top base widens

One base and the height held fixed while the other base grows from much narrower to equal to the first.

Base 10, height 5, legs 5.4
Other baseAreaMedian (mid-line)Perimeter
230.0006.00022.800
435.0007.00024.800
640.0008.00026.800
845.0009.00028.800
1050.00010.00030.800
1460.00012.00034.800
At b = 10 the two bases are equal, which makes the shape a parallelogram rather than a true trapezoid, and the area of 50 matches base × height exactly. Past that point the “top” base is wider than the “bottom”, which is still valid: the labelling is arbitrary.

Questions

What makes a shape a trapezoid rather than a parallelogram?

A trapezoid has exactly one pair of parallel sides. A parallelogram has two pairs, which is the special case where both bases in this calculator are equal.

Do the two legs need to be equal?

No. Equal legs make an isosceles trapezoid, which looks symmetrical, but the area formula works identically whether the legs match or not: it never uses the legs at all.

How is the median different from the average of the bases?

It is not: the median is defined as exactly the average of the two parallel sides, (a + b) ÷ 2. The name refers to its position, halfway between the bases geometrically.

Why doesn’t the area formula use the legs?

Because area only depends on the bases and the perpendicular height between them. The legs can be stretched or skewed, changing the perimeter, without changing the enclosed area as long as the height stays the same.

How do I measure the height if the trapezoid is tilted?

The height must be perpendicular to both parallel sides, not measured along a leg. On a physical object, use a set square or a plumb line from one base to the other rather than a leg length.

For a four-sided shape with two pairs of parallel sides, see the parallelogram calculator. For a shape with no parallel sides, use the triangle calculator after splitting it into triangles.