Trapezoid Calculator: Area, Midsegment, Bases

Find a trapezoid's area from both bases and height, or solve for the missing base or height from the area — plus the midsegment, step by step.

Loading calculator…

Three ways to solve a trapezoid

A trapezoid has exactly one pair of parallel sides, called the bases (aa and bb). Depending on what you already know, this calculator solves it three ways:

1. Both bases and height — when you know aa, bb, and the perpendicular height hh:

m=a+b2K=m×hm = \frac{a+b}{2} \qquad K = m \times h

2. Area, one base, and height — solve for the other base:

a=2Ahba = \frac{2A}{h} - b

3. Area and both bases — solve for the height:

h=2Aa+bh = \frac{2A}{a+b}

Tip: The midsegment m = (a+b)/2 is just the average of the two bases — it's also the length of the segment connecting the midpoints of the two legs, always parallel to both bases and exactly halfway between them.

Where the area formula comes from

Picture sliding a triangular sliver off one end of the trapezoid and attaching it to the other end: the result is a rectangle with the same height hh and a width equal to the average of the two bases. That average is exactly the midsegment m=(a+b)/2m = (a+b)/2, so the trapezoid's area is K=m×hK = m \times h — identical in form to a rectangle's A=width×heightA = \text{width} \times \text{height}, just with the width replaced by an average.

Tip: Perimeter needs the two legs (non-parallel sides), which bases, height, and area alone don't determine — a leg can slant at any angle as long as it still reaches from one base to the other. This calculator's modes cover area and the midsegment only.

Worked example: bases a = 6, b = 10, height h = 4

m=6+102=8K=8×4=32m = \frac{6+10}{2} = 8 \qquad K = 8 \times 4 = 32

Area = 32, midsegment = 8.

Worked example: area A = 32, base b = 10, height h = 4 — find the other base

a=2(32)410=1610=6a = \frac{2(32)}{4} - 10 = 16 - 10 = 6

The other base is 6 — matching the first example, since it's the same trapezoid viewed from a different known measure.

Worked example: area A = 32, bases a = 6, b = 10 — find the height

h=2(32)6+10=6416=4h = \frac{2(32)}{6+10} = \frac{64}{16} = 4

Height = 4 — again the same trapezoid, solved from its third possible combination of knowns.

Common mistakes

  • Using a leg instead of the height. The height is the perpendicular distance between the two bases, not the length of a slanted side.
  • Forgetting to average the bases. Writing K=(a+b)×hK = (a+b) \times h instead of K=a+b2×hK = \frac{a+b}{2} \times h doubles the true area.
  • Confusing the midsegment with the height. The midsegment is a length parallel to the bases; the height is perpendicular to them — they measure different directions entirely.

Where this shows up

  • Land surveying: an irregularly shaped plot with two roughly parallel edges is often approximated as a trapezoid to estimate its area.
  • Civil engineering: canal and levee cross-sections are frequently trapezoidal, with the bases being the surface width and channel-bottom width.
  • Numerical integration: the trapezoidal rule approximates the area under a curve by summing many thin trapezoids, each using this same a+b2×h\frac{a+b}{2} \times h formula.

A trapezoid generalizes the parallelogram, rectangle, and square, all of which are trapezoids with a second pair of parallel sides added — every one of them still satisfies K=m×hK = m \times h, just with mm simplifying to a single base length when a=ba = b.

Frequently asked questions

What is the formula for the area of a trapezoid?
The area is K=a+b2×hK = \frac{a+b}{2} \times h — the average of the two parallel bases (aa and bb) times the perpendicular height hh. Equivalently, K=m×hK = m \times h, where mm is the midsegment.
What is the midsegment of a trapezoid?
The midsegment (also called the median) connects the midpoints of the two non-parallel legs. Its length is always the average of the two bases, m=(a+b)/2m = (a+b)/2, and it's always parallel to both bases, halfway between them.
How do I find a missing base if I know the area, one base, and the height?
Invert the area formula: a=2Ahba = \frac{2A}{h} - b. For example, area 32 with base b = 10 and height h = 4 gives a=2(32)/410=1610=6a = 2(32)/4 - 10 = 16 - 10 = 6.
How do I find the height if I know the area and both bases?
Solve h=2Aa+bh = \frac{2A}{a+b}. For area 32 with bases 6 and 10, that is h=2(32)/16=4h = 2(32)/16 = 4.
Can this calculator find the perimeter or the leg lengths?
Not from bases, height, and area alone — the two legs (non-parallel sides) can slant independently, so knowing just the bases and height doesn't pin down their lengths or the perimeter. Solving for a leg needs an angle or a leg length as an extra input.
What's the most common mistake when calculating trapezoid area?
Using a slanted leg in place of the perpendicular height — the height must be measured straight up-and-down between the two parallel bases, not along a leg. The other frequent slip is forgetting to divide by 2, doubling the true area.
How is a trapezoid related to a parallelogram?
A parallelogram is the special case of a trapezoid where BOTH pairs of opposite sides are parallel (a = b is not required, but the second pair is), which is why its area formula K = b·h drops the averaging that a trapezoid's K = (a+b)/2·h needs.

Related calculators