Trapezoid Calculator
Enter the two parallel bases, two legs, and height of a trapezoid to compute its area and perimeter. The area formula is A = (1/2)(b1 + b2) x h.
A trapezoid (called "trapezium" in British English) is a quadrilateral with exactly one pair of parallel sides. The two parallel sides are called "bases" (usually labeled b₁ and b₂); the other two sides are "legs". A trapezoid is intermediate between a parallelogram (two pairs of parallel sides) and a general quadrilateral (no parallel sides).
The area formula is elegant: A = (1/2) × (b₁ + b₂) × h, where h is the perpendicular height between the bases. This is the average of the two bases times the height — equivalent to converting the trapezoid into a rectangle with the average base width. Same result as splitting into triangles or other geometric methods.
Common types of trapezoids: - **Isosceles trapezoid**: legs are equal length, base angles equal. - **Right trapezoid**: has two right angles (one leg perpendicular to bases). - **Scalene trapezoid**: all four sides different lengths.
Trapezoids appear throughout architecture, engineering, and design: - **Roof trusses**: trapezoidal cross-sections. - **Architectural facades**: stylized trapezoidal windows. - **Bridge supports**: trapezoidal towers and piers. - **Land plots**: irregular parcels often approximate trapezoids. - **Soundproofing**: trapezoidal acoustic panels. - **Pyramids of ancient Egypt**: each face is a trapezoid (until tip).
Common applications: land surveying (irregular plots), architecture (cross-sections), engineering (truss design), trapezoidal rule in numerical integration, and any analysis with one pair of parallel sides.
Inputs
Results
Area
19.5 sq units
Perimeter
21
Median (Midsegment)
6.5
Formula
How to use this calculator
- Enter the two bases (parallel sides).
- Enter the two legs (non-parallel sides) and height.
- Calculator returns area and perimeter.
- Height must be perpendicular distance between bases (not leg length).
- For isosceles trapezoid: two legs are equal.
- For irregular trapezoid: use coordinates and Shoelace formula.
Worked examples
Standard trapezoid
**Scenario:** Trapezoid with bases 10 and 6, legs both 5, height 4. Area and perimeter? **Calculation:** Area: (1/2) × (10 + 6) × 4 = (1/2) × 16 × 4 = 32. Perimeter: 10 + 6 + 5 + 5 = 26. **Result:** Area 32 sq units, perimeter 26 units. Isosceles trapezoid (equal legs). Verify height from leg: legs run from bases that differ by (10-6)/2 = 2 each side. Slant leg: √(h² + 2²) = √(16+4) = √20 ≈ 4.47 — not 5. So if legs are 5, height must be different than 4. Always verify height fits geometry.
Land plot estimation
**Scenario:** Irregular lot: front 40 m, back 30 m, depth (perpendicular) 60 m. **Calculation:** Approximate as trapezoid. A = (1/2) × (40 + 30) × 60 = (1/2) × 70 × 60 = 2,100 m². **Result:** ~2,100 m² (0.21 hectares, ~0.52 acre). Sufficient for typical residential lot. For sales: standard residential lots often 250-500 m². This is generous (luxury home plot).
Roof rafter trapezoid
**Scenario:** Gable end of a house: bottom 6 m, top 2 m (cut-out for windows), height 1.5 m. Material to side? **Calculation:** Area: (1/2) × (6 + 2) × 1.5 = 6 m². Plus extras for waste: order 6.5-7 m² siding material. **Result:** ~6 m² siding needed for the trapezoidal gable section. Common in residential construction. Vinyl siding sold by 100 sq ft units; for this: order 1 unit (covers 9.3 m²).
When to use this calculator
**Use trapezoid calculations for:**
- **Land plot calculations**: irregular lots. - **Architecture**: trapezoidal features. - **Construction**: gable ends, rafters. - **Civil engineering**: cross-sections of canals, embankments. - **Real estate**: lot sizing. - **Bridge/Tunnel design**: trapezoidal supports. - **Numerical integration**: trapezoidal rule for integrals. - **Manufacturing**: trapezoidal cuts.
**Area formula variations:**
Standard: A = (1/2)(b₁ + b₂)h. Using median: A = m × h, where m = (b₁ + b₂)/2. Using coordinates: Shoelace formula.
All give same answer; choose based on what's given.
**Common applications:**
- **Real estate**: irregular property boundaries. - **Construction**: roof gables, rafters. - **Architecture**: trapezoidal windows, doors. - **Civil engineering**: canal cross-sections. - **Land surveying**: irregular plots. - **Manufacturing**: trapezoidal cuts. - **Numerical math**: trapezoidal rule for integration.
**Trapezoid in nature/geometry:**
- **Egyptian pyramids**: faces are trapezoids (with triangular ends). - **Honeycomb cells**: roughly trapezoidal in cross-section. - **Bridges**: many use trapezoidal arches or supports. - **Roof structures**: gable ends often trapezoidal.
**Comparison with rectangle:**
Rectangle: b₁ = b₂, legs perpendicular (= height). Rectangle area = b × h = (b + b)/2 × h. Same formula as trapezoid with equal bases.
So rectangle is a special trapezoid where both bases are equal.
**For irregular trapezoid (legs unequal):**
If only bases and height given: area is calculable. If only sides given: usually need additional info (angles, coordinates).
**Surveying applications:**
For irregular land plot approximated as trapezoid: 1. Measure two parallel sides (or approximately parallel). 2. Measure perpendicular distance (height). 3. Apply formula.
For more complex shapes: divide into trapezoids and triangles, sum areas.
**Trapezoidal rule (integration):**
For ∫_a^b f(x) dx: 1. Divide [a, b] into n subintervals. 2. Each: trapezoidal approximation (1/2)(f(x_i) + f(x_{i+1})) × Δx. 3. Sum: T = Δx × [f(x₀)/2 + Σf(x_i) + f(x_n)/2].
More accurate methods exist (Simpson's rule), but trapezoidal is simple and common.
**Software:**
- **CAD**: parametric trapezoid. - **GIS**: area of irregular polygons. - **Spreadsheets**: simple formulas. - **Numerical libraries**: trapezoidal rule built-in (scipy, numpy).
**Pitfalls:**
- **Height vs leg confusion**: must use perpendicular height. - **Confusing trapezoid (US) with trapezium (UK)**: terms swapped. - **For very irregular trapezoid**: simple formula may not apply. - **Sum vs average of bases**: formula uses both interpretations. - **For numerical integration**: error scales with function curvature.
**Educational notes:**
Trapezoid area formula taught: - 5th-6th grade: introduction. - 7th-8th grade: area calculations. - High school geometry: special types (isosceles, right). - Calculus: trapezoidal integration rule.
Foundation for understanding quadrilaterals and integration.
**Common errors:**
- **Using slanted leg as height**: must be perpendicular distance. - **Confusing diagonal with height**. - **Mixing units between bases and height**. - **Not simplifying area answer to lowest terms**.
**Practical examples:**
- **Wallpaper estimation**: irregular trapezoidal walls. - **Floor tiling**: trapezoidal sections. - **Garden bed design**: trapezoidal planters. - **Painting**: gable ends. - **Land sale**: lot area determination. - **Numerical analysis**: integration approximation.
**Pitfalls (continued):**
- **For non-convex trapezoid**: doesn't fit standard formula. - **Multiple trapezoids**: useful for irregular shapes. - **Always verify with sketch**: helps avoid input errors.
Common mistakes to avoid
- Using slanted leg as height (must use perpendicular distance).
- Confusing trapezoid (US: one pair parallel) with trapezium (UK: same thing).
- Mixing units between bases and height.
- For irregular shapes: using trapezoid formula without checking parallel sides.
- Computing perimeter without all four sides.
- For isosceles trapezoid: not using symmetry to simplify.
- For right trapezoid: treating it as general (use perpendicular leg as height).
- Confusing trapezoid with parallelogram (parallelogram has 2 pairs of parallel sides).
Frequently Asked Questions
Sources & further reading
Related Calculators
Area Calculator
Calculate the area of common shapes: circle, rectangle, triangle, and trapezoid.
Triangle Calculator
Calculate triangle area, perimeter, and angles from three side lengths using Heron's formula and the law of cosines.
Perimeter Calculator
Calculate the perimeter of common shapes: rectangle, triangle, circle, and regular polygon.