Trapezoid Calculator
Area, perimeter, height, midsegment, all four angles, and both diagonals — for any scalene, isosceles or right trapezoid.
Material / cost estimator
Enter a price per square metre (paint, flooring, land, fabric, etc.) to estimate the total cost from the computed area.
What is a trapezoid?
A trapezoid is a four-sided polygon (quadrilateral) with at least one pair of parallel sides, called the bases. The other two sides are the legs, and the perpendicular distance between the two bases is the height.
Three common variants appear in practice: a scalene trapezoid has legs of different length; an isosceles trapezoid has legs of equal length and matching base angles; a right trapezoid has two 90° angles on the same leg. You'll meet them in drainage channels, retaining walls, roof trusses, bridge girders, land plots with two parallel boundaries, and the trapezoidal rule for numerical integration.
Trapezoid, case by case
Area of a trapezoid
Add the two parallel bases, halve them (the midsegment), then multiply by the perpendicular height. It's the same as making a rectangle whose length is the average of the two bases.
Height from the four sides
When you know both bases and both legs but not the height, drop a perpendicular from the shorter base. The horizontal offset x from the longer base gives h via the Pythagorean theorem.
Midsegment (median)
The midsegment joins the midpoints of the two legs. It is parallel to both bases and equals their average — the same quantity that appears in the area formula.
Co-interior angle rule
Because the two bases are parallel, each pair of angles on the same leg sums to 180°. Knowing one angle at either end of a leg immediately gives you the other.
Full solve from a leg + base angle
Given both bases, one leg, and the base angle at that leg's foot, you can recover the height and the remaining leg. Drop a perpendicular from the top base and use right-triangle trigonometry.
Full solve from both base angles
With both bases and both angles at the longer base, the two legs and the height follow from the horizontal split of the trapezoid into a rectangle flanked by two right triangles.
Isosceles quick mode
An isosceles trapezoid has equal legs (c = d) and equal base angles. Give both bases and one leg and everything else — height, diagonals, area — is determined.
Right quick mode
A right trapezoid has two adjacent right angles on one leg. That leg is the height, and the remaining slanted leg is found from the base difference by the Pythagorean theorem.
Formulas at a glance
All formulas — every calculation mode
The exact symbolic chain each mode of this calculator evaluates. Same notation as the widget: a, b are the parallel bases, c, d the legs, h the height, m the midsegment, P the perimeter, A the area, and x the horizontal offset of the top base from the bottom-left corner.
What this tool does for you
- Twelve calculation modes — from a simple A = ½(a+b)h to a full solve from 4 vertex coordinates
- Scalene, isosceles and right diagrams with vertex, side, angle and height labels
- Reports area, perimeter, height, midsegment, all four interior angles and both diagonals
- Unit selector (mm, cm, m, km, in, ft, yd) with automatic m² conversion for the cost estimator
- Show/hide step-by-step working for every mode
- Material or cost estimator — enter a price per m² and get the total