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

Creators
Dharmendra SinghReviewers
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Formula
Area = (base1 + base2) / 2 × height, Perimeter = base1 + base2 + leg1 + leg2
Where:
- b_1=First parallel base(units)
- b_2=Second parallel base(units)
- h=Height(units)
- l_1=First leg(units)
- l_2=Second leg(units)
Worked Examples
Area and full perimeter with legs
Include both non-parallel sides to get both outputs.
- 1Average the bases: (8 + 5)/2 = 6.5.
- 2Multiply by height: 6.5 × 4 = 26.
- 3Add all sides for perimeter: 8 + 5 + 3 + 3 = 19.
Area only without legs
Optional side lengths can be left blank.
- 1Average the bases: (10 + 6)/2 = 8.
- 2Multiply by the height: 8 × 5 = 40.
- 3Because legs are not provided, perimeter is shown as 0.
Decimal dimensions
The formula works with precise measurements too.
- 1Compute the mean base: (7.5 + 4.25)/2 = 5.875.
- 2Multiply by height: 5.875 × 3.2 = 18.8.
- 3Add all sides for perimeter: 7.5 + 4.25 + 2.8 + 3.1 = 17.65.
Reject a zero base
A trapezoid cannot have a non-positive base length.
- 1The calculator requires positive base lengths.
- 2base₁ = 0 fails the geometry check.
- 3An error is returned instead of a numeric result.
Introduction
The Irregular Trapezoid Area Calculator finds area from the two parallel bases and the height between them. If you also know the two non-parallel legs, it can report the full perimeter in the same step. This makes it convenient for geometry practice, construction sketches, and layout checks where only a few key measurements are available.
Formula used for area
A trapezoid’s area is the average of the two parallel bases multiplied by the height.
Add the two base lengths.
Divide by two to get the average base.
Multiply by the perpendicular height.
Keep all length units consistent.
The result is in square units.
When perimeter can be computed
Perimeter needs all four side lengths, so the optional leg inputs determine whether a full boundary can be shown.
Both legs must be provided to compute full perimeter.
If legs are omitted, perimeter is returned as 0.
Positive leg lengths are added directly.
The two bases are always part of the perimeter.
This avoids implying unknown side lengths.
Understanding the inputs
The two bases must be parallel, and height must be the perpendicular distance between them.
base1 is one parallel side.
base2 is the other parallel side.
height is not the same as a slanted leg.
leg1 and leg2 are optional side lengths.
Decimals are acceptable for all measurements.
Validation rules
The calculator checks that the required geometric dimensions are positive numbers before any output is produced.
base1 must be greater than 0.
base2 must be greater than 0.
height must be greater than 0.
Missing required inputs trigger an error.
Optional legs that are missing are treated as unavailable.
How to read the outputs
Area is the primary output, while perimeter is either fully computed or left as 0 when the side data is incomplete.
Area measures enclosed surface.
Perimeter measures total boundary length.
A 0 perimeter means the optional legs were not both provided.
Rounded values make reporting easier.
The two outputs can support different design decisions.
Useful applications
Trapezoid measurements appear in drafting, land measurement, and classroom geometry.
Roof and framing sketches.
Irrigation or channel cross-sections.
Plot and walkway layout checks.
Homework and exam review.
Fabrication and cut-sheet planning.
Common mistakes to avoid
Most wrong answers come from mixing up height with a slanted side or assuming unknown legs.
Using a leg instead of the true height.
Entering negative lengths.
Expecting full perimeter without both legs.
Mixing units across measurements.
Averaging bases after multiplying instead of before.
FAQs
What formula does this calculator use?
It uses A = (base1 + base2)/2 × height for area, and adds all four sides for perimeter when both legs are available.
Do I need the legs to compute area?
No. Area only needs the two parallel bases and the height.
Why is perimeter sometimes 0?
Perimeter is set to 0 when the optional leg lengths are not both provided, so the calculator does not guess missing sides.
Can I enter decimals?
Yes. Decimal lengths are supported and rounded to six decimals in the outputs.
What is the height of a trapezoid?
Height is the perpendicular distance between the two parallel bases, not the slanted side.
Can optional legs be different lengths?
Yes. An irregular trapezoid often has unequal legs, and the calculator handles that normally.
What happens if a base is zero or negative?
The calculator returns an error because a valid trapezoid needs positive base lengths and positive height.