Skip to content
FiftyCalc Free calculators for all 50 states

Trapezoid Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter the four sides of a trapezoid: the long base, the short base parallel to it, and the two legs, in the same unit.

Result

Sample figures

Area (a + b)h ÷ 2 (square units)—

Horizontal offset of leg c ((a − b)² + c² − d²) ÷ 2(a − b) —

  • Height √(c² − offset²)—
  • Perimeter a + b + c + d—
  • Midsegment (a + b) ÷ 2—
  • Angle between a and c (degrees)—
  • Angle between a and d (degrees)—
  • Angle between b and c (degrees)—
  • Angle between b and d (degrees)—
  • Diagonal from the a–c corner √((x + b)² + h²)—
  • Diagonal from the a–d corner √((a − x)² + h²)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Trapezoid Calculator

Long base a: enter 0 or more. Prefilled example: 10.

Short base b, parallel to a (same unit): enter 0 or more. Prefilled example: 4.

Left leg c (same unit): enter 0 or more. Prefilled example: 5.

Right leg d (same unit): enter 0 or more. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Long base a: enter 0 or more.
  2. Short base b, parallel to a (same unit): enter 0 or more.
  3. Left leg c (same unit): enter 0 or more.
  4. Right leg d (same unit): enter 0 or more.
  5. Read the result: Area (a + b)h ÷ 2 (square units); the panel also shows Horizontal offset of leg c ((a − b)² + c² − d²) ÷ 2(a − b), Height √(c² − offset²), Perimeter a + b + c + d, Midsegment (a + b) ÷ 2, Angle between a and c (degrees), Angle between a and d (degrees), Angle between b and c (degrees), Angle between b and d (degrees), Diagonal from the a–c corner √((x + b)² + h²) and Diagonal from the a–d corner √((a − x)² + h²).

How this calculator works

Slide the leg d over until it touches c: with the difference of the bases, a − b, the two legs form a triangle whose height is the height of the trapezoid. Placing the long base on the x-axis, leg c reaches horizontally x = ((a − b)² + c² − d²) / (2(a − b)) (law of cosines), and the height is h = √(c² − x²).

Area = (a + b)h/2, the average of the bases times the height; the midsegment, which joins the midpoints of the legs, is (a + b)/2. The angles at the long base are arccos(x/c) and arccos((a − b − x)/d); the angles at the short base are their supplements, because the bases are parallel.

The diagonals follow from the coordinates: √((x + b)² + h²) and √((a − x)² + h²). If the four lengths cannot close into a trapezoid (or the bases are equal), the results show —.

The formula

  1. X=(a−b)2+c2−d22×(a−b)
  2. H={c2−X2if a>bNo result for these inputsotherwise
  3. K=(a+b)×H2
Symbols used in the formula
SymbolMeaningUnit
aLong base a
bShort base b, parallel to asame unit
cLeft leg csame unit
dRight leg dsame unit
XHorizontal offset of leg c ((a − b)² + c² − d²) ÷ 2(a − b)
HHeight √(c² − offset²)
KArea (a + b)h ÷ 2square units

Worked example

Long base a10
Short base b, parallel to a (same unit)4
Left leg c (same unit)5
Right leg d (same unit)5
Height √(c² − offset²)4
Perimeter a + b + c + d24
Midsegment (a + b) ÷ 27
Angle between a and c (degrees)53.1301
Angle between a and d (degrees)53.1301
Angle between b and c (degrees)126.8699
Angle between b and d (degrees)126.8699
Diagonal from the a–c corner √((x + b)² + h²)8.0623
Diagonal from the a–d corner √((a − x)² + h²)8.0623
  1. X=(10−4)2+52−522×(10−4)=3
  2. H=52−32=4
  3. K=(10+4)×42=28

Area (a + b)h ÷ 2 (square units) 28

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the area of a trapezoid with bases 10 and 4 and legs 5 and 5?

The height is 4, so the area is (10 + 4) × 4 ÷ 2 = 28 square units.

Why can't I use two equal bases?

Then the shape is a parallelogram, and its four sides do not fix its height: it can lean at any angle.

What are the angles of the 10-4-5-5 trapezoid?

About 53.1301° at the long base and 126.8699° at the short base.

Questions answered

Related calculators