Midsegment Of A Triangle - Midline, Area, and Missing Side

Use this midsegment of a triangle calculator to find the midline length from a chosen base, the Heron area, and the missing side from the midsegment.

Updated: June 19, 2026 • Free Tool

Midsegment Of A Triangle

Length of the first triangle side, in the chosen linear unit.

Length of the side that the midsegment is parallel to. The midsegment equals half of this side.

Length of the third triangle side, in the chosen linear unit.

Length of the triangle midsegment. Leave at 0 unless you are solving for a missing side.

Pick the formula that drives the primary result.

Linear unit used for every side, midsegment, and missing side value. The area is reported in this unit squared.

Results

Midsegment length m
0
Perimeter P 0
Semi-perimeter s 0
Ratio m / b 0%
Area (Heron) 0
Missing side 0
Active mode 0

What Is the Midsegment of a Triangle Calculator?

A midsegment of a triangle calculator is a focused geometry tool that takes the three sides of a triangle, names one side as the parallel base, and returns the midsegment length, perimeter, semi-perimeter, Heron area, and missing side from the midsegment.

  • Roof and truss takeoffs: Use the midsegment to size a rafter tie or a tapered truss web where the half-length is the working length.
  • Reverse solves from a plan: When the plan only lists the midsegment and two sides, recover the third side as 2m and check the triangle inequality.
  • Coordinate-geometry shortcuts: When two vertices sit on a known line, the midsegment gives the parallel offset to a third vertex.
  • Homework and proof checks: Confirm the midsegment theorem result by reading the half-length and the parallel property from the inputs.

The midsegment (also called the midline) of a triangle is the segment that joins the midpoints of two sides. It is parallel to the third side and its length is exactly half of that third side, m = b / 2, where b is the side chosen as the base.

When the same sketch also lists base, height, or two sides and an included angle, the Triangle Area Calculator returns the area, perimeter, and Heron result from the same three sides in one panel.

How the Midsegment of a Triangle Calculator Works

The midsegment of a triangle calculator reads the three sides, the optional midsegment value, the active mode, and the linear unit, then applies the midsegment theorem (m = b / 2), Heron's formula for the area, the perimeter sum, and the reverse-side solve in real time.

m = b / 2 | P = a + b + c | s = P / 2 | A = sqrt(s (s-a) (s-b) (s-c)) | b = 2m
  • a, b, c: Lengths of the three sides of the triangle. Side b is the chosen base that the midsegment is parallel to.
  • m: Midsegment (midline) of the triangle, equal to half of side b.
  • P: Triangle perimeter, P = a + b + c.
  • s: Semi-perimeter, s = (a + b + c) / 2.
  • A: Triangle area via Heron's formula, A = sqrt(s (s-a) (s-b) (s-c)).

In missingSide mode, the calculator reverses the formula to recover the chosen base as 2m, then rebuilds the perimeter and the semi-perimeter so the area follows from Heron's formula with the recovered side in place.

Worked example: a 10-8-6 triangle with side b = 8 as the base

a = 10 cm, b = 8 cm, c = 6 cm

m = 8 / 2 = 4 cm; P = 10 + 8 + 6 = 24 cm; s = 24 / 2 = 12 cm; A = sqrt(12 * 2 * 4 * 6) = sqrt(576) = 24 cm^2; m/b = 50%

Midsegment = 4 cm, perimeter = 24 cm, semi-perimeter = 12 cm, area = 24 cm^2, ratio = 50%.

The 4 cm midsegment is parallel to the 8 cm base and sits halfway between the two ends.

According to Wikipedia (Midpoint theorem article), the midsegment (or midline) of a triangle is the segment joining the midpoints of two sides; it is parallel to the third side and half as long as that third side, m = b / 2.

According to Math Open Reference (Triangle midsegment), the midsegment of a triangle joins the midpoints of two sides, is also called the midline, is parallel to the third side, and has length equal to half of that third side, m = b / 2.

When you already have two sides and the included angle and need to recover the third side directly, the Triangle Side Calculator uses the law of cosines to return that side.

Key Triangle Midsegment Concepts

Four short definitions carry the rest of the calculator.

Midsegment (midline)

The midsegment of a triangle is the line that connects the midpoints of two sides. It is also called the midline, and it sits halfway between the two chosen sides.

Parallel to the chosen side

The midsegment is parallel to the third side by construction. The third side is the side the calculator names as the base, and the midsegment stays a fixed distance from that base.

Half the parallel side

The length of the midsegment equals exactly half of the chosen base, m = b / 2. This is the midsegment theorem and the reason the ratio m / b is always 50 percent for a valid triangle.

Reverse solve for a side

When the midsegment and two other sides are known, the missing parallel side is recovered as 2m. The same rearrangement works for any of the three sides when paired with the matching midsegment.

The midsegment is unique to triangles in the sense that no other simple planar shape has the same one-line relationship m = b / 2 between a connecting segment and the opposite side.

When the figure lists two vertices and you need to confirm the midpoint of one side before reading the midsegment, the Midpoint Calculator returns the midpoint coordinates along that side in one form.

How to Use the Midsegment of a Triangle Calculator

Pick the mode that matches the data you have, type the side values, and read the midsegment or the recovered side from the result panel.

  1. 1 Enter the three triangle sides: Type the lengths of sides a, b, and c into the form, all in the chosen linear unit. Side b is the chosen base that the midsegment is parallel to.
  2. 2 Add the midsegment for the missing-side mode: Switch the mode to 'Missing side from midsegment' and type the midsegment value alongside the two known sides. Leave side b at 0 so the calculator can recover it as 2m.
  3. 3 Pick the linear unit: Select the unit you are measuring in, such as cm, m, mm, in, ft, or yd. The midsegment and missing side read back in that unit; the area is reported in the unit squared.
  4. 4 Read the result panel: The black card shows the midsegment. The grey rows show the perimeter, semi-perimeter, m / b ratio, the Heron area, the recovered side, and the active mode.
  5. 5 Cross-check the triangle inequality: Confirm that the recovered side keeps the triangle inequality intact. If a + b <= c after recovery, the recovered side is too small and the area returns 0.
  6. 6 Use the ratio to spot mistakes: The m / b ratio should read 50 percent for any valid triangle in the midsegment-from-side mode. A different value signals an input error.

For a roof truss with sides 13 ft, 14 ft, and 15 ft and side b = 14 ft as the base, set a = 13, b = 14, c = 15, leave the mode on Midsegment from chosen side, and the panel reports m = 7 ft, P = 42 ft, s = 21 ft, A = 84 ft^2, and ratio = 50%.

When the sketch also asks for the centroid, the Centroid of a Triangle Calculator layers the centroid coordinates and the centroid-to-vertex ratios on top of the midsegment.

Benefits of Using This Midsegment of a Triangle Calculator

The midsegment is the simplest way to summarize a triangle, and the calculator packages the midsegment, perimeter, semi-perimeter, Heron area, and reverse-side solve in one form.

  • Midline in one keystroke: Type the chosen base b and read the midsegment length as b / 2 in real time, with no need to divide by two by hand.
  • Area through Heron's formula: The same form feeds the perimeter, semi-perimeter, and Heron area from the three sides so the working width and the figure area share one input panel.
  • Reverse side solve: When the plan only gives the midsegment and two sides, the missingSide mode recovers the third side as 2m and rebuilds the perimeter in one pass.
  • Six linear units and unitless ratio: Pick cm, m, mm, in, ft, or yd once and every length reads back in that unit. The m / b ratio is returned as a percentage so the half-length property is visible at a glance.

The midsegment is the link between a triangle and the next calculation. Once m is known, the figure area only needs the other two sides, and the reverse solve only needs m and the other two sides, so the same form covers the most common triangle workflows.

When the figure also asks for the orthocenter, the Orthocenter Calculator layers the orthocenter coordinates and the altitude lengths on top of the midsegment.

Factors That Affect Triangle Midsegment Results

A few small decisions about the inputs and the geometry change what the calculator returns, and they explain why the same midsegment value can describe a thin sliver or a balanced triangle.

Choice of base side

The midsegment m = b / 2 collapses to half of whichever side you name as the base. A 10-8-6 triangle with b = 8 has m = 4, but the same triangle with b = 10 has m = 5. Pick the base that the figure calls out as the parallel side.

Midsegment mode and reverse solve

Switching the mode from 'Midsegment from chosen side' to 'Missing side from midsegment' changes the primary result from m to the recovered side. A wrong midsegment gives a wrong recovered side by the same factor of 2.

Unit consistency

All linear inputs must use the same unit. Mixing centimetres and inches gives a midsegment wrong by a factor of 2.54 in linear outputs and 6.45 in area output.

  • The midsegment formula assumes a planar Euclidean triangle with three straight sides. A spherical or curved figure needs a different midlength definition.
  • When the chosen base b is 0, the triangle is degenerate and the midsegment reads 0 with a 0 percent ratio. The calculator still reports the perimeter and the Heron result from the remaining sides, with a warning that the figure is degenerate.

If a result surprises you, the most common cause is naming the wrong side as the base. The midsegment formula always reads half of b, so a triangle with b = 6 instead of b = 10 gives a midsegment of 3 instead of 5. Switch the chosen base in the form and re-read the result panel.

According to Wolfram MathWorld (Triangle area), the area of a triangle with sides a, b, c is A = sqrt(s (s-a) (s-b) (s-c)), where s = (a + b + c) / 2 is the semi-perimeter, so for a 13-14-15 triangle s = 21 and A = 84 cm^2.

When all three sides are equal the midsegment still equals b / 2 and the area collapses to A = (sqrt(3) / 4) * a^2, and the Equilateral Triangle Area Calculator returns that closed-form area in one step.

midsegment of a triangle calculator showing midline length, perimeter, semi-perimeter, Heron area, and missing side inputs and outputs for three triangle sides
midsegment of a triangle calculator showing midline length, perimeter, semi-perimeter, Heron area, and missing side inputs and outputs for three triangle sides

Frequently Asked Questions

Q: What is the midsegment of a triangle?

A: The midsegment (or midline) of a triangle is the segment that joins the midpoints of two sides. It is parallel to the third side and sits exactly halfway between the two chosen sides.

Q: How do I find the midsegment of a triangle?

A: Pick the side that the midsegment is parallel to and divide its length by 2: m = b / 2. For a triangle with the parallel base at 8 cm, the midsegment is 8 / 2 = 4 cm, which the calculator returns as soon as you type the side.

Q: What is the formula for the midsegment of a triangle?

A: The midsegment formula is m = b / 2, where b is the side that the midsegment is parallel to. The reverse solve is b = 2m, which the calculator uses in missing-side mode to recover the parallel base from the midsegment.

Q: Is the midsegment the same as the median of a triangle?

A: No. The midsegment joins the midpoints of two sides, while the median joins a vertex to the midpoint of the opposite side. A triangle has three medians but only the matching midsegment for each pair of sides.

Q: How do I use the midsegment of a triangle to find a missing side?

A: Rearrange the midsegment theorem to b = 2m. If m = 9 cm, the parallel side reads 2 * 9 = 18 cm. The calculator's missing-side mode does this calculation and shows the recovered side in the result panel.

Q: What is the relationship between the midsegment and the third side of a triangle?

A: The midsegment is parallel to the third side and exactly half its length, m = b / 2. The triangle inequality still has to hold with the recovered side, so a midsegment that is too large flags an invalid triangle.