PLANE GEOMETRY · QUADRILATERALS

Trapezoid Calculator

Calculate a trapezoid’s area, height, midsegment, perimeter, and diagonals from the measurements you know. Choose a calculation mode to enter parallel bases with height, area, or both legs, then review a labeled diagram and clear working.

ENTER MEASUREMENTS

What do you know?

Enter the lengths of the two parallel bases and their perpendicular separation. Length units must match; area is shown in square units.

Press Enter to calculate
Try an example

YOUR ANSWER

Trapezoid measurements

Area40 cm²A = (b₁ + b₂)h ÷ 2
Perpendicular height5 cm
Midsegment8 cmm = (b₁ + b₂) ÷ 2
PerimeterNeeds both leg lengthsP = b₁ + b₂ + l₁ + l₂
Labeled trapezoid diagramA trapezoid with parallel bases 10 and 6 cm, perpendicular height 5 cm, and area 40 square cm.Short base = 6 cmLong base = 10 cmh = 5 cm
The height is the perpendicular distance between the parallel bases. The sketch is illustrative and may not be to scale.
Step-by-step calculation
  1. Identify the parallel bases: b₁ = 10 and b₂ = 6.
  2. Find the midsegment: m = (b₁ + b₂) ÷ 2 = (10 + 6) ÷ 2 = 8.
  3. Use the trapezoid area formula A = ((b₁ + b₂) ÷ 2)h.
  4. Substitute the measurements: A = ((10 + 6) ÷ 2) × 5 = 40 square units.

What is a trapezoid?

A trapezoid is a quadrilateral with a pair of parallel sides. These parallel sides are called the bases; the other two sides are the legs. The perpendicular distance between the bases is the height. Some textbooks use “trapezium” for this shape, while others define a trapezoid as having exactly one pair of parallel sides. This calculator uses the inclusive definition: at least one pair of parallel sides.

Trapezoid formulas

AreaA = ½(b₁ + b₂)hAverage the parallel bases, then multiply by height.
Midsegmentm = ½(b₁ + b₂)The segment joining the legs at their midpoints.
PerimeterP = b₁ + b₂ + l₁ + l₂Add all four side lengths.
Height from areah = 2A ÷ (b₁ + b₂)Rearrange the area formula when A and both bases are known.

How to find the area of a trapezoid

Add the two parallel base lengths, divide their sum by 2, then multiply by the perpendicular height. The average-base method works because a trapezoid’s midsegment has length equal to the average of its bases, and the area equals midsegment times height.

Worked example: area and perimeter

Take bases of 10 cm and 6 cm, height 5 cm, and legs of 5 cm each.

Area: A = ½(10 + 6) × 5 = 8 × 5 = 40 cm².

Midsegment: m = (10 + 6) ÷ 2 = 8 cm.

Perimeter: P = 10 + 6 + 5 + 5 = 26 cm.

How to find the height from the area

Rearrange the area equation to isolate h: h = 2A ÷ (b₁ + b₂). For example, if the area is 40 cm² and the bases are 10 cm and 6 cm, then h = 80 ÷ 16 = 5 cm. This is the perpendicular height, not a slanted leg.

How the legs can determine height

When both bases have different lengths and both leg lengths are known, the leg projections locate the upper base. If B is the longer base, b is the shorter base, Δ = B − b, and l₁ and l₂ are the left and right legs, the horizontal projection x of the left leg is x = [Δ + (l₁² − l₂²)/Δ] ÷ 2. Then use the Pythagorean theorem: h = √(l₁² − x²). Equal bases do not give a unique height from the two legs alone, so use a known height or area instead.

Trapezoid types and properties

Common mistakes

Frequently asked questions

What is the formula for the area of a trapezoid?

Use A = ½(b₁ + b₂)h, where b₁ and b₂ are the parallel base lengths and h is the perpendicular height.

How do I find the perimeter?

Add the lengths of all four sides: P = b₁ + b₂ + l₁ + l₂. The bases and height alone are not enough to determine the perimeter.

Is the height the same as a leg?

Only when that leg is perpendicular to both parallel bases, as in a right trapezoid. Otherwise, height is the shortest distance between the bases.

What is the trapezoid midsegment?

It joins the midpoints of the legs, runs parallel to the bases, and has length m = (b₁ + b₂) ÷ 2.

Can I calculate height from area and bases?

Yes. Rearrange the area formula: h = 2A ÷ (b₁ + b₂).

Related geometry calculators