molecalculator

Solutions & Concentration

Trapezoid Side Length Calculator

Calculator No. 02-16586 · Updated · Formula and assumptions shown below

Leg length (c) 4.47 m
Leg length (d)
4.47 m
Result, rounded to 2 decimal places
Perimeter
22.94 m
Result, rounded to 2 decimal places
Top base (a)
5 m
Set in the form below
You enter
Top base (a) (m), Bottom base (b) (m), Height (h) (m), Angle at base (degrees) (deg)
You get
Leg length (c) (m), Leg length (d) (m), Perimeter (m)
Rounding
2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator determines the lengths of the two equal legs (non-parallel sides) of an isosceles trapezoid when you provide the top base, bottom base, and height. It also computes the perimeter using the derived leg length. The tool is useful for students checking geometry homework, engineers designing trapezoidal cross-sections, and DIY enthusiasts working on frames or supports.

You enter three values: the top base (a), the bottom base (b), and the height (h). The calculator returns the leg length (c and d, which are equal for an isosceles trapezoid) and the perimeter. The angle at the base is shown for reference but is not used in the calculation.

Formula

For an isosceles trapezoid with bases a (top) and b (bottom), height h, the leg length c = d = sqrt(h2 + ((b-a)/2)2). The angle α is not used in this standard formula; it is provided for reference. Perimeter = a + b + 2c.

Worked Example

The calculator opens with these default values; each step below is computed from the formula.

Step Working Result
1 Top base (a) 5 m
2 Bottom base (b) 9 m
3 Height (h) 4 m
4 Angle at base (degrees) 60 deg
5 Leg length (c) = sqrt(4^2 + ((9-5)/2)^2) 4.47 m
6 Leg length (d) = sqrt(4^2 + ((9-5)/2)^2) 4.47 m
7 Perimeter = 5 + 9 + 2*sqrt(4^2 + ((9-5)/2)^2) 22.94 m

Leg length and perimeter for varying top base a (b=9, h=4)

Top base (a) (m) Leg length (c) (m) Leg length (d) (m) Perimeter (m)
1 5.66 5.66 21.31
2 5.32 5.32 21.63
3 5.00 5.00 22.00
4 4.72 4.72 22.43
5 4.47 4.47 22.94
6 4.27 4.27 23.54
7 4.12 4.12 24.25
8 4.03 4.03 25.06
9 4.00 4.00 26.00
10 4.03 4.03 27.06

How to read this table

The reference tables show how the leg length and perimeter change as one input varies while the other two are held fixed. For example, with a bottom base of 9 m and a height of 4 m, as the top base increases from 1 m to 10 m, the leg length first decreases from 5.66 m to a minimum of 4.00 m (when the top base equals 9 m) and then increases again. The perimeter, however, increases steadily from 21.31 m to 27.06 m over the same range.

In the second table, with a top base of 5 m and a bottom base of 9 m, as the height increases from 1 m to 10 m, both the leg length and the perimeter increase monotonically. For instance, at a height of 4 m the leg length is 4.47 m and the perimeter is 22.94 m, matching the worked example.

Leg length and perimeter for varying height h (a=5, b=9)

Height (h) (m) Leg length (c) (m) Leg length (d) (m) Perimeter (m)
1 2.24 2.24 18.47
2 2.83 2.83 19.66
3 3.61 3.61 21.21
4 4.47 4.47 22.94
5 5.39 5.39 24.77
6 6.32 6.32 26.65
7 7.28 7.28 28.56
8 8.25 8.25 30.49
9 9.22 9.22 32.44
10 10.20 10.20 34.40

When to Use This Calculator

Use this calculator when you know the two parallel sides (bases) and the height of a trapezoid that has equal legs (isosceles). This situation appears in structural design, roof trusses, and simple geometric layouts. The calculator is especially handy when you need to find the slanted side length to cut materials or to compute the perimeter for framing.

It is not suitable for a general (non-isosceles) trapezoid where the legs are different. In that case, you would need additional information such as the two base angles or the length of one leg. The calculator assumes the shape is symmetric about the vertical axis, which is the definition of an isosceles trapezoid.

How to Read the Result

The result gives two identical leg lengths (c and d) and the total perimeter. For an isosceles trapezoid, both legs are equal, so the calculator returns the same value for c and d. The perimeter is the sum of the top base, bottom base, and twice the leg length.

For example, with a top base of 5 m, a bottom base of 9 m, and a height of 4 m, the leg length is 4.47 m and the perimeter is 22.94 m. This matches the worked example. The angle input does not affect the calculation; it is displayed only for completeness, as the standard formula does not require it.

Method by Hand

To compute the leg length of an isosceles trapezoid by hand, follow these steps:

  • Subtract the top base from the bottom base: (b – a).
  • Divide that difference by 2 to get the horizontal offset of each leg from the vertical.
  • Apply the Pythagorean theorem to the right triangle formed by the height and this offset: leg length = sqrt(h² + ((b – a)/2)²).
  • For the perimeter, add the two bases and twice the leg length: P = a + b + 2c.

For instance, with a = 5 m, b = 9 m, and h = 4 m: (9 – 5)/2 = 2 m, then sqrt(4² + 2²) = sqrt(16 + 4) = sqrt(20) ≈ 4.47 m. The perimeter is 5 + 9 + 2(4.47) = 22.94 m.

Common Mistakes

Using the angle incorrectly: The angle at the base is not used in the standard formula. Some users try to incorporate it, but the leg length depends only on the bases and height.

Forgetting to halve the base difference: The horizontal offset is (b – a)/2, not (b – a). Using the full difference will give a larger, incorrect leg length.

Unit inconsistency: Ensure all inputs are in the same unit (e.g., meters). Mixing centimeters and meters will produce wrong results.

Rounding too early: Rounding intermediate values can cause errors. Keep full precision until the final step, then round to a reasonable number of decimal places.

Limits of the Formula

The formula assumes an isosceles trapezoid, meaning the legs are equal and the base angles are equal. If the trapezoid is not isosceles, the formula does not apply, and you need additional data such as the length of one leg or the other base angle.

Also, the formula requires a positive height. If the height is zero, the shape degenerates into a line segment, and the leg length becomes half the difference of the bases. The formula still works mathematically, but the shape is not a trapezoid.

Finally, the angle input is provided for reference only; it does not affect the calculation. If you need to use the angle to find the leg length, you would need a different formula that incorporates the angle, but that is not the standard approach here.

Frequently Asked Questions

Why are the two leg lengths the same?

Because the calculator is designed for an isosceles trapezoid, which by definition has equal legs. The symmetry makes the two slanted sides identical, so the calculator returns the same value for c and d.

What if my trapezoid is not isosceles?

The formula does not apply. For a non-isosceles trapezoid, you need at least one more piece of information, such as the length of one leg or one of the base angles, to determine the side lengths.

Why is the angle input not used?

The standard formula for the leg length of an isosceles trapezoid uses only the bases and the height. The angle is provided for reference, but it is redundant because the height and base difference already determine the shape.

Can I use this for a trapezoid with a top base larger than the bottom base?

Yes, the formula works regardless of which base is larger. The absolute difference is used, so the leg length is always positive. For example, if a = 9 m and b = 5 m, the difference is still 4 m, giving the same leg length.

What units should I use?

Use any consistent unit, such as meters, centimeters, or feet. The calculator will assume all inputs are in the same unit. The results will be in that same unit, and the perimeter will be in linear units.

Method

For each row, compute leg length using c = sqrt(h^2 + ((b-a)/2)^2) and perimeter = a + b + 2c, with other inputs at defaults.

Formula used
in a | Top base (a) | m | 5 | 0
in b | Bottom base (b) | m | 9 | 0
in h | Height (h) | m | 4 | 0
in alpha | Angle at base (degrees) | deg | 60 | 0.1
out side1 | Leg length (c) | m | sqrt(h^2 + ((b-a)/2)^2) | 2
out side2 | Leg length (d) | m | sqrt(h^2 + ((b-a)/2)^2) | 2
out perimeter | Perimeter | m | a + b + 2*sqrt(h^2 + ((b-a)/2)^2) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Solutions & Concentration section →