Trapezoid Calculator - Area, Perimeter, Midsegment, Angles
Use this trapezoid calculator to compute the area, perimeter, midsegment, height, and interior angles of any trapezoid from the two parallel bases, the perpendicular height, and the leg lengths.
Trapezoid Calculator
Results
What Is the Trapezoid Calculator?
A trapezoid calculator takes the two parallel bases, the perpendicular height, and the two non-parallel legs and returns the area, perimeter, midsegment, interior base angles, and height. It is the fastest way to move from a sketch to a clean numerical answer for a roof face, ramp, table top, or piece of fabric.
- • Roofing and sheathing estimates: Confirm the area of a trapezoidal roof slope before you order felt or shingles.
- • Garden, ramp, and landscape footprints: Work out the area of a tapered garden bed, accessibility ramp, or retaining wall footing.
- • Fabric, paper, and craft layouts: Size a trapezoidal piece of fabric, sheet metal, or card stock before you cut.
- • Classroom and homework checks: Verify the result of A = (a + b) * h / 2 in geometry, algebra, or trigonometry homework.
The calculator uses the same trapezoid area formula taught in geometry, so the numbers match what a textbook would give. Switch to 'Height from a known area' when the plan gives the finished area and the two bases but not the height of a tapered slab.
If your homework only needs the area, the Area Of A Trapezoid Calculator returns the same result with a tighter form that hides the perimeter and angle fields.
How the Trapezoid Calculator Works
The calculator applies the standard area of a trapezoid formula, the polygon perimeter sum, and right-triangle trigonometry. Numbers update as soon as you change a base, the height, or a leg.
- a, b: Lengths of the two parallel sides (bases) of the trapezoid.
- h: Perpendicular distance between the two bases, also called the height of the trapezoid.
- c, d: Lengths of the two non-parallel sides (legs). Optional; only needed for the perimeter and the interior angles.
- m: Midsegment (median), the line that connects the midpoints of the two legs and has length (a + b) / 2.
- A: Area of the trapezoid, the two-dimensional space enclosed by the four sides.
The area formula uses only the two bases and the perpendicular height, so the result is the same for an isosceles, right, or irregular trapezoid with the same three numbers. The legs only feed the perimeter and angles.
When the mode is 'Height from a known area', the calculator inverts the area formula and returns h = 2 * A / (a + b). The rest of the table clears to zero so the focus stays on the solved height value.
Worked example: an 8 in by 5 in trapezoid 4 in tall
Base a = 8 in, base b = 5 in, height h = 4 in, legs 4 in and 5 in.
A = ((8 + 5) / 2) * 4 = 6.5 * 4 = 26 sq in. P = 8 + 5 + 4 + 5 = 22 in. m = (8 + 5) / 2 = 6.5 in.
Area = 26 sq in, perimeter = 22 in, midsegment = 6.5 in.
The trapezoid covers 26 square inches, has a 22 inch border, and its midsegment sits 6.5 inches above the bottom.
According to Wolfram MathWorld, the area of a trapezoid with parallel sides of length a and b and perpendicular height h is A = (a + b) * h / 2, and the midsegment has length (a + b) / 2.
When the two non-parallel sides are equal, the Isosceles Trapezoid Calculator handles the extra leg-length output and the matching base angles that an isosceles trapezoid has on top of the general area and perimeter.
Key Concepts Behind a Trapezoid
A few geometric terms carry the rest of the calculator, so it helps to know exactly what each label means.
Parallel bases
The two sides that are parallel to each other, usually drawn as the top and bottom of the figure. The area formula multiplies their average by the height.
Perpendicular height
The shortest distance between the two parallel bases, drawn at a 90 degree angle to both. The height is the only length that matters for area, even when the legs are slanted.
Non-parallel legs
The remaining two sides. In a right trapezoid one leg is perpendicular to the bases, in an isosceles trapezoid the two legs are equal, and in an irregular trapezoid the legs are two different lengths.
Midsegment (median)
The line that joins the midpoints of the two legs. It is always parallel to the bases and has length (a + b) / 2, so the area is also midsegment times height.
If your area number looks wrong, re-measure the perpendicular height rather than the leg; the height is the only input the area formula actually uses.
When one leg is perpendicular to the bases, the height equals that leg and the Right Trapezoid Area Calculator returns the area, perimeter, and the right-angle base pair directly from the two bases and the perpendicular side.
How to Use the Trapezoid Calculator
Work through these steps in order and the calculator gives a clean area, perimeter, midsegment, and angle table.
- 1 Measure the two parallel bases: Pick the longer parallel side as base a and the shorter as base b, then enter both in the same unit.
- 2 Measure the perpendicular height: Use a plumb line or square to measure the shortest distance between the two bases, then type that value into the height field.
- 3 Add the leg lengths when needed: If you need the perimeter or the interior angles, also enter the two non-parallel sides. Leave them at 0 for area and midsegment only.
- 4 Pick the right mode: Keep 'Area (and other results)' for normal use, or switch to 'Height from a known area' when the plan gives the finished area and you need the height.
- 5 Read the results in the right panel: The primary result is the area, with the perimeter, midsegment, and base angles listed underneath. Each value updates as you edit a number.
- 6 Reset before starting a new shape: Click the Reset button to clear every field back to the default.
A woodworker is cutting a tapered shelf 18 in at the back, 12 in at the front, and 9 in deep. The calculator returns an area of 135 sq in, a midsegment of 15 in, and a perimeter of 50.66 in once the slanted edges are added.
If the two legs of your trapezoid are different lengths and the plan only gives you an irregular footprint, the Irregular Trapezoid Area Calculator keeps the same area formula but adds the explicit leg inputs that the irregular case is most likely to need.
Benefits of Using This Trapezoid Calculator
Using a focused trapezoid calculator gives you results you can trust for a design, a quote, or homework, and saves the arithmetic slip that often hides in long handwritten work.
- • Fast, accurate area in any unit: The calculator handles the average and the multiplication, so the area is consistent in inches, feet, centimetres, or metres.
- • Perimeter and midsegment in one table: The same form returns the perimeter, the midsegment, and the base angles alongside the area, which is what planning sheets need.
- • Height-from-area solve mode: Switching the mode turns the calculator into a quick reverse solver, so you can recover the perpendicular height of a tapered slab from a finished area.
- • Angles for cut lists and joinery: Once the leg lengths are in, the calculator returns the interior base angles for miter saws and slanted joinery.
- • Validation that catches obvious mistakes: Negative or zero bases stop the calculation with a clear message, so a single mistyped number does not silently corrupt the rest of the table.
The same tool answers the questions you usually have in sequence: size material from the area, confirm the average width with the midsegment, and read the base angles to plan cuts.
If the shape on your plan is not strictly a trapezoid, the Area Quadrilateral Calculator lets you switch between rectangle, parallelogram, rhombus, kite, trapezoid, and general quadrilateral mode without restarting.
Factors That Affect the Trapezoid Result
A few details of the geometry change what the calculator returns, so it helps to know which inputs control the area, the perimeter, and the angles.
Leg lengths only touch perimeter and angles
The legs do not appear in the area formula, so changing them does not change the area, the midsegment, or the solved height. They only change the perimeter and the base angles.
Base difference sets the slant
The bigger the base difference, the more the legs slant, pushing the base angles from 90 degrees. Two equal bases give a parallelogram, with right angles only when the legs are perpendicular.
Geometric compatibility of the four sides
Legs must satisfy sqrt(c^2 - h^2) + sqrt(d^2 - h^2) = |a - b|; inconsistent values return an error.
Unit consistency
All inputs must use the same unit. Mixing feet and inches, or centimetres and metres, will give a numerically correct but practically wrong answer.
Solve mode and zero area
When the mode is 'Height from a known area' and the entered area is zero, the calculator returns 0 as the solved height, which signals a degenerate flat shape or a missing area input.
- • The calculator assumes a planar trapezoid. Curved or three-dimensional surfaces, such as a tapered cone, need a different tool.
- • The angle calculation uses the perpendicular height and the leg length. If you only enter one leg, the other leg is not inferred, so the angles return 0 to flag missing data.
- • Measurement rounding matters: a 0.01 in error in the height multiplies by the average of the bases, so the area is sensitive to small errors when the trapezoid is large.
If a result surprises you, the most common cause is a height measured along a leg instead of perpendicular to the bases. The area formula assumes the shortest distance between the two bases, not a slanted side.
A quick sanity check is to compute the area in two units and confirm they agree: 1 sq ft is also 144 sq in, and 1 sq m is 10,000 sq cm.
According to Wikipedia, a trapezoid is a quadrilateral with at least one pair of parallel sides, and the angles along each leg are supplementary, meaning alpha + beta = 180 degrees and gamma + delta = 180 degrees.
According to Wolfram MathWorld, the trapezoid perimeter formula is P = a + b + c + d, and for a right trapezoid the perpendicular leg equals the height, which is the cleanest way to sanity-check the area result before quoting the number.
Once you have the area of the trapezoidal face from this calculator, the Trapezoidal Prism Volume Calculator extends that result into the volume of a three-dimensional prism of any depth in the same units.
Frequently Asked Questions
Q: What is a trapezoid?
A: A trapezoid is a quadrilateral with at least one pair of parallel sides, called the bases. The other two sides are the legs. A rectangle is a special case with two pairs of parallel sides, and a parallelogram is also a valid trapezoid under the inclusive definition.
Q: What is the formula for the area of a trapezoid?
A: The area of a trapezoid is A = (a + b) * h / 2, where a and b are the lengths of the two parallel bases and h is the perpendicular height. Equivalently, the area is the midsegment times the height.
Q: How do you find the area of a trapezoid with bases and height?
A: Average the two base lengths and multiply by the perpendicular height. For bases 8 and 5 and a height of 4, the average is 6.5 and the area is 6.5 * 4 = 26 square units.
Q: What is the perimeter of a trapezoid?
A: The perimeter is the sum of the four side lengths, P = a + b + c + d. The legs c and d do not appear in the area formula, so they only change the perimeter and the interior angles.
Q: How do you find the height of a trapezoid?
A: If you know the area A and the two bases a and b, rearrange the area formula to h = 2A / (a + b). The calculator does this when the mode is 'Height from a known area'.
Q: What are the interior angles of a trapezoid?
A: The four interior angles always sum to 360 degrees. Along each leg, the two adjacent angles are supplementary, so alpha + beta = 180 and gamma + delta = 180. The calculator returns the bottom base angles alpha and delta.