|Edges and vertices||4|
In geometry, a trapezoid ( /ˈtræpəzɔɪd/) in American and Canadian English, or trapezium ( /trəˈpiːziəm/) in British and other forms of English,   is a quadrilateral that has at least one pair of parallel sides.
A trapezoid is necessarily a convex quadrilateral in Euclidean geometry. The parallel sides are called the bases of the trapezoid. The other two sides are called the legs (or the lateral sides) if they are not parallel; otherwise, the trapezoid is a parallelogram, and there are two pairs of bases. A scalene trapezoid is a trapezoid with no sides of equal measure,  in contrast with the special cases below.
Ancient Greek mathematician Euclid defined five types of quadrilateral, of which four had two sets of parallel sides (known in English as square, rectangle, rhombus and rhomboid) and the last did not have two sets of parallel sides – a τραπέζια (trapezia  literally "a table", itself from τετράς (tetrás), "four" + πέζα (péza), "a foot; end, border, edge"). 
Two types of trapezia were introduced by Proclus (412 to 485 AD) in his commentary on the first book of Euclid's Elements:  
All European languages follow Proclus's structure   as did English until the late 18th century, until an influential mathematical dictionary published by Charles Hutton in 1795 supported without explanation a transposition of the terms. This mistake was corrected in British English in about 1875, but was retained in American English into the modern day. 
The following is a table comparing usages, with the most specific definitions at the top to the most general at the bottom.
|Type||Sets of parallel sides||Image||Original terminology||Modern terminology|
|Euclid (Definition 22)||Proclus (Definitions 30-34, quoting Posidonius)||Euclid / Proclus definition||British English (and European languages)||American English|
|Parallelogram||2||ῥόμβος (rhombos)||equilateral but not right-angled||Rhombus/Parallelogram|
|ῥομβοειδὲς (rhomboides)||opposite sides and angles equal to one another but not equilateral nor right-angled||Rhomboid/Parallelogram|
|Non-parallelogram||1||τραπέζια (trapezia)||τραπέζιον ἰσοσκελὲς (trapezion isoskelés)||Two parallel sides, and a line of symmetry||Isosceles Trapezium||Isosceles Trapezoid|
|τραπέζιον σκαληνὸν (trapezion skalinón)||Two parallel sides, and no line of symmetry||Trapezium||Trapezoid|
|0||τραπέζοειδὲς (trapezoides)||No parallel sides||Irregular quadrilateral/Trapezoid  ||Trapezium|
There is some disagreement whether parallelograms, which have two pairs of parallel sides, should be regarded as trapezoids. Some define a trapezoid as a quadrilateral having only one pair of parallel sides (the exclusive definition), thereby excluding parallelograms.  Others  define a trapezoid as a quadrilateral with at least one pair of parallel sides (the inclusive definition ), making the parallelogram a special type of trapezoid. The latter definition is consistent with its uses in higher mathematics such as calculus. This article uses the inclusive definition and considers parallelograms as special cases of a trapezoid. This is also advocated in the taxonomy of quadrilaterals.
Under the inclusive definition, all parallelograms (including rhombuses, squares and non-square rectangles) are trapezoids. Rectangles have mirror symmetry on mid-edges; rhombuses have mirror symmetry on vertices, while squares have mirror symmetry on both mid-edges and vertices.
A right trapezoid (also called right-angled trapezoid) has two adjacent right angles.  Right trapezoids are used in the trapezoidal rule for estimating areas under a curve.
An acute trapezoid has two adjacent acute angles on its longer base edge.
An obtuse trapezoid on the other hand has one acute and one obtuse angle on each base.
An isosceles trapezoid is a trapezoid where the base angles have the same measure. As a consequence the two legs are also of equal length and it has reflection symmetry. This is possible for acute trapezoids or right trapezoids (as rectangles).
A parallelogram is a trapezoid with two pairs of parallel sides. A parallelogram has central 2-fold rotational symmetry (or point reflection symmetry). It is possible for obtuse trapezoids or right trapezoids (rectangles).
A tangential trapezoid is a trapezoid that has an incircle.
A Saccheri quadrilateral is similar to a trapezoid in the hyperbolic plane, with two adjacent right angles, while it is a rectangle in the Euclidean plane. A Lambert quadrilateral in the hyperbolic plane has 3 right angles.
Four lengths a, c, b, d can constitute the consecutive sides of a non-parallelogram trapezoid with a and b parallel only when 
The quadrilateral is a parallelogram when , but it is an ex-tangential quadrilateral (which is not a trapezoid) when . : p. 35
Given a convex quadrilateral, the following properties are equivalent, and each implies that the quadrilateral is a trapezoid:
Additionally, the following properties are equivalent, and each implies that opposite sides a and b are parallel:
The midsegment (also called the median or midline) of a trapezoid is the segment that joins the midpoints of the legs. It is parallel to the bases. Its length m is equal to the average of the lengths of the bases a and b of the trapezoid, 
The midsegment of a trapezoid is one of the two bimedians (the other bimedian divides the trapezoid into equal areas).
The height (or altitude) is the perpendicular distance between the bases. In the case that the two bases have different lengths (a ≠ b), the height of a trapezoid h can be determined by the length of its four sides using the formula 
where c and d are the lengths of the legs.
The area K of a trapezoid is given by 
where a and b are the lengths of the parallel sides, h is the height (the perpendicular distance between these sides), and m is the arithmetic mean of the lengths of the two parallel sides. In 499 AD Aryabhata, a great mathematician- astronomer from the classical age of Indian mathematics and Indian astronomy, used this method in the Aryabhatiya (section 2.8). This yields as a special case the well-known formula for the area of a triangle, by considering a triangle as a degenerate trapezoid in which one of the parallel sides has shrunk to a point.
The 7th-century Indian mathematician Bhāskara I derived the following formula for the area of a trapezoid with consecutive sides a, c, b, d:
where a and b are parallel and b > a.  This formula can be factored into a more symmetric version 
When one of the parallel sides has shrunk to a point (say a = 0), this formula reduces to Heron's formula for the area of a triangle.
Another equivalent formula for the area, which more closely resembles Heron's formula, is 
where is the semiperimeter of the trapezoid. (This formula is similar to Brahmagupta's formula, but it differs from it, in that a trapezoid might not be cyclic (inscribed in a circle). The formula is also a special case of Bretschneider's formula for a general quadrilateral).
From Bretschneider's formula, it follows that
The line that joins the midpoints of the parallel sides, bisects the area.
The lengths of the diagonals are 
where a is the short base, b is the long base, and c and d are the trapezoid legs.
If the trapezoid is divided into four triangles by its diagonals AC and BD (as shown on the right), intersecting at O, then the area of AOD is equal to that of BOC, and the product of the areas of AOD and BOC is equal to that of AOB and COD. The ratio of the areas of each pair of adjacent triangles is the same as that between the lengths of the parallel sides. 
Let the trapezoid have vertices A, B, C, and D in sequence and have parallel sides AB and DC. Let E be the intersection of the diagonals, and let F be on side DA and G be on side BC such that FEG is parallel to AB and CD. Then FG is the harmonic mean of AB and DC: 
The line that goes through both the intersection point of the extended nonparallel sides and the intersection point of the diagonals, bisects each base. 
The center of area (center of mass for a uniform lamina) lies along the line segment joining the midpoints of the parallel sides, at a perpendicular distance x from the longer side b given by 
The center of area divides this segment in the ratio (when taken from the short to the long side) : p. 862
If the angle bisectors to angles A and B intersect at P, and the angle bisectors to angles C and D intersect at Q, then 
In architecture the word is used to refer to symmetrical doors, windows, and buildings built wider at the base, tapering toward the top, in Egyptian style. If these have straight sides and sharp angular corners, their shapes are usually isosceles trapezoids. This was the standard style for the doors and windows of the Inca. 
The crossed ladders problem is the problem of finding the distance between the parallel sides of a right trapezoid, given the diagonal lengths and the distance from the perpendicular leg to the diagonal intersection.
In morphology, taxonomy and other descriptive disciplines in which a term for such shapes is necessary, terms such as trapezoidal or trapeziform commonly are useful in descriptions of particular organs or forms. 
In computer engineering, specifically digital logic and computer architecture, trapezoids are typically utilized to symbolize multiplexors. Multiplexors are logic elements that select between multiple elements and produce a single output based on a select signal. Typical designs will employ trapezoids without specifically stating they are multiplexors as they are universally equivalent.
With Euclid (c 300 B.C.) τραπέζιον included all quadrilateral figures except the square, rectangle, rhombus, and rhomboid; into the varieties of trapezia he did not enter. But Proclus, who wrote Commentaries on the First Book of Euclid's Elements A.D. 450, retained the name τραπέζιον only for quadrilaterals having two sides parallel, subdividing these into the τραπέζιον ἰσοσκελὲς, isosceles trapezium, having the two non-parallel sides (and the angles at their bases) equal, and σκαληνὸν τραπέζιον, scalene trapezium, in which these sides and angles are unequal. For quadrilaterals having no sides parallel, Proclus introduced the name τραπέζοειδὲς TRAPEZOID. This nomenclature is retained in all the continental languages, and was universal in England till late in the 18th century, when the application of the terms was transposed, so that the figure which Proclus and modern geometers of other nations call specifically a trapezium (F. trapèze, Ger. trapez, Du. trapezium, It. trapezio) became with most English writers a trapezoid, and the trapezoid of Proclus and other nations a trapezium. This changed sense of trapezoid is given in Hutton's Mathematical Dictionary, 1795, as 'sometimes' used -- he does not say by whom; but he himself unfortunately adopted and used it, and his Dictionary was doubtless the chief agent in its diffusion. Some geometers however continued to use the terms in their original senses, and since c 1875 this is the prevalent use.