🧮
🧮 Math & statistics

Trapezoid Calculator

Results update as you type.

Your numbers

Understanding the trapezoid calculator — concept and principle

A trapezoid (called a trapezium in British English) is a four-sided shape with one pair of parallel sides, the bases a and b. The perpendicular distance between them is the height h. This calculator gives the area and the median, the segment joining the midpoints of the two non-parallel legs. Trapezoids appear in land plots, roof faces, retaining walls, channel and embankment cross-sections, and the trapezoidal rule for estimating the area under a curve.

Trapezoid with bases 10 and 6, height 4One trapezoid plus an upside-down copy forms a parallelogram with base 16 and height 4, area 64. The trapezoid is half of it: 32, the same as median 8 × height 4.Two trapezoids make a parallelogrammedian 8b = 6a = 10h = 410 + 6flippedbase 10 + 6 = 1616 × 4 = 64, half = 32 (= 8 × 4)
(a + b) ÷ 2 is the median; median × height gives the area.

How it is calculated

So the area is simply median × height. The bases and height must use the same unit; the area is in that unit squared. The lengths of the slanted legs do not enter the area at all; only the two bases and the perpendicular height matter.

The principle

Draw a diagonal and the trapezoid splits into two triangles that share the same height h: one with base a, one with base b. Their areas are ½ah and ½bh, which add to ½(a + b)h. Another view: place a second copy of the trapezoid upside down next to the first. Together they form a parallelogram with base a + b and height h, so one trapezoid is half of (a + b)h. The median is parallel to the bases and its length is their average, which is why the trapezoid has the same area as a rectangle of width m and height h. If one base shrinks to zero the shape becomes a triangle and the formula becomes ½bh; if the bases are equal it becomes a parallelogram, bh.

Worked example

  1. Inputs: a = 10, b = 6, h = 4.
  2. Median: (10 + 6) ÷ 2 = 8.
  3. Area: 8 × 4 = 32.
How Area changes with HeightHow Area changes with Height0204060801234568Example: 32Height
Each point is the calculator re-run with only “Height” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
HeightArea
18
216
324
432
540
648
864

How to read the result

The median is the average width of the shape, so the area must lie between the narrow-base rectangle (6 × 4 = 24) and the wide-base rectangle (10 × 4 = 40). In the trapezoidal rule, each strip under a curve is treated as a trapezoid, and the error shrinks as the strips get narrower.

Common mistakes

Keep in mind: The formula needs the two bases to be exactly parallel and the height to be perpendicular to them. For land, embankments or structures, measured shapes are rarely ideal, so rely on surveyed data, local codes and a qualified professional.

Frequently asked questions

How do I find the height from the area?

h = 2A ÷ (a + b). An area of 32 with bases 10 and 6 gives h = 4.

How do I find the height of an isosceles trapezoid from its legs?

Each leg c forms a right triangle with the height and half the difference of the bases: h = √(c² − ((a − b)/2)²).

Is a parallelogram a trapezoid?

Under the inclusive definition (at least one pair of parallel sides), yes; some textbooks use the exclusive definition (exactly one pair), so check which your course follows.

Sources: Euclid, Elements, Book I, Propositions 35 and 38 (parallelograms and triangles on equal bases between the same parallels) · R. L. Burden and J. D. Faires, Numerical Analysis, Cengage (trapezoidal rule)

Checked 8 Nov 2026. Standard formulas, computed in your browser with double-precision numbers.

🧮 All math & statistics tools →🌍 Calculators by country →