AI Tools Free

Trapezoid Midsegment Calculator

The 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.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate.

Allowed range: 1e-09 to 1,000,000,000.

Allowed range: 1e-09 to 1,000,000,000.

Your result
Enter your details

Result will appear here

How to Calculate Midsegment of a Trapezoid

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).

Diagram of a trapezoid with parallel bases 4 and 8 and midsegment 6
Diagram of a trapezoid with parallel bases a = 4 and b = 8 split by a diagonal into two triangles, proving the midsegment m = (4 + 8) / 2 = 6.

Midsegment of a Trapezoid Calculator Reference Table

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| / 2Geometry & Engineering Benchmark
4 (preloaded)8 (preloaded)1262Preloaded workspace verification case (m = 6)
6 cm14 cm20 cm104 cmStandard geometry exam trapezoid (10 cm median)
11 units17 units28 units143 unitsAlgebraic check: a = 2x+1, b = 4x-3 at x = 5 (m = 14)
8 units18 units26 units135 unitsCoordinate trapezoid A(2,6), B(10,6), C(19,0), D(1,0) (m = 13)
10 in22 in32 in166 inMissing-base verification (b = 2(16) - 10 = 22 in)
12 ft24 ft36 ft186 ftTapered hip-roof mid-span purlin length (18 ft beam)
1.2 m2.8 m4.0 m20.8 mBattered concrete retaining wall mid-height thickness (2.0 m)
18 in32 in50 in257 inA-line skirt panel mid-hip width (25 in pattern line)
1.5 m4.5 m6.0 m31.5 mOpen trapezoidal irrigation canal mid-depth width (3.0 m)
7.5 cm12.3 cm19.8 cm9.92.4 cmDecimal precision test case (9.9 cm midline)

How to Use the Trapezoid Midsegment Theorem Calculator Step by Step

Follow these three steps to run the solver in the workspace above.

Enter the First Parallel Base (#a)

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).

Input and settings
Input fields for First parallel base and Second parallel base in the Trapezoid Midsegment Calculator
First parallel base (#a = 4) and Second parallel base (#b = 8) input fields in the Trapezoid Midsegment Calculator.

Enter the Second Parallel Base (#b)

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.

Tool result
Diagram distinguishing parallel bases a and b from nonparallel legs c and d
Distinguishing the two horizontal parallel bases (a = 4, b = 8) from the slanted nonparallel legs (c, d) where the midpoints sit.

Click Calculate Result and Export

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).

Review the details
Result panel showing 6 linear units for parallel bases 4 and 8
Result panel displaying 6 linear units for preloaded parallel bases a = 4 and b = 8 alongside Copy result and Clear actions.

Worked Examples: Find the Midsegment of a Trapezoid Calculator

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.

Preloaded a = 4, b = 8 Textbook Trapezoid

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.

Trapezoid with parallel bases 4 and 8 and midsegment 6
Trapezoid with top base a = 4 and bottom base b = 8 yielding midsegment m = 6.

Algebraic Midsegment Problem: a = 2x + 1, b = 4x - 3, m = 14

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.

Algebraic trapezoid problem solving for x = 5 and midsegment 14
Algebraic trapezoid with top base 2x + 1 = 11 and bottom base 4x - 3 = 17 at x = 5 verifying midsegment m = 14.

Coordinate Plane Trapezoid: A(2, 6), B(10, 6), C(19, 0), D(1, 0)

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).

Coordinate plane trapezoid ABCD with leg midpoints and midsegment 13
Coordinate plane trapezoid ABCD with leg midpoints M₁(1.5, 3) and M₂(14.5, 3) spanning midsegment m = 13.

Median of a Trapezoid Calculator Rules: Missing Base, Area & Diagonals

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.

Diagram showing a trapezoid midsegment divided by its two diagonals
Trapezoid midsegment divided by the two diagonals into outer segments a/2, central diagonal-midpoint segment (b - a)/2, and outer segment a/2.

Common Trapezoid Midsegment Mistakes & Related 2D Tools

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.

Diagram comparing the trapezoid midsegment with the harmonic mean chord through the diagonal intersection
Comparison of the midsegment (arithmetic mean m = (a + b)/2 = 6) and the parallel chord through the diagonal intersection (harmonic mean 2ab/(a + b) = 5.33).

Frequently Asked Questions About the Trapezoid Midsegment Calculator

Answers about using Trapezoid Midsegment Calculator and understanding its results.

How do you calculate the midsegment of a trapezoid?

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.

Is the median of a trapezoid the same as the midsegment?

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.

How do I solve for a missing parallel base when given the midsegment?

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.

How do I find the midsegment of a trapezoid with coordinates?

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₁)²).

How do you solve trapezoid midsegment equations with variables (x)?

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.

How do I find the length of the segment between the midpoints of a trapezoid's diagonals?

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.

Calculate with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate