Trapezoid calculator

Measurements
cm

cm

cm

Advanced

Changing a measurement unit keeps its number: 3 cm becomes 3 m. Unit for all measurements applies to every input and the result. Result unit converts only the answers.

Bases are parallel. Height is perpendicular to them; equal bases are included.

Number format

Use a decimal point or comma, without thousands separators. Up to 15 significant digits and 64 characters; no fractions or expressions.

Trapezoid schematic. Bases are parallel. Height is perpendicular to them; equal bases are included.b₁b₂ceh

Not to scale

Enter your measurements to see the results.

No personal result is available. These are the trapezoid formulas and conditions.

Formulas and conditions

Trapezoid

A trapezoid with parallel bases b one and b two, sloping sides c and e, and dashed perpendicular height h. Matching arrow marks identify the parallel bases; a square marks the height foot.b₁b₂ceh
Area
A=(b1+b2)h2
Perimeter
P=b1+b2+c+e

b₁, b₂ parallel bases · c, e legs · h perpendicular height · A area · P perimeter

Positive lengths and parallel bases. Equal bases are included as a parallelogram case.

Use h, not a sloping leg. Perimeter needs all four sides.

Diagrams are schematic, not to scale.

Bases and height gives area from the average of the two parallel bases times their perpendicular distance. It does not determine the legs or perimeter.

For Four sides with unequal bases, let D = |b₁ − b₂|. A positive height exists only when |c − e| < D < c + e. The auxiliary triangle with sides D, c and e has area T; its height is also the trapezoid height. Overhanging legs are allowed.

With equal bases and equal legs, perimeter is known but height and area are not unique. Height is needed to find area: choose Bases and height. Equal bases with unequal legs cannot make this convex shape.

Height from auxiliary triangle
h=2TD

Use the same length unit throughout a formula. Convert mixed measurements first. Length and perimeter use units such as cm; area uses cm²; volume uses cm³. Decimal examples below are rounded to at most six significant figures, with ≈ marking an approximation.

Worked example: Bases 20 cm and 6 cm; legs 13 cm and 15 cm

  1. D = 20 − 6 = 14 cm. The auxiliary triangle has sides 14, 13 and 15 cm.
  2. Its half perimeter is 21 cm, so T = √(21 × 7 × 8 × 6) = 84 cm².
  3. h = 2 × 84 ÷ 14 = 12 cm.
  4. A = (20 + 6) × 12 ÷ 2 = 156 cm²; P = 20 + 6 + 13 + 15 = 54 cm.

At height 12 cm, the legs have horizontal offsets 5 cm and 9 cm by the 5–12–13 and 9–12–15 right triangles. Their sum is the 14 cm base difference. A sloping leg is not the height.

Formula sources

Formulas are checked against these references. The explanation, diagrams and worked calculations here are authored for Geometry Glance.