
Trapezoid Area Calculator
Calculate trapezoid area A = (a + b) * h / 2 from parallel bases and perpendicular height with our free trapezoid area calculator, 10-row table, and examples.
Open toolThe Trapezoid Midsegment Calculator is a two-dimensional quadrilateral solver that operates as a midsegment of a trapezoid calculator, median of a trapezoid calculator, and trapezoid midsegment theorem calculator using m = (a + b) / 2. Enter #a (first parallel base) and #b (second parallel base) to compute 12-significant-digit midline length locally in your browser without server uploads.
Enter the inputs, then select Calculate.
Result will appear here
Understanding how to calculate midsegment of a trapezoid (also called the median or midline) comes directly from the Trapezoid Midsegment Theorem. The midsegment is the straight line segment connecting the midpoint of one nonparallel leg to the midpoint of the opposite nonparallel leg. If you draw a diagonal from one top corner to the opposite bottom corner, you split the trapezoid into two triangles (see our Triangle Area Calculator and Similar Triangles Calculator). By the Triangle Midsegment Theorem, the two halves of the trapezoid midsegment are parallel to the bases and equal to a / 2 and b / 2. Adding those two collinear segments gives the formula used by this trapezoid midsegment theorem calculator: m = (a + b) / 2.
m = (a + b) / 2
Because trapezoid area is A = ((a + b) / 2) × h, the midsegment m is also the exact average width that turns any trapezoid into an equivalent rectangle of area A = m × h (see our Trapezoid Area Calculator). When you click Calculate result, batch12-tools.js reads #a and #b and evaluates show((n("a") + n("b")) / 2).
Compare 10 verified parallel base pairs to see how this midsegment of a trapezoid calculator evaluates the base sum (a + b), exact midsegment m (#result-main), and diagonal-midpoint segment |b - a| / 2:
| First Base (#a) | Second Base (#b) | Base Sum (a + b) | Exact Midsegment (#result-main) | Diagonal Midpoint Gap |b - a| / 2 | Geometry & Engineering Benchmark |
|---|---|---|---|---|---|
| 4 (preloaded) | 8 (preloaded) | 12 | 6 | 2 | Preloaded workspace verification case (m = 6) |
| 6 cm | 14 cm | 20 cm | 10 | 4 cm | Standard geometry exam trapezoid (10 cm median) |
| 11 units | 17 units | 28 units | 14 | 3 units | Algebraic check: a = 2x+1, b = 4x-3 at x = 5 (m = 14) |
| 8 units | 18 units | 26 units | 13 | 5 units | Coordinate trapezoid A(2,6), B(10,6), C(19,0), D(1,0) (m = 13) |
| 10 in | 22 in | 32 in | 16 | 6 in | Missing-base verification (b = 2(16) - 10 = 22 in) |
| 12 ft | 24 ft | 36 ft | 18 | 6 ft | Tapered hip-roof mid-span purlin length (18 ft beam) |
| 1.2 m | 2.8 m | 4.0 m | 2 | 0.8 m | Battered concrete retaining wall mid-height thickness (2.0 m) |
| 18 in | 32 in | 50 in | 25 | 7 in | A-line skirt panel mid-hip width (25 in pattern line) |
| 1.5 m | 4.5 m | 6.0 m | 3 | 1.5 m | Open trapezoidal irrigation canal mid-depth width (3.0 m) |
| 7.5 cm | 12.3 cm | 19.8 cm | 9.9 | 2.4 cm | Decimal precision test case (9.9 cm midline) |
Follow these three steps to run the solver in the workspace above.
Measure one of the two parallel sides (usually the shorter top base a) and type it into First parallel base (#a, preloaded with 4, accepting 1e-9 to 1,000,000,000).
Type the length of the opposite parallel base b into Second parallel base (#b, preloaded with 8). Do not enter the slanted nonparallel legs c or d.
Select Calculate result (#primary-action) to compute the arithmetic mean of the two bases, then click Copy result (#copy-action) or Load sample (#sample-action).
These three worked examples show how to use the find the midsegment of a trapezoid calculator for standard geometry diagrams, algebraic x equations, and coordinate-plane vertices.
With First parallel base = 4 and Second parallel base = 8, adding the parallel bases gives 12, and dividing by 2 returns a midsegment of 6 linear units.

When a geometry worksheet gives a = 2x + 1, b = 4x - 3, and midsegment m = 14, set a + b = 2m: (2x + 1) + (4x - 3) = 28 → 6x - 2 = 28 → x = 5. Substituting x = 5 gives a = 11 and b = 17. Entering 11 and 17 into the calculator confirms m = 14.

To use this page as a midsegment of a trapezoid calculator with coordinates, notice that horizontal bases AB (along y = 6) and DC (along y = 0) have lengths a = 10 - 2 = 8 and b = 19 - 1 = 18. Entering 8 and 18 outputs 13 (matching the distance between leg midpoints M_AD(1.5, 3) and M_BC(14.5, 3), which you can also inspect in our Polygon Area Calculator).

Use these three companion formulas when solving extended trapezoid median problems:
Finding a Missing Parallel Base (b = 2m - a) & Area (A = m × h): Because the median m sits halfway in length between a and b, the step from a to m equals the step from m to b (m - a = b - m), which rearranges to b = 2m - a. Multiplying the midsegment m by the perpendicular altitude h gives the exact trapezoid area A = m × h (compare with b × h in our Parallelogram Area Calculator and Parallelogram Perimeter Calculator).
Segment Connecting the Midpoints of the Two Diagonals (|b - a| / 2): The two trapezoid diagonals intersect the midsegment m and divide it into three subsegments: two outer pieces of length a / 2 (where a is the shorter base) and a central segment connecting the midpoints of the two diagonals of length Δm = |b - a| / 2.

Avoid these three frequent classroom errors:
Averaging Slanted Legs (c, d) & Confusing Midsegment With the Diagonal-Crossing Chord: Although the midsegment connects the midpoints of the two slanted legs c and d, its length depends solely on the two parallel bases a and b. Also distinguish the midsegment (arithmetic mean (a + b) / 2) from the parallel chord through the diagonal intersection (harmonic mean 2ab / (a + b), which is 5.333 for a = 4, b = 8).
To chain related 2D quadrilateral and triangle calculations, explore our Trapezoid Area Calculator, Parallelogram Area Calculator, Parallelogram Perimeter Calculator, Rhombus Area Calculator, Kite Area Calculator, Similar Triangles Calculator, or Triangle Area Calculator.


Calculate trapezoid area A = (a + b) * h / 2 from parallel bases and perpendicular height with our free trapezoid area calculator, 10-row table, and examples.
Open tool
Use this parallelogram area calculator to find 2D area A = b × h from base length and perpendicular height, plus trig, vector, and diagonal formulas.
Open tool
Calculate the perimeter of a parallelogram P = 2(a + b) with this parallelogram perimeter calculator using adjacent sides, diagonal lengths, or vertices.
Open toolChoose another tool for your next calculation, conversion, or text task.

Use this rhombus area calculator to find diamond area A = (d₁ × d₂) / 2 from its two diagonals, plus side-length, height, and trigonometric formulas.
Open tool
Use this kite area calculator and area of a kite calculator to solve A = (p × q) / 2 from perpendicular diagonals, plus side-angle and coordinate formulas.
Open tool
Use our similar triangles calculator to compute the target/reference scale factor k = b/a and missing corresponding side x for target or reference triangles.
Open tool
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 toolAnswers about using Trapezoid Midsegment Calculator and understanding its results.
Add the lengths of the two parallel bases a and b together, then divide by 2: m = (a + b) / 2. For example, if the top base is 4 and the bottom base is 8, the midsegment is (4 + 8) / 2 = 6.
Yes. In geometry, the terms midsegment, median, and midline of a trapezoid all refer to the line segment that connects the midpoints of the two nonparallel sides (legs). It is always parallel to both bases and has length m = (a + b) / 2.
Double the midsegment length m and subtract the known parallel base a: b = 2m - a. For instance, if the midsegment is 10 and one base is 6, the other base is 2(10) - 6 = 14.
Use the midpoint formula M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2) to find the midpoint M₁ of the first nonparallel leg and the midpoint M₂ of the second nonparallel leg, then apply the distance formula m = √((x_M₂ - x_M₁)² + (y_M₂ - y_M₁)²).
Set the sum of the two base expressions equal to twice the midsegment expression: a(x) + b(x) = 2 × m(x). Solve that linear equation for x, substitute x back into the expressions to get the numeric base lengths, and verify them in #a and #b.
The segment connecting the midpoints of the two diagonals lies along the midsegment and has length equal to half the difference of the two parallel bases: Δm = |b - a| / 2.
Choose another tool for your next calculation, conversion, or text task.