Irregular Trapezoid Area Calculator

Enter the two parallel sides (bases) and two legs of an irregular trapezoid to get its area, height, perimeter, and midsegment length.

Quick Facts

Area formula
A = ½(a + b) × h
a, b are the parallel bases; h is the perpendicular height between them.
Height from the legs
h = √(c² − p²), p = (x² + c² − d²) / (2x)
x = a − b; lets you find height when only the four side lengths are known.
Median (midsegment)
m = (a + b) / 2
Length of the segment joining the midpoints of the two legs.
Validity check
Legs must span the base gap
If a leg is shorter than its horizontal offset, no such trapezoid exists.

Your Results

Calculated
Area
-
A = ½(a + b) × h
Height
-
Perpendicular distance between the bases
Perimeter
-
Sum of all four sides
Median (midsegment)
-
(a + b) / 2

Ready

Enter the two bases and two legs, then press Calculate.

Formula and method for Irregular Trapezoid Area

Area of a Trapezoid:

A = ½ × (a + b) × h

a, b = parallel sides (bases); h = perpendicular height between them

A trapezoid (trapezium in British English) is a quadrilateral with exactly one pair of parallel sides. An irregular trapezoid is the general case: the two legs (the non-parallel sides) have different lengths and meet the bases at different angles — unlike a right trapezoid (one leg perpendicular to the bases) or an isosceles trapezoid (equal legs). The area always comes from A = ½(a + b)h, but when you only know the four side lengths and not the height, this calculator derives h for you first.

How the calculation works

Enter the two parallel sides (a and b) and the two legs (c on the left, d on the right). If the bases are unequal, drop perpendiculars from the ends of the shorter base down to the longer base — this splits the trapezoid into a rectangle in the middle and a right triangle at each end. Let x = a − b be the difference between the bases. Solving the two right triangles' Pythagorean relationships together gives the horizontal offset p = (x² + c² − d²) / (2x), and then the height h = √(c² − p²). Once h is known, area follows from A = ½(a + b)h, perimeter from P = a + b + c + d, and the median (midsegment) from m = (a + b) / 2.

Common mistakes

  • Mixing up bases and legs: only the two sides you enter as "Base a" and "Base b" are assumed parallel; the legs (c and d) are the non-parallel sides and are generally different lengths in an irregular trapezoid.
  • Equal bases: if a = b, the shape is a parallelogram, not a trapezoid, and the height cannot be derived from the legs this way — the calculator will flag this.
  • Impossible side combinations: if a leg is too short to bridge the horizontal gap created by the difference in base lengths, no real trapezoid exists with those four sides; the calculator reports this as invalid input.
  • Mixed units: enter all four sides in the same unit before selecting the unit label — mixing inches and feet in different fields produces a meaningless area.

Real-world applications

  • Land surveying and property parcels, where irregular four-sided plots often have exactly one pair of parallel boundary lines
  • Roofing sections, gutters, and ramps that taper from one width to another
  • Cross-sections of canals, drainage channels, and retaining walls, which are frequently trapezoidal
  • Sewing, quilting, and fabrication patterns that use trapezoid panels of varying width

Frequently Asked Questions

What is an irregular trapezoid?
A trapezoid (trapezium in British English) is a quadrilateral with exactly one pair of parallel sides, called the bases. An irregular trapezoid is the general case: the two legs (non-parallel sides) have different lengths and meet the bases at different angles, unlike a right trapezoid (one leg perpendicular to the bases) or an isosceles trapezoid (equal legs).
How do you find the area of a trapezoid without knowing the height?
If you only know the four side lengths, drop perpendiculars from the ends of the shorter base to the longer base to form two right triangles. Solve p = (x² + c² − d²) / (2x), where x is the difference between the bases and c, d are the leg lengths, then the height is h = √(c² − p²). This calculator performs that computation automatically before applying A = ½(a+b)h.
Why does the calculator say the sides do not form a valid trapezoid?
This happens when the two leg lengths are too short to span the horizontal gap between the parallel sides, which makes the height calculation h = √(c² − p²) come out negative under the square root. Double-check your measurements — each leg must be at least as long as its horizontal offset from the base difference.
What is the median (midsegment) of a trapezoid?
The median, or midsegment, is the segment joining the midpoints of the two legs. Its length always equals the average of the two parallel sides, (a+b)/2, no matter how long the legs are.