Trapezoid Calculator for General, Isosceles and Right Trapezoids

Choose the measurements you know. The calculator checks whether they define a real, unique trapezoid and finds its height, legs, area, perimeter, angles, diagonals, coordinates and centroid.

Choose known measurements

The offset may be negative or greater than a − b when the top base overhangs the lower base.

Add a length to get the volume of a ditch, wall, trough or beam with this cross-section.

Choose measurements that determine a unique trapezoid

A general trapezoid needs enough information to locate its top base as well as size it. Both bases and the height determine the area, but not the legs, angles, diagonals or perimeter: the top base can slide horizontally. Add an offset or angle, or provide all four sides. Isosceles and right trapezoids need fewer measurements because symmetry or a right angle fixes the alignment.

Trapezoid formulas

Area = (a + b)h ÷ 2
Midline = (a + b) ÷ 2
Perimeter = a + b + c + d

The bases a and b are parallel. Height h is their perpendicular separation, not a sloping leg.

How to find the area of a trapezoid by hand

Add the two parallel sides, halve the total, then multiply by the perpendicular height. For a garden bed whose parallel edges are 7.5 m and 4.5 m long and 3.2 m apart:

  1. Add the bases: 7.5 + 4.5 = 12 m.
  2. Halve the sum to get the midline: 12 ÷ 2 = 6 m.
  3. Multiply by the height: 6 × 3.2 = 19.2 m².

The legs don’t appear in the area formula at all. Two trapezoids with the same bases and height have the same area, however much the top is shifted sideways.

Why the area formula works

Draw a diagonal and the trapezoid splits into two triangles with the same height h. One has base a and area ah ÷ 2, the other has base b and area bh ÷ 2. Together they make (a + b)h ÷ 2. Another way to see it: put a second copy of the trapezoid upside down beside the first. The two form a parallelogram with base a + b and height h, so one trapezoid is half of (a + b)h.

How to find the height of a trapezoid

The height is the perpendicular distance between the parallel sides, never the length of a sloping leg. Which formula you use depends on what you know:

  • Area and both bases: h = 2A ÷ (a + b). An area of 54 with bases 12 and 6 gives h = 108 ÷ 18 = 6.
  • A leg and the angle it makes with a base: h = c × sin(A). A 5-unit leg at 65° gives h ≈ 4.53.
  • An isosceles trapezoid’s leg: h = √(c² − ((a − b) ÷ 2)²).
  • Both lower angles: h = (a − b) ÷ (cot A + cot B), because the legs’ horizontal runs must add up to the difference between the bases.
  • All four sides: use the method in the next section.

To find a missing base instead, rearrange the area formula to b = 2A ÷ h − a. An area of 30 with one base of 8 and a height of 5 gives b = 12 − 8 = 4.

Solving from all four sides

Let Δ = a − b. If x is the left leg’s horizontal projection, the two right triangles beside the top base give c² = x² + h² and d² = (Δ − x)² + h². Subtracting these equations gives:

x = [Δ² + c² − d²] ÷ 2Δ
h = √(c² − x²)

A negative value inside the square root means the sides cannot form the requested trapezoid. If a = b and c = d, the dimensions describe many possible parallelograms, so a height or angle is still required.

Example: a = 12, b = 8, c = 5 and d = 6. Then Δ = 4, x = (16 + 25 − 36) ÷ 8 = 0.625 and h = √(25 − 0.390625) ≈ 4.961. The area is (12 + 8) × 4.961 ÷ 2 ≈ 49.61.

General, isosceles and right trapezoids

General trapezoid

The legs may have different lengths and the top base may be offset or overhang either side.

Isosceles trapezoid

The legs and diagonals are equal. The top base is centred, giving x = (a − b)/2 and equal pairs of base angles.

Right trapezoid

One leg is perpendicular to both bases and equals the height. The other leg follows from the height and difference between the bases.

Is a parallelogram a trapezoid?

It depends on the definition. Under the exclusive definition, common in American schools, a trapezoid has exactly one pair of parallel sides, so a parallelogram is not a trapezoid. Under the inclusive definition, used by many mathematicians, a trapezoid has at least one pair, so parallelograms, rectangles and squares count as special trapezoids. The area formula works for all of them. With equal bases it becomes base × height.

Common mistakes

  • Using a slanted leg as the height. The height must be measured at right angles to the bases.
  • Mixing units. Convert every length to the same unit before you start.
  • Forgetting square units. Area is in m², ft² or similar, and volume in cubic units.
  • Assuming the trapezoid is isosceles. Unless the legs are known to be equal, two bases and a height don’t fix the legs or angles.
  • Adding the legs to the area formula. Only the bases and height affect the area; the legs matter for the perimeter.

Coordinates and centroid

The diagram uses A(0,0), B(a,0), C(x+b,h) and D(x,h). These coordinates make the diagonals, angles and centroid unambiguous, including cases where the top base overhangs the bottom base.

Volume of a trapezoidal prism

Many real objects have the same trapezoid cross-section along their whole length: drainage ditches, canals, embankments, retaining walls, troughs and tapered beams. Their volume is the cross-section area times the length.

A ditch 1.2 m wide at the top, 0.6 m wide at the bed and 0.5 m deep has a cross-section of (1.2 + 0.6) × 0.5 ÷ 2 = 0.45 m². Over a 40 m run that is 0.45 × 40 = 18 m³ of soil to dig, or 18,000 litres of water when full. Enter a prism length in the calculator to get this figure, along with litres or US gallons. The wider side goes in the bottom-base box even when it is at the top of a real ditch; the shape is the same either way up.

The trapezoidal rule

The same formula is behind the trapezoidal rule, a simple way to estimate the area under a curve or of an irregular plot. Measure widths at equal spacing, treat each strip as a trapezoid and add them up: area ≈ spacing ÷ 2 × (first + 2 × each middle width + last).

For a pond measured every 10 m with widths of 12, 15, 17 and 14 m, the estimate is 10 ÷ 2 × (12 + 30 + 34 + 14) = 5 × 90 = 450 m². Closer spacing gives a better estimate.

Where trapezoid calculations are used

Trapezoids model roof faces, tapered panels, retaining-wall profiles, drainage channels, embankments and land parcels. Cross-sectional area multiplied by a constant length gives prism volume, but real excavation and fabrication work should include tolerances, slopes and professional measurements.

Frequently asked questions

Can four side lengths determine a trapezoid?

Yes when the bases have different lengths and the legs can span their difference. Equal bases and equal legs describe many parallelograms, so they need another measurement.

Why are bases and height not enough for the perimeter?

The top base can slide horizontally without changing either base or the height. That changes both legs, diagonals and angles.

Can the top base be longer than the bottom base?

Yes. The formulas and diagram allow either base to be longer.

Can a trapezoid have an overhanging top?

Yes. A negative offset or an offset beyond the base difference describes an overhang and produces an obtuse lower angle.

What is the difference between a trapezoid and trapezium?

American English usually calls a quadrilateral with a pair of parallel sides a trapezoid. British English traditionally calls it a trapezium.

How do I check an isosceles result?

The two legs and two diagonals should match, and the two lower base angles should be equal.

How do I find the height of a trapezoid from its area?

Double the area and divide by the sum of the bases: h = 2A ÷ (a + b). For an area of 54 and bases of 12 and 6, the height is 108 ÷ 18 = 6.

How do I find a missing base?

Use b = 2A ÷ h − a. With an area of 30, a height of 5 and one base of 8, the other base is 12 − 8 = 4.

What is the midline (median) of a trapezoid?

It is the segment joining the midpoints of the two legs. It runs parallel to the bases, its length is their average, (a + b) ÷ 2, and the area equals midline × height.

Is a parallelogram a trapezoid?

Under the inclusive definition, yes, because it has at least one pair of parallel sides. Under the exclusive definition, a trapezoid has exactly one pair, so a parallelogram doesn’t count.

How do I find the volume of a trapezoidal prism?

Find the area of the trapezoid cross-section and multiply it by the length. A 0.45 m² ditch section over 40 m holds 18 m³.

← All geometry calculators