Trapezoid Area Calculator
Type the two parallel sides and the height. You get the area, the median line, and the area in other units.
https://flxcode.com/trapezoid-area-calculator/
Example Trapezoid
square feet
The formula with your numbers
A = (a + b) / 2 × h
A = (4 + 10) / 2 × 6 = 42 ft²
median line = (a + b) / 2 = (4 + 10) / 2 = 7 ft
Also
| Median line | 7 ft |
|---|---|
| Height | 6 ft |
The same area in other units
| Square inches | 6,048 |
|---|---|
| Square yards | 4.66667 |
| Square centimeters | 39,019.3 |
| Square meters | 3.90193 |
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
Quick start
- Type the two parallel sides, a and b, and the height h. The height is measured square-on, not along a leg.
- Pick the unit. The area comes out in that unit squared.
- For the perimeter, type both legs in the optional boxes.
- If you know the area but not the height, pick "Find the height from the area".
Worked examples
Each line comes from the engine behind the tool.
| Shape | Sizes | Area | Median line |
|---|---|---|---|
| The default shape | a 4, b 10, h 6 ft | 42 | 7 |
| A roof section (a trapezoid wall) | a 12, b 20, h 9 ft | 144 | 16 |
| A garden bed narrowing to the back | a 3, b 5, h 8 ft | 32 | 4 |
| A plot in meters | a 15, b 25, h 12 m | 240 | 20 |
| A ramp side, in inches | a 30, b 48, h 14 in | 546 | 39 |
The formulas
- Area:
A = (a + b) / 2 x h - Height from the area:
h = 2 x A / (a + b) - Median line:
m = (a + b) / 2, soA = m x h - Perimeter:
a + b + c + d, with the two legs c and d
Why it works: two copies of a trapezoid, one turned upside down, make a parallelogram with base a + b and the same height. The parallelogram has area (a + b) x h, and the trapezoid is half of it. For other flat shapes, see the area calculator, and for a triangle with three known values, the triangle calculator.
What the legs check
If you type both legs, the tool tests that such a trapezoid can exist. Each leg must be at least as long as the height. Together the two legs must stretch far enough sideways to make up the difference between the bases. Legs of 4.5 and 4.5 with sides 4 and 10 and a height of 4 are refused: each leg reaches only 2.06 sideways, 4.12 together, and the two bases differ by 6. Legs of 5 and 5 reach 3 each, which is exactly enough, and give a perimeter of 24.
Common mistakes
- Using the slanted leg as the height. That gives an area that is too big.
- Using the two legs in the area formula. They are not the parallel sides.
- Mixing units, such as sides in feet and a height in inches.
- Reading the median line as the longest or the shortest side. It sits between them.
FAQ
What is the formula for the area of a trapezoid?
Area = (a + b) / 2 x h. Add the two parallel sides, halve the sum, and multiply by the height. With a = 4, b = 10 and h = 6 that is 7 x 6 = 42. The tool writes this line with your numbers.
Which sides are a and b?
The two parallel sides. It does not matter which one you call the top or the bottom, because they are added. The two other sides, the legs, are not needed for the area.
What is the height, and how is it different from a leg?
The height is the straight, square-on distance between the two parallel sides. A leg is the slanted side, so it is always longer than the height, unless it stands straight up. A leg shorter than the height gives an error here.
How do I find the height if I know the area?
Use h = 2 x A / (a + b). With an area of 42 and sides of 4 and 10, h = 84 / 14 = 6. Switch to "Find the height from the area" and type the area instead of the height.
What is the median line?
The line that joins the middle points of the two legs. It is parallel to the bases, and its length is (a + b) / 2. It is also the average width, so area = median x height. For 4 and 10 it is 7.
Can the legs be different lengths?
Yes. Only the height and the two parallel sides matter for the area. If you give both legs, they only need to fit: the tool refuses a pair that cannot reach between the two bases at the height you typed.
More from FLXCode
- Area CalculatorArea of a rectangle, triangle, circle, trapezoid, parallelogram, ellipse, sector or polygon, with the formula.
- Triangle CalculatorSolve any triangle from three values: sides, angles, area and more, drawn to scale with the steps.
- Volume CalculatorVolume of a cube, box, cylinder, cone, sphere, hemisphere, pyramid, capsule or tube, with liters and gallons.
- Circumference CalculatorCircumference of a circle from the radius, diameter or area, plus arc length, with the formula shown.