Trapezoid Calculator

Quick answer

The trapezoid calculator finds the area, median, perimeter, height and angles of a trapezoid from the two bases and two legs, or the area and median from the bases and height.

Height
4.27463
Area
34.197039
Median (midsegment)
8
Perimeter
25.5
Angle at base a, next to leg c
58.7516
Angle at base a, next to leg d
71.79

A trapezoid (trapezium in British English) has one pair of parallel sides. Bridge supports, handbags, lampshade cross-sections and roof faces are often trapezoids, and the trapezoid rule for numerical integration is named after them.

How to use the Trapezoid Calculator

  1. What do you know?
  2. Base a (longer)
  3. Base b (shorter)
  4. Leg c
  5. Leg d
  6. Height h

Results update as you type, and everything is calculated in your browser.

How it works

With two bases and two legs, the height is found by splitting the trapezoid into a rectangle and two right triangles. The angles at the long base follow from the projections of the legs.

Inputs explained

Field What to enter
What do you know? Choose one: Bases a, b and legs c, d, Bases a, b and height h
Base a (longer) Units: cm, m, mm, in, ft, yd …
Base b (shorter) Units: cm, m, mm, in, ft, yd …
Leg c Units: cm, m, mm, in, ft, yd …
Leg d Units: cm, m, mm, in, ft, yd …
Height h Units: cm, m, mm, in, ft, yd …

What each result means

  • Area = ([Base a (longer)] + [Base b (shorter)])×[Height]÷2
  • Median (midsegment) = ([Base a (longer)] + [Base b (shorter)])÷2
  • Perimeter = [Base a (longer)] + [Base b (shorter)] + [Leg c] + [Leg d]
  • Angle at base a, next to leg c = deg(acos([Projection of leg c]÷[Leg c]))
  • Angle at base a, next to leg d = deg(acos(([Base a (longer)] – [Base b (shorter)] – [Projection of leg c])÷[Leg d]))

Example values

How the main result changes when Base a changes and everything else stays at the example values above:

Base a (longer) (cm) Area (cm²)
5 22.4992
7.5 29.8496
10 34.197
12.5 31.948
15 15.9426

Formula

A = (a + b)·h/2, m = (a + b)/2 From four sides: x = (c² − d² + (a − b)²) / (2(a − b)), h = √(c² − x²)

Worked example

Inputs: What do you know?: Bases a, b and legs c, d; Base a (longer): 10 cm; Base b (shorter): 6 cm; Leg c: 5 cm; Leg d: 4.5 cm.
Results: Height = 4.27463 cm; Area = 34.197039 cm²; Median (midsegment) = 8 cm; Perimeter = 25.5 cm; Angle at base a, next to leg c = 58.7516 °; Angle at base a, next to leg d = 71.79 °.

Key terms

Bases
The two parallel sides.
Legs
The two non-parallel sides.

Frequently asked questions

What is the median of a trapezoid?

The segment joining the midpoints of the legs; its length is the average of the bases.

Is a parallelogram a trapezoid?

Under the inclusive definition yes; some textbooks require exactly one pair of parallel sides.

What is an isosceles trapezoid?

One with equal legs and equal base angles.

Why can four sides fail to form a trapezoid?

The legs must be long enough to bridge the difference of the bases.

Sources

  1. OpenStax: Prealgebra 2e
  2. OpenStax: Algebra and Trigonometry 2e
  3. Wolfram MathWorld: Trapezoid

Cite this calculator

Speedy Calculator. (2026). Trapezoid Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/trapezoid/