Trapezoid Calculator
Enter the two bases and height of a trapezoid and get its area and midsegment instantly — or solve for a missing base or height.
What this calculator does
A trapezoid has two parallel sides (the bases a and b) and a perpendicular height h between them. Enter all three and the calculator returns the area in units² and the midsegment in units. At the defaults a = 6, b = 4 and h = 5 it reports an area of 25 and a midsegment of 5. You can also run it in reverse: clear a base or the height, enter the area, and the calculator solves for the missing dimension.
The area and midsegment formulas
The area is the height times the average of the two bases — the rectangle rule with the mean base length. The cleanest proof draws one diagonal: it splits the trapezoid into two triangles that share the height h, with bases a and b. Their areas are ½ah and ½bh, and adding them gives ½(a + b)h. A second proof copies the trapezoid, rotates it 180°, and fits the pair into a parallelogram of base a + b and height h, whose area is again (a + b)h ÷ 2 for each half.
The midsegment m joins the midpoints of the two non-parallel legs. It always measures (a + b) ÷ 2 and runs parallel to both bases, which is why the area can be read as m × h: the trapezoid behaves exactly like a rectangle whose width is the midsegment. At the defaults, m = (6 + 4) ÷ 2 = 5, and 5 × 5 = 25 confirms the area.
Worked example at the defaults
For a = 6, b = 4, h = 5: the area is (6 + 4) × 5 ÷ 2 = 50 ÷ 2 = 25 units², and the midsegment is 10 ÷ 2 = 5 units. (The midsegment happens to equal the height here, which is coincidence, not a rule.) Check the dimensions: two lengths added times one length, halved, gives units²; the midsegment stays in plain units. Solving backwards uses the same algebra: a = 2A ÷ h − b = 50 ÷ 5 − 4 = 6, and h = 2A ÷ (a + b) = 50 ÷ 10 = 5.
One midsegment, many heights
Because area is m × h, every trapezoid with the same bases differs only by its height, in a strictly linear way:
| Bases | Height | Midsegment m | Area |
|---|---|---|---|
| 6 and 4 | 2 | 5 | 10 |
| 6 and 4 | 4 | 5 | 20 |
| 6 and 4 (default) | 5 | 5 | 25 |
| 6 and 4 | 8 | 5 | 40 |
| 6 and 4 | 10 | 5 | 50 |
Double the height, double the area — no compounding, because the bases do not enter squared. Contrast that with the triangle, where the same doubling also doubles the area, but where changing a base acts only linearly too; the trapezoid’s two bases are the difference, averaging out any taper.
Trapezoids in the real world
- Canals and ditches. An irrigation channel cut 3 ft deep with a 4 ft bottom and an 8 ft water surface has a cross-section of (4 + 8) ÷ 2 × 3 = 18 ft²; at a flow speed of 2 ft/s it carries 36 ft³ of water per second.
- Gables and walls. A house gable above a 40 ft span with a 6 ft peak is two trapezoids or one triangle; tapered siding panels are true trapezoids.
- Dams and embankments. A levee with a 10 ft crown, a 40 ft base and a 15 ft height has a cross-section of 375 ft² of earth per foot of dam length.
- Land parcels. Four-sided plots along a straight road: frontage 80 ft, rear line 120 ft, depth 150 ft gives (80 + 120) ÷ 2 × 150 = 15,000 ft², about 0.34 acres.
Does the trapezoid need to be isosceles?
No. The formula never touches the legs or the corner angles — only the two parallel bases and the perpendicular height. Slide the top base sideways into a lopsided trapezoid and the area holds at 25, because the average base width and the height have not moved. The only trap is measuring the height itself: it must be the perpendicular distance between the bases, not the slanted leg length. In the default shape, a leg running 5.10 units along the slant would overstate the area if fed in as h.
Common mistakes
- Using a leg length as the height. The height is measured perpendicular to the bases; the 5-unit default is not the slant. For an isosceles trapezoid with a = 6, b = 4, h = 5, each leg is √(5² + 1²) = √26 ≈ 5.10.
- Forgetting to halve. (6 + 4) × 5 = 50 doubles the true 25; the average base 5 — or the division by 2 — must appear.
- Measuring the height along a sloped wall. On tapered panels and gables, plumb the line with a level; a 60° slope makes the true height cos(60°) = 0.5 of the panel’s slant width.
- Treating a parallelogram as a trapezoid. If both pairs of sides are parallel, a = b and the formula still works, but the dedicated parallelogram calculator handles that case directly with base × height.
How the trapezoid relates to its neighbours
The trapezoid is the average machine of the quadrilateral family. Set a = b and it becomes a rectangle of width a; set a = 0 and it degenerates to a triangle with area ½bh — both are special cases the formula handles without modification. That averaging behaviour is also why engineers love trapezoidal channels: the mean width captures a tapering cross-section in one number, and multiplying by depth and flow speed turns a geometry exercise into a flow-rate calculation. When the final area needs to live in acres or square metres, the area converter translates it.
Frequently asked questions
How do I find the area of a trapezoid?
Add the two parallel bases, multiply by the height, then divide by two: A = (a + b)h ÷ 2. For bases 6 and 4 with height 5, A = 50 ÷ 2 = 25 square units.
What is the midsegment of a trapezoid?
It joins the midpoints of the two legs, measures (a + b) ÷ 2, and runs parallel to the bases. At the defaults m = 5, and m × h = 25 reproduces the area.
Can I solve for a missing base?
Yes: a = 2A ÷ h − b. For an area of 25, a height of 5 and b = 4, the missing base is 10 − 4 = 6.
Can I solve for the height?
Yes: h = 2A ÷ (a + b). For an area of 25 and bases of 6 and 4, the height is 50 ÷ 10 = 5 units.
Does the trapezoid have to be isosceles?
No. The formula uses only the parallel bases and the perpendicular height. A lopsided trapezoid with bases 6 and 4 and height 5 still has an area of 25.
Why is the height not the slanted side?
The height must be perpendicular to the bases. In an isosceles trapezoid with bases 6 and 4 and height 5, the slanted legs are √26 ≈ 5.10 — close, but feeding that in overstates the area.
How large is a trapezoid-shaped yard along a road?
A plot with 80 ft frontage, a 120 ft rear line and 150 ft of depth has (80 + 120) ÷ 2 × 150 = 15,000 ft², about 0.34 acres.
What is the cross-section of a trapezoidal canal?
A channel 3 ft deep with a 4 ft bottom and an 8 ft water surface has (4 + 8) ÷ 2 × 3 = 18 ft² of cross-section; at 2 ft/s it discharges 36 ft³ per second.
What happens when the two bases are equal?
The shape is a rectangle or parallelogram: A = a × h directly, and the midsegment equals the base. Setting a = 0 instead degenerates to a triangle with area ½bh.
What units should I enter?
Any consistent length unit: feet give ft² for area, metres give m². All three inputs — two bases and height — must share one unit.
Method and sources
- Trapezoid area: A = (a + b)h/2, midsegment m = (a + b)/2.