Trapezoid Calculator
Calculate the area and perimeter of a trapezoid.
Free online tool by SOCE. Check inputs and results before using them for important decisions.
Trapezoid Calculator – Free Online Area, Perimeter and Height Guide
The SOCE Trapezoid Calculator page provides a mathematical guide to understanding trapezoid geometry, including area, perimeter, height, parallel bases, legs, and midsegment.
A trapezoid is a quadrilateral with a pair of parallel sides. These parallel sides are called bases, while the other two sides are commonly called legs.
Trapezoids appear in mathematics, architecture, surveying, civil engineering, geometric design, and construction calculations.
This Trapezoid Calculator guide explains essential formulas, worked examples, and practical methods for determining trapezoid measurements from known dimensions.
What Is a Trapezoid Calculator?
A Trapezoid Calculator is a mathematical tool used to determine geometric properties of a trapezoid from known measurements.
Important trapezoid properties include:
- Area.
- Perimeter.
- Height.
- Parallel base lengths.
- Nonparallel side lengths.
- Midsegment.
- Interior angles.
- Diagonal lengths.
Different calculations require different input measurements.
For example, consider a trapezoid with:
Longer base = 12 cm
Shorter base = 8 cm
Perpendicular height = 5 cm
Its area is:
A = ½(12 + 8) × 5
Area = 50 cm²
The area can be calculated without knowing the lengths of the two legs.
However, calculating the perimeter requires the lengths of all four sides or sufficient additional information to determine them.
Understanding the Parts of a Trapezoid
Parallel Bases
The two parallel sides are called bases.
They are commonly represented by a and b.
Legs
The other two sides connect the bases.
Their lengths are represented by c and d.
Height
The height is the perpendicular distance between the lines containing the parallel bases.
It is represented by h.
Midsegment
The midsegment, also called the median, joins the midpoints of the two legs.
It is parallel to both bases.
Interior Angles
A trapezoid has four interior angles.
Their sum is:
360°
Diagonals
A trapezoid has two diagonals connecting opposite vertices.
Their lengths depend on the complete geometry.
Types of Trapezoids
General Trapezoid
A general trapezoid has a pair of parallel bases, with no additional requirement that its legs or base angles be equal.
Isosceles Trapezoid
An isosceles trapezoid has equal legs and equal angles adjacent to each base.
Its diagonals are also equal.
Right Trapezoid
A right trapezoid has a leg perpendicular to the parallel bases, producing two right angles.
Scalene Trapezoid
A scalene trapezoid is commonly described as a trapezoid without the additional equal-leg symmetry of an isosceles trapezoid.
How to Use a Trapezoid Calculator
The general calculation procedure is:
- Identify the two parallel bases.
- Determine the known measurements.
- Select the required geometric property.
- Confirm that the dimensions describe a valid trapezoid.
- Convert all lengths into compatible units.
- Apply the appropriate mathematical formula.
- Calculate the result.
- Verify the result and its units.
For example:
Base a = 15 m
Base b = 9 m
Height h = 6 m
Area:
A = ½(15 + 9) × 6
A = 72
Answer: 72 m²
Trapezoid Calculator Formulas
The following formulas are commonly used in trapezoid geometry.
| Property | Formula |
|---|---|
| Area | A = (a + b)h/2 |
| Perimeter | P = a + b + c + d |
| Height from area | h = 2A/(a + b) |
| Base a from area | a = 2A/h − b |
| Base b from area | b = 2A/h − a |
| Midsegment | m = (a + b)/2 |
| Area using midsegment | A = mh |
| Height of an isosceles trapezoid | h = √[l² − ((a − b)/2)²] |
| Area of an isosceles trapezoid | A = (a + b)√[l² − ((a − b)/2)²]/2 |
Where:
- A = area.
- P = perimeter.
- a, b = parallel base lengths.
- c, d = leg lengths.
- h = perpendicular height.
- m = midsegment.
- l = common leg length of an isosceles trapezoid.
The formulas assume positive dimensions and a valid non-degenerate geometry.
Trapezoid Area Calculator
The area of a trapezoid represents the two-dimensional region enclosed by its four sides.
Trapezoid Area Formula
A = ½(a + b)h
Where:
a = first parallel base.
b = second parallel base.
h = perpendicular height.
Worked Example
A trapezoid has:
Base a = 14 cm
Base b = 8 cm
Height = 6 cm
Area:
A = ½(14 + 8) × 6
A = ½ × 22 × 6
Answer: 66 cm²
Why Does the Formula Work?
The area of a trapezoid equals the average length of its two parallel bases multiplied by the perpendicular height.
Average base length:
(a + b)/2
Therefore:
A = [(a + b)/2]h
This produces the standard trapezoid area formula.
Trapezoid Perimeter Calculator
The perimeter is the total length of the trapezoid’s boundary.
Formula
P = a + b + c + d
Where a and b are the parallel bases, and c and d are the legs.
Worked Example
Given:
Base a = 12 cm
Base b = 8 cm
Leg c = 5 cm
Leg d = 7 cm
Perimeter:
P = 12 + 8 + 5 + 7
Answer: 32 cm
Perimeter is measured in linear units.
Unlike area, perimeter generally cannot be calculated from the bases and height alone.
Trapezoid Height Calculator
If the area and both parallel bases are known, the height can be determined.
Height Formula
Starting with:
A = (a + b)h/2
Multiply by 2:
2A = (a + b)h
Therefore:
h = 2A/(a + b)
Worked Example
Area = 90 m²
Base a = 12 m
Base b = 8 m
Height:
h = 2 × 90/(12 + 8)
h = 180/20
Answer: 9 m
The height is measured perpendicular to the parallel bases.
Finding a Missing Trapezoid Base
When area, height, and one parallel base are known, the other base can be calculated.
Formula for Base a
a = 2A/h − b
Formula for Base b
b = 2A/h − a
Worked Example
Given:
Area = 80 cm²
Height = 5 cm
Base a = 12 cm
Find base b.
b = (2 × 80)/5 − 12
b = 32 − 12
Answer: 20 cm
The resulting base length must be positive.
Trapezoid Midsegment Calculator
The midsegment of a trapezoid joins the midpoints of its legs.
It is parallel to the bases.
Midsegment Formula
m = (a + b)/2
Worked Example
Base a = 18 cm
Base b = 10 cm
Midsegment:
m = (18 + 10)/2
Answer: 14 cm
Area Using Midsegment
Because:
m = (a + b)/2
The area formula becomes:
A = mh
Worked Example
Midsegment = 14 cm
Height = 6 cm
Area:
A = 14 × 6
Answer: 84 cm²
Isosceles Trapezoid Calculator
An isosceles trapezoid has two equal legs.
Its geometric symmetry makes it possible to calculate height from the base lengths and common leg length.
Suppose:
Longer base = a
Shorter base = b
Common leg = l
Height = h
Assume a ≥ b.
Height Formula
The horizontal projection of each leg is:
(a − b)/2
Using the Pythagorean theorem:
l² = h² + [(a − b)/2]²
Therefore:
h = √[l² − ((a − b)/2)²]
Worked Example
Longer base = 14 cm
Shorter base = 8 cm
Equal legs = 5 cm
Horizontal projection:
(14 − 8)/2 = 3 cm
Height:
h = √(5² − 3²)
h = √16
Answer: 4 cm
Area
A = ½(14 + 8) × 4
Area = 44 cm²
Perimeter
P = 14 + 8 + 5 + 5
Perimeter = 32 cm
Right Trapezoid Calculator
A right trapezoid has a leg perpendicular to its parallel bases.
This perpendicular leg equals the height.
Area Formula
A = ½(a + b)h
Sloping Leg Formula
For a right trapezoid with base lengths a and b and height h:
l = √[h² + (a − b)²]
Worked Example
Base a = 12 cm
Base b = 7 cm
Height = 12 cm
Sloping leg:
l = √[12² + (12 − 7)²]
l = √169
Answer: 13 cm
Area:
A = ½(12 + 7) × 12
Area = 114 cm²
Perimeter:
P = 12 + 7 + 12 + 13
Perimeter = 44 cm
Trapezoid Diagonal Calculator
The diagonals connect opposite vertices.
A general trapezoid’s diagonal lengths cannot always be determined from the parallel bases and height alone.
Additional information about the horizontal position of the upper base, leg lengths, or angles may be required.
Coordinate-Based Method
Consider a trapezoid with vertices:
A(0, 0)
B(a, 0)
C(x + b, h)
D(x, h)
The bases AB and CD are parallel.
The diagonal lengths are:
AC = √[(x + b)² + h²]
BD = √[(a − x)² + h²]
Worked Example
Given:
a = 12 cm
b = 8 cm
h = 4 cm
x = 2 cm
Diagonal AC:
AC = √[(2 + 8)² + 4²]
AC = √116
AC ≈ 10.77 cm
Diagonal BD:
BD = √[(12 − 2)² + 4²]
BD = √116
BD ≈ 10.77 cm
In this example, the trapezoid is isosceles, so its diagonals are equal.
Trapezoid Area Using Coordinates
When the vertices are known, the area can be calculated using the shoelace formula.
For a simple quadrilateral with vertices listed consecutively:
(x₁, y₁), (x₂, y₂), (x₃, y₃), (x₄, y₄)
The area is:
A = ½ |Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|
The indexing wraps around to the first vertex.
Worked Example
Consider vertices:
A(0, 0)
B(10, 0)
C(7, 4)
D(2, 4)
The parallel bases have lengths:
AB = 10 units
CD = 5 units
Height = 4 units
Using the trapezoid area formula:
A = ½(10 + 5) × 4
Answer: 30 square units
The shoelace formula gives the same result.
Trapezoid Angles
A trapezoid has four interior angles.
Interior Angle Sum
A + B + C + D = 360°
Because the bases are parallel, the two interior angles along each leg are supplementary.
Therefore:
A + D = 180°
B + C = 180°
For an isosceles trapezoid, the angles adjacent to each base are equal.
Worked Example
Suppose one lower base angle is 70° in an isosceles trapezoid.
The other lower base angle is also 70°.
Each upper base angle is:
180° − 70° = 110°.
The four angles are:
70°, 70°, 110°, 110°.
Their sum is 360°.
Trapezoid vs Parallelogram
A trapezoid and parallelogram are both quadrilaterals.
However, their defining properties differ under the common exclusive American definition of a trapezoid.
| Property | Trapezoid | Parallelogram |
|---|---|---|
| Number of sides | 4 | 4 |
| Parallel sides | One specified pair | Two pairs |
| Area | (a + b)h/2 | bh |
| Perimeter | Sum of four sides | 2(a + b) |
| Equal opposite sides | Not generally | Yes |
| Diagonals bisect each other | Not generally | Yes |
Some mathematical conventions use an inclusive trapezoid definition that also includes parallelograms.
Trapezoid Unit Conversion
Trapezoid measurements involve linear and square units.
Linear Measurements
Bases, legs, height, perimeter, midsegment, and diagonals use linear units.
Examples:
mm, cm, m, in, ft.
Area Measurements
Area is measured in square units:
mm², cm², m², in², ft².
Important Conversion Factors
1 m = 100 cm
1 m² = 10,000 cm²
1 in = 2.54 cm exactly
1 ft = 0.3048 m exactly
1 ft² = 144 in²
Worked Example
A trapezoid has:
Base a = 300 cm
Base b = 200 cm
Height = 150 cm
Convert to metres:
a = 3 m
b = 2 m
h = 1.5 m
Area:
A = ½(3 + 2) × 1.5
Answer: 3.75 m²
Trapezoid Calculator for Civil Engineering
Trapezoid geometry is useful in civil engineering, surveying, construction, architecture, and structural analysis.
Trapezoidal Channel Cross-Sections
Trapezoidal cross-sections are common idealisations in open-channel hydraulics.
The flow area of a trapezoidal section can be calculated from its bottom width, top width, and water depth.
A = ½(b + T)y
Where:
b = bottom width.
T = top width.
y = flow depth.
Actual hydraulic design requires additional calculations, including flow conditions and hydraulic resistance.
Earthwork Cross-Sections
Trapezoidal shapes can represent simplified excavation or embankment cross-sections.
Their areas may be used in earthwork volume estimation.
Road and Embankment Geometry
Trapezoidal sections are used in geometric descriptions of slopes and earthwork profiles.
Structural Cross-Sections
Trapezoidal geometric sections may be used in engineering section-property calculations.
Area is one geometric property; centroid and second moment of area require additional formulas.
Surveying
Trapezoid area formulas can support calculations for suitable four-sided land parcels.
Actual land measurement requires reliable dimensions and boundary geometry.
Construction Quantity Estimation
Trapezoid area calculations may support preliminary estimates of surface finishes, earthworks, and cross-sectional quantities.
Project-specific dimensions and specifications must be considered.
Common Mistakes in Trapezoid Calculations
- Confusing height with a sloping leg: Height must be perpendicular to the bases.
- Using only one base in the area formula: Both parallel bases are required.
- Forgetting to divide by two: Area = (a + b)h/2.
- Confusing area and perimeter: Area uses square units; perimeter uses linear units.
- Assuming equal legs for every trapezoid: This applies to isosceles trapezoids.
- Using the isosceles height formula for a general trapezoid: Additional geometric conditions are required.
- Ignoring invalid dimensions: Measurements must define a valid shape.
- Using inconsistent measurement units: Convert before calculating.
- Confusing the midsegment with a base: The midsegment equals the average of the bases.
- Assuming the diagonals are always equal: Equal diagonals are a property of isosceles trapezoids.
- Rounding too early: Preserve sufficient precision.
- Assuming bases and height uniquely determine all sides: They do not.
Frequently Asked Questions About Trapezoid Calculator
1. What is a Trapezoid Calculator?
A Trapezoid Calculator is a mathematical tool used to calculate geometric properties such as area, perimeter, height, and base dimensions.
2. What is the trapezoid area formula?
A = (a + b)h/2.
3. What is the trapezoid perimeter formula?
P = a + b + c + d.
4. How do you calculate trapezoid height?
h = 2A/(a + b).
5. How do you calculate a missing trapezoid base?
If area, height, and the other base are known:
b = 2A/h − a.
6. What is a trapezoid midsegment?
It is the line segment connecting the midpoints of the two legs.
7. What is the midsegment formula?
m = (a + b)/2.
8. What is an isosceles trapezoid?
An isosceles trapezoid has two equal legs and equal angles adjacent to each base.
9. How do you calculate isosceles trapezoid height?
h = √[l² − ((a − b)/2)²].
10. Can trapezoid area be calculated without leg lengths?
Yes. The parallel bases and perpendicular height are sufficient.
11. Can trapezoid perimeter be calculated from bases and height alone?
Not generally. Additional information is required.
12. Are trapezoid diagonals always equal?
No. The diagonals are equal in an isosceles trapezoid.
13. What is the sum of trapezoid interior angles?
360°.
14. Is a trapezoid the same as a trapezium?
Terminology varies by country and mathematical convention. In British English, trapezium commonly refers to the shape called a trapezoid in American English.
15. Why is trapezoid geometry important in engineering?
Trapezoid geometry is useful in channel sections, earthworks, embankments, surveying, construction, and geometric section calculations.
Learn Trapezoid Geometry with SOCE
The SOCE Trapezoid Calculator page provides clear mathematical formulas, worked examples, and practical explanations for understanding trapezoid geometry.
Use this Trapezoid Calculator resource to study trapezoid area, perimeter, height, parallel bases, midsegment, isosceles trapezoids, and related geometric properties.
Explore additional mathematics and engineering resources through the SOCE Geometry Calculators collection.