Trapezoid Calculator

Calculate the area, median and side lengths of a trapezoid from its two parallel sides and height.

Zero for a right trapezoid; (a−b)/2 for an isosceles one.
Area 32
A = ½(a + b)h · median = ½(a + b)
Median (midline) 8
A = ½(a + b)h · median = ½(a + b)
Left leg 4.472136
Right leg 4.472136
Perimeter 24.944272
A = ½(a + b)h · median = ½(a + b)
Base angle at the left 63.435 °

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Trapezoid Calculator does

This trapezoid calculator will calculate the area, median and side lengths of a trapezoid from its two parallel sides and height. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for calculating the area of an irregular plot or garden bed. A related tool on this site is the parallelogram calculator.

How to use it

  1. Enter the two parallel sides.
  2. Enter the perpendicular height between them.
  3. Set the horizontal offset of the shorter side — zero for a right trapezoid.

How it works

The area formula is the average of the two parallel sides times the height, which is the same as saying a trapezoid has the area of a rectangle whose width is its median. That is why the median is worth knowing: it converts the shape into an equivalent rectangle for any further calculation.

The height is the perpendicular distance between the parallel sides, not the length of a leg. Using a leg length here is the standard error and always overstates the area.

A trapezoid in British usage is called a trapezium, and confusingly the American "trapezium" means a quadrilateral with no parallel sides at all. The formula is unaffected by the naming.

When to use it

  • Calculating the area of an irregular plot or garden bed.
  • Working out the cross-sectional area of a channel or embankment.
  • Solving a geometry problem.
  • Finding the area under a straight line segment, as in the trapezoidal rule.

Common mistakes to avoid

  • Using a leg length as the height.
  • Mixing up which side is which — the formula is symmetric, so it does not matter, but the offset does.
  • Assuming the legs are equal. Only an isosceles trapezoid has equal legs.

Frequently asked questions

What is the area of a trapezoid?

Half the sum of the parallel sides times the perpendicular height. With sides 10 and 6 and height 4, the area is 32.

What is the median of a trapezoid?

The segment joining the midpoints of the legs. Its length is the average of the two parallel sides, and the area equals the median times the height.

Is a trapezoid the same as a trapezium?

In British usage, yes. In American usage, a trapezium is a quadrilateral with no parallel sides, which is the opposite. The shape described here has exactly one pair of parallel sides.

Related tools

See all math & statistics calculators →