
Triangle Area Calculator
Use our free triangle area calculator and area of a triangle calculator to compute A = (b * h) / 2 from base and perpendicular height in your browser.
Open toolEnter First parallel side (a), Second parallel side (b), and Perpendicular height (h) into this trapezoid area calculator and area of a trapezoid calculator to compute surface area A = (a + b) * h / 2 in one click. Test the preloaded a = 3, b = 5, and h = 4 baseline returning 16, or solve roof hip facets, drainage ditches, and right trapezoids across 1e-9 to 1,000,000,000 in your browser.
Enter the inputs, then select Calculate result.
Result will appear here
The Trapezoid Area Calculator is a client-side geometry tool that computes the surface area of any four-sided trapezoid from its two parallel base lengths (a and b) and perpendicular altitude (h). It averages the two parallel sides to find the median width m = (a + b) / 2 and multiplies by h in double-precision JavaScript, displaying up to 12 significant digits.
Trapezoid area: A = ((a + b) / 2) * h = m * h, where midline m = (a + b) / 2.
In batch10-tools.js, this trapezoid area formula calculator evaluates show((n('a') + n('b')) * n('h') / 2) locally in your browser. Enter all three dimensions in one consistent linear unit (inches, feet, centimeters, or meters), and the output is reported in the corresponding square unit (in², ft², cm², or m²).
Review the workspace input bounds, formula rules, and pre-calculated geometry, roofing, and civil engineering benchmarks below before entering your measurements into the trapezoid area calculator.
| Parameter / Scenario | Input Values (a, b, h) | Formula or Validation Rule | Calculated Area / Notes |
|---|---|---|---|
| First parallel side (#a) | Default: 3 | Positive real number: 1e-09 to 1,000,000,000 | Length of top or bottom parallel base a |
| Second parallel side (#b) | Default: 5 | Positive real number: 1e-09 to 1,000,000,000 | Length of opposite parallel base b |
| Perpendicular height (#h) | Default: 4 | Positive real number: 1e-09 to 1,000,000,000 | Right-angle (90°) altitude between a and b |
| Output Precision | 16 (for 3, 5, 4) | Number(((a + b) * h / 2).toPrecision(12)) | Up to 12 significant digits; strips trailing zeros |
| Preloaded Baseline Check | a = 3, b = 5, h = 4 | (3 + 5) * 4 / 2 | 16 square units (midline m = 4) |
| Trapezoidal Roof Hip Facet | a = 14 ft, b = 32 ft, h = 15 ft | (14 + 32) * 15 / 2 | 345 sq ft (3.45 roofing squares) |
| Open Drainage Ditch Cross-Section | a = 1.2 m, b = 3.6 m, h = 1.5 m | (1.2 + 3.6) * 1.5 / 2 | 3.6 m² flow cross-sectional area |
| Isosceles Trapezoid (a=6, b=14, leg c=5) | a = 6, b = 14, h = 3 | h = sqrt(5² - ((14 - 6) / 2)²) = 3 | 30 square units |
| Right Trapezoid Parcel (90° vertical leg) | a = 45 ft, b = 75 ft, h = 60 ft | (45 + 75) * 60 / 2 | 3600 sq ft (vertical leg equals h) |
| Millimeter Sheet-Metal Gusset | a = 25 mm, b = 65 mm, h = 40 mm | (25 + 65) * 40 / 2 | 1800 mm² (18 cm²) |
Follow these three steps in the workspace above to configure your base and altitude measurements and export the surface area.
Type the two parallel base lengths into First parallel side (#a, default 3) and Second parallel side (#b, default 5) using any positive number from 1e-09 to 1,000,000,000.
Supply the 90-degree vertical altitude between the parallel bases in Perpendicular height (#h, default 4), keeping the same linear unit used for both bases.
Select Calculate result to compute the area in #result-main, then click Copy result or Download .txt to export the value for takeoffs or worksheets.
These three practical scenarios demonstrate how to calculate area of trapezoid geometries across classroom baselines, sloped hip roofs, and hydraulic channels.
With First parallel side = 3, Second parallel side = 5, and Perpendicular height = 4, the midline is (3 + 5) / 2 = 4 and the area is 4 * 4 = 16 square units.

A hip roof section tapering from a 32 ft eave to a 14 ft ridge with a 15 ft slope altitude covers (14 + 32) * 15 / 2 = 345 sq ft (3.45 roofing squares).

A stormwater ditch with a 1.2 m bottom bed, 3.6 m top water surface, and 1.5 m vertical depth has a wetted cross-sectional flow area of 2.4 * 1.5 = 3.6 m².

The output panel prints the exact 2D surface area in #result-main formatted to up to 12 significant digits (Number(val.toPrecision(12)).toString()), preserving decimal accuracy while stripping trailing zeros from integer results like 16 or 345.
Because inputs are unit-agnostic numbers, square your input unit to label the result: feet become square feet (sq ft, divide by 100 for roofing squares or by 43,560 for acres), and meters become square meters (m²). Drawing a diagonal between opposite corners splits any trapezoid into two triangles that share the same perpendicular altitude h, one with base a and one with base b; summing their areas in the Triangle Area Calculator reproduces ((a + b) / 2) * h.
When both parallel bases have the exact same length (a = b), the midline equals a and the formula reduces to a * h, matching the Rectangle Area Calculator.

Before applying the calculated surface area to roofing estimates, concrete retaining walls, or land parcels, check these operational rules and companion geometry tools.
Never enter an angled side leg into Perpendicular height. If you have an isosceles trapezoid with parallel bases a and b and equal slanted legs c, first compute the horizontal overhang d = |b - a| / 2 and find the vertical altitude h = sqrt(c² - d²) with the Pythagorean Theorem Calculator. All three fields enforce positive finite numbers between 1e-09 and 1,000,000,000.
If one parallel side shrinks to zero (a = 0), compute three-sided area A = bh/2 in the Triangle Area Calculator or solve for altitude h = 2A/b in the Triangle Height Calculator. Use the Rectangle Area Calculator when opposite parallel sides are equal (a = b), or the Polygon Area Calculator when a four-sided lot has zero parallel edges.


Use our free triangle area calculator and area of a triangle calculator to compute A = (b * h) / 2 from base and perpendicular height in your browser.
Open tool
Calculate the area of any rectangle or square from its width and height with our free rectangle area calculator. Includes room sizing table and examples.
Open tool
Calculate regular polygon area (pentagon, hexagon, octagon, n-gon) from side length, or irregular polygon area and centroid from (x, y) vertices using the Shoelace formula.
Open toolChoose another tool for your next calculation, conversion, or text task.

Use our free Herons formula calculator (Heron's formula calculator) to find triangle semiperimeter s and area from all 3 side lengths a, b, and c.
Open tool
Calculate perpendicular triangle altitude h = 2A / b from area and base with our free triangle height calculator, 10-row reference table, and worked examples.
Open tool
Use this regular polygon area calculator to compute the exact 2D area of any regular n-gon (3 to 1,000 sides) from side count n and side length s.
Open tool
Compute exact circle surface area A = πr² from radius, diameter, or circumference with our free circle area calculator, 10-row lookup table, and examples.
Open toolAnswers about using Trapezoid Area Calculator and understanding its results.
Add the two parallel base lengths (a and b), divide by 2 to get the median width m, and multiply by the perpendicular height h: A = ((a + b) / 2) * h. With the preloaded values a = 3, b = 5, and h = 4, the calculation is (3 + 5) * 4 / 2 = 16 square units.
First subtract the shorter base from the longer base and divide by 2 to find each side's horizontal base projection: d = |b - a| / 2. Next, apply the Pythagorean theorem to compute the vertical altitude h = sqrt(c² - d²) from the slanted leg c, and enter a, b, and h into the calculator. For a = 6, b = 14, and c = 5, d = 4 and h = sqrt(25 - 16) = 3, giving A = 30.
A right trapezoid has two adjacent 90-degree interior angles, so one of its non-parallel legs stands at a right angle to both parallel bases. You can enter the length of that vertical 90-degree leg directly into Perpendicular height (#h) without any trigonometric or Pythagorean adjustment.
The slanted side leg is the hypotenuse of a right triangle whose vertical leg is the true altitude h = c * sin(theta), where theta is the interior base angle. Because sin(theta) < 1 for any non-vertical side, substituting c for h inflates the calculated surface area by 1 / sin(theta).
All three fields (#a, #b, and #h) must be entered in the same linear unit before clicking Calculate result. Convert feet-and-inch measurements into decimal feet (for example, 5 ft 6 in = 5.5 ft) or total inches (66 in) first so the output represents true square feet (sq ft) or square inches (in²).
Choose another tool for your next calculation, conversion, or text task.