Trapezoid Calculator
Calculate the area, perimeter and diagonals of a trapezoid from its side lengths and perpendicular height.
Trapezoid Calculator
Enter the two parallel bases, the two non-parallel sides and the perpendicular height, then select Calculate.
Trapezoid Measurements
Calculated from the measurements you entered.
Formulas Used
A = ½(a + b)h
P = a + b + c + d
d₁ = √((x + a)² + h²)
d₂ = √((b − x)² + h²)
The diagonal calculations use the horizontal offset determined from the supplied side lengths and height. The entered measurements must describe a geometrically valid trapezoid.
What Is a Trapezoid Calculator?
A trapezoid calculator is a geometry tool used to calculate measurements of a trapezoid from known side lengths and height. A trapezoid is a four-sided polygon with at least one pair of parallel sides, known as the bases.
This free online calculator can be useful for students, teachers, engineers, designers, builders and anyone working with geometric measurements. Enter the two parallel bases, both non-parallel sides and the perpendicular height to calculate the trapezoid's area, perimeter and diagonals.
Why Use Trapezoid Calculator?
This calculator brings several common trapezoid calculations together in one simple interface, helping you obtain useful geometric measurements without performing each formula manually.
Calculate Area
Calculate the area of a trapezoid using its two parallel bases and perpendicular height.
Find Perimeter
Add all four side lengths to quickly determine the trapezoid's perimeter.
Calculate Diagonals
Calculate both diagonal lengths when the supplied measurements describe a valid trapezoid.
Multiple Units
Work with millimetres, centimetres, metres, inches, feet or yards.
Adjustable Precision
Choose two, four or six decimal places for the displayed results.
Instant Results
Perform the calculations directly in your browser without installing additional software.
How to Use the Trapezoid Calculator
Use the calculator by entering the required trapezoid measurements and selecting the appropriate unit and display precision.
- Enter the Top Base — Enter the length of one of the trapezoid's parallel sides.
- Enter the Other Measurements — Enter the second base, both non-parallel sides and the perpendicular height.
- Select Unit and Precision — Choose the length unit used for all measurements and the number of decimal places to display.
- Calculate and Review — Select Calculate to display the area, perimeter and diagonal lengths.
Trapezoid Calculator Formulas
The main formula for the area of a trapezoid uses the lengths of its two parallel bases and the perpendicular distance between them. If the bases are represented by a and b, and the height is h, the area is calculated as A = ½(a + b)h.
The perimeter is found by adding all four side lengths. If the two bases are a and b and the remaining sides are c and d, the perimeter is P = a + b + c + d. The diagonals depend on the relative positions of the sides, bases and height, so their calculation requires the complete set of measurements entered into the calculator.
How to Calculate the Area of a Trapezoid
To calculate trapezoid area, add the lengths of the two parallel bases, divide their sum by two, and multiply the result by the perpendicular height. For example, a trapezoid with bases of 8 cm and 12 cm and a height of 4 cm has an area of 40 cm²: ½ × (8 + 12) × 4 = 40 cm².
How to Calculate the Perimeter and Diagonals
Trapezoid perimeter is straightforward because it is the sum of all four sides. Diagonals are more dependent on the trapezoid's geometry. This calculator determines the horizontal offsets implied by the supplied side lengths and height and then uses the Pythagorean theorem to calculate the two diagonals.
Trapezoid Calculator Accuracy
All calculations are performed directly in your browser using JavaScript. Your measurements are not sent to a server by the calculator. The selected decimal-place setting controls how results are displayed and rounded; calculations themselves use the underlying numerical values.
For accurate results, make sure every measurement uses the same length unit and that the values describe a geometrically valid trapezoid. The height must be the perpendicular distance between the two parallel bases, rather than the length of either non-parallel side.
James William Steven Parker
Creator & Developer of YesTools
James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.
Learn more about James and YesToolsFrequently Asked Questions
Explore More Free Tools
Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.
Browse All Categories

