🏆 US-Registered Digital Marketing Agency Trusted by 200+ brands · USA · UK · Canada · AUS
Advertisement
Advertisement
GEOMETRY

Trapezoid Calculator — area from bases and height, or four sides

Work out the area, perimeter, height and midsegment of a trapezoid from whichever measurements you actually have.

The two bases are the parallel sides. The height is the perpendicular gap between them.
Measure straight across between the two parallel sides, not along a slanted leg.
Enter every measurement in this one unit.
Area
50 cm²
 
Perimeter
10 cm
Midsegment
5 cm
Height
0.005 m²
Area in m²
Working:  
Advertisement

The trapezoid calculator above handles the shape two different ways, because people arrive with two different sets of measurements. If you know the two parallel sides and the perpendicular height, it uses the classic formula directly. If you only have four side lengths from a tape measure — which is what you get from a real plot of land, a roof panel or a piece of sheet metal — it derives the height first and then the area.

Arb Digital publishes these tools free because the second case is where most online calculators stop. Being handed four side lengths and no height is the normal situation outside a textbook, and it is also the case where an impossible set of numbers can quietly produce a nonsense answer. This calculator checks the shape can actually close before it gives you a figure.

What This Trapezoid Calculator Does

It returns the area, the perimeter, the perpendicular height and the midsegment length of a trapezoid, in whichever unit you select, with the arithmetic shown underneath using your own numbers. In bases-and-height mode the perimeter is left blank because the leg lengths are unknown — two very different trapezoids can share the same bases and height while having completely different slanted sides, so reporting a perimeter there would be a guess.

In four-sides mode the calculator solves for the height, then reports everything. It also validates the shape: a set of four lengths only forms a trapezoid if the legs can bridge the difference between the two bases. If they cannot, the tool says which rule was broken instead of printing a meaningless number.

How to Use It

  1. Choose your input mode. Bases and height if you have a drawing with the height marked; four sides if you measured a real object.
  2. Identify the parallel sides. These are the two bases, a and b. In a trapezoid exactly one pair of sides is parallel — if both pairs are, you have a parallelogram and this is the wrong tool.
  3. Measure the height perpendicular to the bases. Not along a leg. A slanted measurement is always longer than the true height and will inflate the area.
  4. Enter the legs if you are in four-sides mode. Order does not matter; swapping c and d gives a mirror image with the same area.
  5. Pick a unit so the area is labelled correctly, then read the working line to confirm the numbers you meant to enter are the ones being used.

The Formula: How Trapezoid Area Is Calculated

The standard formula averages the two parallel sides and multiplies by the height: A = ½(a + b)h. With a = 12 cm, b = 8 cm and h = 5 cm, that gives A = ½(12 + 8) × 5 = ½ × 20 × 5 = 50 cm². The intuition is simple — take two copies of the trapezoid, rotate one by 180°, and they fit together into a parallelogram of base (a + b) and height h. The trapezoid is half of that, which is exactly what the formula says.

The quantity ½(a + b) is the midsegment, the line joining the midpoints of the two legs. It is always parallel to the bases and always equal to their average, which means the area can also be read as midsegment × height — the same rule as a rectangle. Wolfram MathWorld's entry on the trapezoid gives the formal derivation.

Advertisement

Solving a Trapezoid From Four Sides Alone

When you only have four lengths, the height has to be recovered first. Slide the shorter base to sit above the longer one and the overhang splits into two horizontal pieces whose total is a − b. Each leg forms a right triangle with the height and its own piece of that overhang, which gives two Pythagorean equations sharing one unknown height. Solving them produces a single closed formula:

A = (a + b)/(4(a − b)) × √((a − b + c + d)(−a + b + c + d)(a − b + c − d)(a − b − c + d))

Check it against the same shape. Take a = 12, b = 8, c = 5, d = 5. The bracket terms are 14, 6, 4 and 4, whose product is 1,344. Its square root is about 36.661, and (a + b)/(4(a − b)) = 20/16 = 1.25, giving an area of roughly 45.83 cm². The height follows from rearranging the standard formula: h = 2A/(a + b) = 91.65/20 ≈ 4.583 cm. Hand-checking that trapezoid the long way agrees — the overhang is 2 cm each side, so h = √(5² − 2²) = √21 ≈ 4.583. The two routes match.

Why Some Sets of Four Sides Are Impossible

Not every group of four lengths closes into a trapezoid, and this is the failure most calculators handle badly by returning NaN. Two conditions have to hold. First, the bases must differ; if a = b the two parallel sides are equal and the shape is a parallelogram, which has infinitely many possible heights and therefore no single area from side lengths alone. Second, the legs must satisfy |c − d| < |a − b| < c + d.

The reason is the triangle formed by the two legs and the overhang. Cut the trapezoid so that both legs meet the same horizontal line of length a − b, and you have a triangle with sides c, d and a − b. That triangle only exists if it obeys the triangle inequality. Legs that are too short cannot span the overhang; legs that differ too much cannot both reach. When this tool refuses a set of numbers, it is telling you the tape measure is wrong somewhere, which is genuinely useful feedback on a site survey.

Right, Isosceles and Obtuse Trapezoids

A right trapezoid has one leg perpendicular to the bases, which makes life easy: that leg is the height, so you can use bases-and-height mode directly. This is the most common form in construction, appearing as a gable end, a ramp side, or a plot of land where one boundary follows a straight road and the opposite one is angled.

An isosceles trapezoid has two equal legs, symmetric diagonals and equal base angles. It is the only trapezoid that can have a circle drawn through all four corners. An obtuse or scalene trapezoid has two different legs, and the top base may sit entirely off to one side or even overhang the bottom base's end — that still calculates fine, provided the inequality above holds. In every case the area formula is the same, because the formula only cares about the two parallel lengths and the perpendicular distance between them.

Naming: Trapezoid, Trapezium, and a Genuine Ambiguity

American usage calls this shape a trapezoid, and defines a trapezium as a quadrilateral with no parallel sides. British and Commonwealth usage reverses both terms exactly. The shape on this page — one pair of parallel sides — is a trapezoid in the United States and a trapezium in the United Kingdom. If you are reading a textbook or specification from the other convention, check the diagram rather than the word.

There is a second ambiguity worth knowing. Under the exclusive definition a trapezoid has exactly one pair of parallel sides, so a parallelogram does not count. Under the inclusive definition it has at least one pair, so parallelograms, rectangles and squares are all trapezoids. This calculator uses the exclusive definition, which is why identical bases are rejected in four-sides mode: with a = b there is no unique answer to give you.

Where Trapezoids Turn Up in Real Work

Trapezoids appear anywhere a straight edge meets an angled one. Land parcels between a straight road and a diagonal boundary, roof planes on hipped roofs, retaining wall cross-sections, ramps, drainage channels and dovetail joints are all trapezoidal. Cross-sections of open channels are deliberately trapezoidal because sloped banks resist collapse better than vertical ones.

In numerical maths the same shape gives the trapezoidal rule for approximating the area under a curve: slice the curve into thin strips, treat each strip's top as a straight line, and add up the trapezoid areas. It is the first integration method most students meet, and it is still used in practice because it is stable and easy to reason about; MathWorld sets out the error behaviour of the trapezoidal rule in detail. If you need a plain rectangular area instead, use our rectangle area calculator, and for three-sided shapes the triangle area calculator is the right tool.

Want tools like this one built for your own audience?

Arb Digital designs and publishes free calculators that rank in search, answer a real question in seconds, and send qualified visitors to the business behind them. Browse ours, or start a conversation about yours.

Browse All Free Tools Talk to Arb Digital

Common Mistakes to Avoid

  • Using a leg length as the height — the height is the perpendicular distance between the bases and is always shorter than a slanted leg.
  • Adding the bases without halving — forgetting the ½ doubles the area. The midsegment reading in the results panel is a quick sanity check.
  • Treating a parallelogram as a trapezoid — if both pairs of sides are parallel, four side lengths do not determine the area at all.
  • Mixing units across the four inputs — every measurement must be in the same unit before you calculate.
  • Assuming the shape is isosceles — symmetric-looking plots often have legs that differ by enough to change the height noticeably. Measure both.

Related Free Tools From Arb Digital

Split an irregular outline into simple parts with the polygon calculator, measure the boundary of any shape with the perimeter calculator, work out a leg or diagonal with the Pythagorean theorem calculator, convert your result between systems with the area converter, and take a floor area to a material order with the flooring calculator. Everything we publish is listed in the free online tools hub.

Frequently Asked Questions

What is the formula for the area of a trapezoid?

Area equals half the sum of the two parallel sides multiplied by the perpendicular height: A = ½(a + b)h. With bases of 12 cm and 8 cm and a height of 5 cm, the area is ½ × 20 × 5 = 50 cm².

Can I find the area of a trapezoid from four sides?

Yes, provided the two parallel sides have different lengths. This calculator derives the height from the four sides and then applies the standard area formula. If the bases are equal the shape is a parallelogram and no unique answer exists.

What is the midsegment of a trapezoid?

It is the line joining the midpoints of the two non-parallel sides. Its length is the average of the two bases, and the area equals the midsegment multiplied by the height.

Why does the calculator reject my four side lengths?

Because they cannot close into a trapezoid. The legs must satisfy the condition that the difference between them is less than the difference between the bases, which in turn must be less than their sum. If that fails, one of your measurements is wrong.

Is a trapezoid the same as a trapezium?

It depends on where you are. In American usage a trapezoid has one pair of parallel sides; in British usage that same shape is called a trapezium. Check the diagram in your source rather than relying on the word.

How do I find the height of a trapezoid if I know the area?

Rearrange the formula to h = 2A ÷ (a + b). Double the area and divide by the sum of the two parallel sides.

Does it matter which base I call a and which I call b?

Not for the area, since the formula adds them together. In four-sides mode the calculator sorts them internally so the longer parallel side is treated as the base.

Advertisement
Advertisement

Take it further

Arb Digital assistant

👋 Hey! Want to grow your business? Ask me anything — a free marketing proposal is on the table!