Calculate the height of a trapezoid from area and parallel sides, from all four sides using the Pythagorean theorem, from a leg and base angle, or from a diagonal. Multiple input modes with visual...
The height (altitude) of a trapezoid is the perpendicular distance between its two parallel sides. It is the measurement that turns a sketch into a solvable figure because area, leg geometry, and angle relationships all depend on it. In many real problems the height is not given directly, so you have to recover it from area, side lengths, an angle, or a diagonal.
The most direct case uses the area formula A = 1/2(a + b)h, which rearranges to h = 2A / (a + b). If all four side lengths are known instead, coordinate geometry lets you solve for the horizontal offset on one leg and then recover height with the Pythagorean theorem. A third route uses trigonometry: when a leg and an adjacent base angle are known, h = c sin(theta).
This calculator supports area, four-side, leg-and-angle, and diagonal modes so you can solve the altitude from whichever measurements you actually have. It also reports the related area, perimeter, angles, and midsegment to help you verify the figure.
Height is usually the hidden value that unlocks the rest of the trapezoid. Once you know it, you can verify area, compare side lengths, and check whether the given dimensions produce a realistic shape. This calculator is useful because trapezoid altitude problems come in several forms, such as area with bases, four sides, a leg-angle pair, or a diagonal setup, and each one needs a different method.
From area: h = 2A / (a + b) From 4 sides: x₁ = (c² − d² + (b−a)²) / (2(b−a)); h = √(c² − x₁²) From leg + angle: h = c × sin(θ) Area: A = ½(a + b) × h Midsegment: m = (a + b) / 2
Result: Height = 4 units
In area mode, h = 2A / (a + b). Substituting topBase = 6, bottomBase = 10, and areaIn = 32 gives h = 64 / 16 = 4. Plugging that back into 1/2(6 + 10) x 4 returns 32, so the height is consistent with the given area.
If the area and both bases are known, the altitude comes from a single rearrangement of the trapezoid area formula. If the four sides are known, the problem becomes a coordinate-geometry setup where one horizontal offset is solved first and the height follows from a right triangle. When a leg and a base angle are known, sine gives the perpendicular rise directly.
The altitude is more than a single output card. It explains why one trapezoid has a larger area than another with the same bases, and it controls how steep the non-parallel sides must be. Once height is known, you can compare it against each leg, estimate base angles, and confirm whether a proposed trapezoid is shallow, tall, isosceles, or right.
The most common mistake is using a slanted leg as though it were the height. The altitude must always be perpendicular to both bases. Another common issue is entering a leg that is shorter than the computed height, which is geometrically impossible. Using the different modes side by side is a good way to check whether a field measurement, drawing dimension, or homework setup is internally consistent.
Use h = 2A / (a + b), where A is the area and a, b are the two parallel sides. Use this as a practical reminder before finalizing the result.
Compute x₁ = (c² − d² + (b−a)²) / (2(b−a)), then h = √(c² − x₁²). This places the trapezoid on a coordinate plane and applies the Pythagorean theorem.
Yes. If you know a base angle θ and its adjacent leg c, then h = c × sin(θ).
Only in a right trapezoid, where one leg is perpendicular to the bases. Otherwise the legs are slanted and longer than the height.
That would make the leg too short to reach from one base to the other — the shape is geometrically impossible. Check your measurements.
Area = midsegment × height, so h = A / midsegment. The midsegment is (a + b) / 2.