Trapezoid Calculator
Trapezoid Calculator
A trapezoid (also called a trapezium in British English) is a quadrilateral with at least one pair of parallel sides. The parallel sides are called bases, and the distance between them is the height. Unlike rectangles, where both pairs of sides are parallel, the trapezoid's non-parallel legs can be of different lengths, giving it a characteristic slanted appearance. This shape appears frequently in architecture (roof profiles), engineering (channel cross-sections), land surveying (irregular lots), and design (tablet frames, window awnings).
There is a subtle definitional debate in geometry: the inclusive definition (used in most modern curricula) states a trapezoid has at least one pair of parallel sides, which means parallelograms are a subset of trapezoids. The exclusive definition (historically common) states exactly one pair of parallel sides, excluding parallelograms. The calculator and this guide use the inclusive definition, which is the current standard in K-12 education and most college-level textbooks.
The area of a trapezoid averages its two bases and multiplies by the height. This intuitive formula — effectively the width at mid-height times the height — makes trapezoid calculations straightforward once you understand how the shape distributes its area. The trapezoid also serves as an important bridge between rectangles (two pairs of parallel sides) and general quadrilaterals (no parallel sides), making it a useful shape for approximating irregular areas.
[wolfram-trapezoid]Where Trapezoids Appear
Trapezoids are more common in the built environment than most people realize. Roof gables with a flat top and slanted sides form trapezoids. Cross-sections of channels, ditches, and pipes with non-rectangular profiles are often trapezoidal. Surveyors divide irregular land parcels into trapezoids for area estimation. Even the side profile of many vehicles approximates a trapezoid — the characteristic wedge shape of a sports car is essentially a trapezoid when viewed from the side, with the shorter base at the roof and the longer base at the wheelbase.
In mathematics, the trapezoid is important because its area formula (average of bases times height) is a direct precursor to integration. The Riemann sum in calculus approximates the area under a curve by summing rectangles, but the trapezoidal rule improves accuracy by using trapezoids instead — each sub-interval's area is approximated as a trapezoid rather than a rectangle, which better matches the slope of the curve. This connection between simple geometry and advanced calculus makes the trapezoid a conceptually important shape beyond its practical applications.
[khan-trapezoid][khan-trapezoid]Enter the lengths of both parallel bases (Base 1 and Base 2) and the height (the perpendicular distance between the bases). All three measurements must be in the same unit. The calculator instantly displays the area and the average base length.
Example 1: Roof Gable. A roof section has a top base of 4 feet, a bottom base of 12 feet, and a height of 6 feet. Area = 0.5 × (4 + 12) × 6 = 48 square feet. This tells you how much roofing material (shingles, underlayment, or metal panels) is needed for that face. The average base of (4 + 12) / 2 = 8 feet represents the effective width of the trapezoid at mid-height. If the roofing material costs $5 per square foot installed, this gable face would cost 48 × 5 = $240. A house with two identical gables would need double: $480 for both faces.
Example 2: Land Parcel. An irregular lot has two parallel street frontages of 25 meters and 40 meters, with a depth of 50 meters between them. Area = 0.5 × (25 + 40) × 50 = 1,625 square meters. The average base of 32.5 meters times the 50-meter depth gives the same result. This demonstrates why the trapezoid area formula is sometimes called the "average of bases times height." In real estate valuation, if this land is worth $200 per square meter, the lot value would be 1,625 × 200 = $325,000. Compare this to a rectangular lot of the same depth with the larger frontage alone (40 × 50 = 2,000 m², worth $400,000) — the trapezoidal shape reduces usable area by nearly 19% due to the tapering side.
Example 3: Window Awning. An awning has a top edge of 1.2 meters against the wall, a bottom edge of 0.8 meters, and projects 0.5 meters outward. Area = 0.5 × (1.2 + 0.8) × 0.5 = 0.5 square meters. This is the fabric area visible from above; the actual fabric may be slightly larger due to seams and curvature.
The trapezoid area formula averages the two parallel bases and multiplies by the height:
Where a is Base 1, b is Base 2, and h is the height (perpendicular distance between the bases). The expression (a + b)/2 is the average base length — the width of the trapezoid at exactly half the height. This is also called the trapezoid's median or midsegment, and it equals the length of the segment joining the midpoints of the two non-parallel legs.
This formula works because any trapezoid can be decomposed into a rectangle (with base equal to the shorter base) and two right triangles (one on each side). The rectangle's area is a × h, and the two triangles together have area (b - a)/2 × h each, summing to (b - a) × h/2. Adding the rectangle area gives a × h + (b - a) × h/2 = (2a + b - a) × h/2 = (a + b) × h/2, which is the standard formula.
This decomposition also leads to another useful insight: the area of a trapezoid is the area of a rectangle with width equal to the trapezoid's average base length. If you think of the trapezoid as a rectangle of width (a + b)/2 and height h, the formula becomes area = average base × height, which is more intuitive than memorizing the fraction 1/2. The average base, also called the median, is a physical line you can draw connecting the midpoints of the legs. It always equals the average of the two bases, regardless of how slanted the legs are.
The table below shows how trapezoid area changes with various base and height combinations.
| Base 1 | Base 2 | Height | Area | Average Base |
|---|---|---|---|---|
| 3 | 5 | 4 | 16.00 | 4.0 |
| 4 | 8 | 5 | 30.00 | 6.0 |
| 5 | 10 | 6 | 45.00 | 7.5 |
| 6 | 14 | 8 | 80.00 | 10.0 |
| 8 | 12 | 10 | 100.00 | 10.0 |
| 10 | 20 | 12 | 180.00 | 15.0 |
| 15 | 25 | 15 | 300.00 | 20.0 |
- Identify the parallel sides: Not all quadrilaterals with slanted sides are trapezoids. Only shapes with at least one pair of parallel sides qualify. Measure carefully to confirm which sides are parallel. In a typical roof gable, the top ridge and bottom eave are the parallel sides.
- Height is perpendicular: The height must be measured at a right angle to the bases, not along the slanted leg. If the trapezoid sits on a level surface with horizontal bases, the height is simply the vertical distance between the two bases. For a slanted trapezoid (like a tilted roof section), measure the perpendicular distance.
- Conservative estimate for irregular land: When surveying irregular lots that are approximately trapezoidal, the trapezoid formula gives a good approximation. For more accuracy, divide the lot into multiple smaller trapezoids and sum their areas — this is the trapezoidal rule in action, and it improves accuracy with more subdivisions.
- Check unit consistency: All three inputs (both bases and height) must use the same unit. If bases are in meters and height in centimeters, convert to a common unit first. A common mistake is mixing feet and inches — convert inches to feet by dividing by 12, or convert feet to inches by multiplying by 12.
- Use the average base: The median (average base length) is useful for quick mental estimates. If the shorter base is 6 and the longer base is 10, the average is 8. Multiply by height for a good approximation without calculating fractions. This average base also represents the width at the trapezoid's mid-height.
- Trapezoid vs. triangle approximation: If one base is much smaller than the other (less than 20% of the larger base), the trapezoid approaches a triangle. In this case, the triangle area formula (0.5 × larger base × height) gives a quick lower bound, while the trapezoid formula gives the exact area.
The calculator assumes the trapezoid has two parallel bases measured at a perpendicular height. It does not handle crossed trapezoids (self-intersecting quadrilaterals) or trapezoids where the legs cross. For general quadrilaterals without parallel sides, use the triangle decomposition method instead: split the quadrilateral into two triangles by drawing a diagonal, compute each triangle's area, and sum them. The calculator also does not compute the leg lengths or internal angles, as these depend on the horizontal offset between the bases, which is not provided as input. If you need leg lengths for construction planning (e.g., cutting rafters for a roof gable), you will need to know the offset between the base centers or use trigonometric methods with the measured angles.
- ❓ What is the difference between a trapezoid and a parallelogram?
- ✅ A trapezoid has exactly one pair of parallel sides, while a parallelogram has both pairs of opposite sides parallel. Every parallelogram is technically a trapezoid under some definitions (specifically the inclusive definition used in many modern curricula), but the reverse is not true.
- ❓ How do I find the missing base of a trapezoid if I know the area and height?
- ✅ Use the formula solved for the unknown base: a = 2A/h - b, where A is the area, h is the height, and b is the known base. For example, a trapezoid with area 45, height 6, and one base of 10 has the other base = 2 × 45 / 6 - 10 = 90/6 - 10 = 15 - 10 = 5.
- ❓ Can the trapezoid formula be used for triangles?
- ✅ Yes! A triangle can be seen as a trapezoid with one base equal to zero. Plugging a = 0 into the trapezoid formula gives A = 0.5 × (0 + b) × h = 0.5 × b × h, which is the triangle area formula.
- ❓ What is the median of a trapezoid and how is it related to area?
- ✅ The median (or midsegment) is the segment joining the midpoints of the legs. Its length equals the average of the two bases: m = (a + b)/2. The area formula becomes A = m × h — the median length times the height. This is analogous to the rectangle formula where the average width is constant.
- ❓ How do I calculate the area of a right trapezoid?
- ✅ A right trapezoid has two right angles adjacent to one base. The area formula is exactly the same: A = 0.5 × (a + b) × h. The right angles simply mean one leg is perpendicular to both bases, making the height equal to the length of that leg.
- ❓ What is the difference between trapezoid area and surface area of a 3D trapezoidal prism?
- ✅ Trapezoid area is a two-dimensional measurement (the face of the shape), while a trapezoidal prism is a 3D object with volume and surface area. The volume of a trapezoidal prism is the trapezoid face area times the prism length. For volume calculations of 3D shapes, use the volume calculator.
References
- [1]Weisstein, Eric W. "Trapezoid." From MathWorld--A Wolfram Web Resource. Retrieved from https://mathworld.wolfram.com/Trapezoid.html.
- [2]Khan Academy. "Area of Trapezoids." Retrieved from https://www.khanacademy.org/math/geometry-home/geometry-area.
- [3]National Council of Teachers of Mathematics. "Trapezoid." Retrieved from https://www.nctm.org/Classroom-Resources/.
- [4]Riley, K. F., Hobson, M. P., and Bence, S. J. "Mathematical Methods for Physics and Engineering." Cambridge University Press, 2006.Buy on Amazon
- [5]Math is Fun. "Trapezoid." Retrieved from https://www.mathsisfun.com/geometry/trapezoid.html.
Last updated: July 28, 2026
UnByte — Independent Software Engineering
Every calculator references authoritative sources — Editorial policy