Last updated: July 31, 2026
Isosceles Trapezoid Calculator
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Formula
height = √(leg² - ((base1 - base2)/2)²), area = ((base1 + base2)/2) × height, perimeter = base1 + base2 + 2leg, diagonal = √(leg² + base1×base2)
Where:
- b₁=Longer base
- b₂=Shorter base
- l=Equal leg length
- h=Height
- d=Diagonal
Worked Examples
Bases 8 and 4 with leg 5
A standard isosceles trapezoid example with an integer offset.
- 1Find the half-base difference: (8-4)/2 = 2.
- 2Compute height = √(25 - 4).
- 3Use the height to get area, then compute perimeter and diagonal.
Bases 12 and 6 with leg 7
A larger trapezoid with the same symmetric construction.
- 1Find the horizontal offset of 3.
- 2Compute height = √(49 - 9).
- 3Use the derived height in the area and diagonal formulas.
Decimal dimensions
The formulas also work for positive decimal side lengths.
- 1Compute the half-base difference of 2.
- 2Evaluate the square-root height expression.
- 3Use the resulting height in area and diagonal.
Impossible height example
If the legs are too short, the height formula goes imaginary and the shape is invalid.
- 1Compute the half-base difference of 2.
- 2Notice the leg is not strictly longer than that offset.
- 3Return an error instead of taking the square root of a negative number.
Introduction
An isosceles trapezoid has equal non-parallel sides and a line of symmetry through the midpoints of the bases. Once you know both bases and one leg, you can recover the height, area, perimeter, and diagonal using a right-triangle decomposition.
Geometry of an Isosceles Trapezoid
Because the legs are equal, each side overhang from the longer base is the same, which makes the shape easy to split into a rectangle and two congruent right triangles.
Two bases are parallel
Legs are equal in length
Diagonals are equal because of symmetry
Finding the Height
Subtract the bases, halve the difference, and use that horizontal offset with the leg as a right triangle.
Offset = (b1 - b2)/2
Height = √(leg² - offset²)
The discriminant must stay positive
The calculator checks the square-root discriminant before attempting Math.sqrt.
Area Formula
Once the height is known, the trapezoid area is the average of the bases multiplied by the height.
Average base = (b1 + b2)/2
Area = average base × height
Area grows with both width and height
Perimeter and Diagonal
Perimeter is immediate from the side lengths, while the diagonal uses a compact identity specific to an isosceles trapezoid.
Perimeter = b1 + b2 + 2leg
Diagonal = √(leg² + b1b2)
Both diagonals have the same length
Validation Rules
The longer base must exceed the shorter base, and the leg must be long enough to create a real positive height.
b1 > b2 > 0
leg > 0
leg must be greater than (b1 - b2)/2
How to Use This Calculator
Enter the longer base, shorter base, and one equal leg. The tool computes the rest of the principal geometry immediately.
Start with the two bases
Add one leg length
Read height first
Use area, perimeter, and diagonal for follow-up design or math checks
Common Applications
Isosceles trapezoid formulas show up in roof framing, bridge cross sections, drafting, and geometry education.
Architectural sketches
Engineering section checks
Classroom geometry problems
Symmetric layout planning
FAQs
Why must base1 be greater than base2?
This calculator labels base1 as the longer base and uses that assumption in the height formula.
Why does the leg need to exceed half the base difference?
Otherwise the right triangle used to form the height has a negative or zero square-root discriminant and cannot produce a valid positive height.
How is the height found?
The shape splits into two congruent right triangles with horizontal leg (b1 - b2)/2 and hypotenuse equal to the trapezoid leg.
Why are both diagonals equal?
The isosceles trapezoid is symmetric, so each diagonal spans the same mirrored geometry.
Can I use decimal lengths?
Yes. Any positive finite decimal values are allowed as long as the base and leg constraints are satisfied.
What if the inputs create an imaginary height?
The calculator returns defaults and an error instead of evaluating the square root of a negative number.
What output is the main result?
Area is marked as the primary result, but height is usually the best first diagnostic value when checking whether the trapezoid is valid.