Trapezoid Calculator
Find area, midsegment, and perimeter of a trapezoid
Results
Area
Midsegment
Height
Perimeter
Diagonal p
Diagonal q
Base Angle α (lower-left)
Base Angle β (lower-right)
Top-Left Angle
Top-Right Angle
Embed this calculator
Add it to your website or blog
Trapezoid Calculator Formula
Area of a trapezoid:
b₁, b₂ = the two parallel bases; h = the perpendicular height between them.
Midsegment (median) of a trapezoid:
b₁, b₂ = the two parallel bases.
Perimeter of a trapezoid (when both legs are known):
b₁, b₂ = the parallel bases; c, d = the two legs (non-parallel sides).
Diagonals of a trapezoid (when both legs are known), using leg offsets x = √(c² − h²) and y = √(d² − h²):
x, y = horizontal offsets of the top base under each leg; b₁ = the shorter base; h = the height.
Interior angles of a trapezoid (when both legs are known):
α, β = the two base angles at the longer base; the two top angles are their supplements (180° − α and 180° − β). Angles are in degrees.
How to Use This Calculator
- Enter the two parallel sides as base 1 and base 2 (their order does not matter).
- Enter the perpendicular height between the two bases.
- Optionally, enter the two legs (the slanted, non-parallel sides) to also get the perimeter, diagonals, and interior angles.
- Click Calculate to see the area, midsegment, height, and — if you entered both legs — the perimeter, both diagonals, and all four interior angles.
- Copy the URL that updates automatically after calculating to share your result.