Vexcomira Geometry Calculators
TrapezoidVexcomira
2D GEOMETRY / FREE CALCULATOR

Trapezoid — two bases and two legs

Your measurements

Use one common unit for every length. Selecting another unit relabels the numbers; it does not convert them.

Two bases and two legs — measurement guide

The difference between the two bases sets the horizontal offset available to the legs. Four lengths must describe a nondegenerate trapezoid for the height to exist.

The formula

Δ = |a−b|; x = (c²−d²+Δ²)/(2Δ); h = c²−x²

Base a = 10; Base b = 4; Leg c = 5; Leg d = 5

Worked example

Using the input values above gives the following measurements:

Area: 28 cm² · Midline: 7 cm · Height: 4 cm · Perimeter: 24 cm

Model and limitations

Its height is the perpendicular separation of the bases. The midline joins the midpoints of the legs and has length (a+b)/2. Multiplying this midline by the height gives the area.

Equal bases with arbitrary legs do not uniquely determine a height. The four-side tool rejects that ambiguous case. Round the final result to the precision appropriate for your input measurements.

Read the full figure guide · All formulas · Report an error