Right Trapezoid Calculator - Sides, Diagonals, and Angles

Use this right trapezoid calculator to find area, perimeter, median, both diagonals, and base angles from the four side lengths in any linear unit.

Updated: June 16, 2026 • Free Tool

Right Trapezoid Calculator

Length of the longer parallel side of the right trapezoid.

Length of the shorter parallel side of the right trapezoid.

Length of the leg perpendicular to both bases; equal to the trapezoid height.

Length of the leg that is not perpendicular to the bases. The calculator checks that this matches the Pythagorean prediction.

Linear unit used for every input and result. The area is reported in this unit squared.

Results

Calculated Area
0
Perimeter 0
Median (midsegment) 0
Diagonal p (long) 0
Diagonal q (short) 0
Acute base angle delta 0deg
Obtuse base angle gamma 0deg
Side consistency check 0

What Is the Right Trapezoid Calculator?

A right trapezoid calculator is a focused tool that takes the four side lengths of a right trapezoid and returns its area, perimeter, median, both diagonals, and base angles in real time, plus a Pythagorean side consistency check.

  • Construction and renovation: Estimate the area, perimeter, and diagonal spans of ramps, deck landings, or stair returns where one side drops straight down and the other slants.
  • Roof and floor plans: Check the floor area, mid-rafter length, and rafter diagonal of a room with one slanted wall, a dormer, or a shed roof panel.
  • Homework and material estimation: Verify a worked solution from all four side lengths, or size drywall, pavers, or countertop material for a trapezoidal layout.

The right trapezoid is the everyday shape on ramps, plots of land, and hipped roof cross-sections. The perpendicular leg makes two corner angles 90 degrees, the slanted leg creates an acute and an obtuse angle, and the two diagonals cut across from opposite corners.

If you want a shorter form that asks for the two bases and the height, the original Right Trapezoid Calculator is the closest peer and uses the same unit selector.

How the Right Trapezoid Calculator Works

The right trapezoid calculator takes the two bases a and b, the right-angle leg c, the slant side d, and the unit, and applies the area, perimeter, median, both diagonals, and base angle formulas in real time. It also runs a Pythagorean check between c, d, and the base difference so you can tell at a glance whether the four sides actually form a closed right trapezoid.

A = (a + b) * c / 2 | m = (a + b) / 2 | P = a + b + c + d | d = sqrt((a - b)^2 + c^2) | p = sqrt(a^2 + c^2) | q = sqrt(b^2 + c^2) | delta = atan(c / |a - b|)
  • a, b: Lengths of the longer and shorter parallel bases.
  • c: Right-angle leg, equal to the trapezoid height.
  • d: Slant side. Compared with the Pythagorean prediction sqrt((a - b)^2 + c^2).
  • p, q: Two diagonals; p = sqrt(a^2 + c^2), q = sqrt(b^2 + c^2).

If you only have the slant side d and the base difference, recover the height c with c = sqrt(d^2 - (a - b)^2). The side consistency check reports the absolute difference between the d you typed and the Pythagorean prediction.

Worked example: deck landing

a = 10 ft, b = 6 ft, c = 4 ft, d = 5.657 ft

A = 32; m = 8; P = 25.657; p = 10.770; q = 7.211; delta = 45 degrees

Area = 32 ft squared, perimeter = 25.657 ft, median = 8 ft, diagonals 10.770 and 7.211 ft, base angles 45 and 135 degrees.

The 32 square feet sets the flooring order, the 25.657-foot perimeter sets the trim, and the 8-foot median confirms the area because A = m * c = 8 * 4 = 32.

According to Wikipedia (Trapezoid article), the area of a trapezoid equals the average of the two parallel bases multiplied by the height, A = (a + b) * h / 2, and the midsegment joining the midpoints of the legs has length m = (a + b) / 2.

According to Omni Calculator - Right Trapezoid, a right trapezoid with bases 10 and 6, height 4, and slant side 5.657 gives an area of 32 square units, a perimeter of 25.657 units, a median of 8 units, an acute angle of 45 degrees, and an obtuse angle of 135 degrees.

Because the right-angle leg c, the slant side d, and the base difference (a - b) form a right triangle inside the trapezoid, the Right Triangle Calculator is a quick way to verify any of those three values against the Pythagorean theorem.

Key Right Trapezoid Concepts

A few short definitions make every result easier to interpret. Once these click, the formulas stop feeling abstract.

Right trapezoid

A trapezoid with two adjacent right angles. The leg between them is perpendicular to both bases and equals the trapezoid height, while the other leg is the slant side.

Bases and legs

The two parallel sides of any trapezoid are called bases (a and b). The two non-parallel sides are legs. In a right trapezoid, one leg is perpendicular to the bases and the other is the slant side.

Median (midsegment)

The median m of a trapezoid is the line that joins the midpoints of the two legs. It is parallel to the bases and its length is m = (a + b) / 2, so the area can also be written as A = m * c.

Diagonals and Pythagorean consistency

The two diagonals p and q join opposite corners. Each diagonal forms a right triangle with c and one base, so p = sqrt(a^2 + c^2) and q = sqrt(b^2 + c^2). The slant side d must also satisfy d = sqrt((a - b)^2 + c^2), and the calculator reports the difference so you can spot measurement errors.

When the two bases are equal the right trapezoid becomes a rectangle, the slant side equals c, the two diagonals are equal at sqrt(a^2 + c^2), and both non-right base angles settle at 90 degrees.

When you only have the two bases and the height and do not need the diagonals, the Right Trapezoid Area Calculator returns area, perimeter, slant side, and base angles from one fewer input.

How to Use the Right Trapezoid Calculator

Enter the four side lengths, pick the unit, and the calculator updates every result the moment you change a value.

  1. 1 Enter base a: Type the length of the longer base into the first box. Use any positive number in your chosen unit.
  2. 2 Enter base b: Type the length of the shorter top base. It can be zero for a right triangle, equal to a for a rectangle, or any value in between.
  3. 3 Enter side c: Type the length of the leg that meets both bases at 90 degrees. In a right trapezoid this is also the trapezoid height.
  4. 4 Enter side d: Type the length of the slant side. The calculator will compare it with the Pythagorean prediction sqrt((a - b)^2 + c^2) and show the difference in the result panel.
  5. 5 Pick the linear unit: Select the unit you are measuring in, such as cm, m, in, ft, or yd. The area is reported in this unit squared automatically.
  6. 6 Read the result panel: The black card shows the area. The grey rows show the perimeter, median, both diagonals, the two base angles, and the Pythagorean consistency check.

For a tapered concrete pad that is 14 ft along the long base, 8 ft along the short base, 5 ft tall on the perpendicular leg, and 7.810 ft along the slant side, enter a = 14, b = 8, c = 5, d = 7.810, set the unit to ft, and read 55 ft squared directly.

When you want to double-check that the slant side d, the right-angle leg c, and the base difference (a - b) really do form a Pythagorean triple, the Pythagorean Triples Calculator lists all integer triples up to a chosen leg length and confirms the right triangle fits.

Benefits of Using the Right Trapezoid Calculator

The right trapezoid calculator is built so you do not have to re-derive the area, median, both diagonals, Pythagorean height, or base angle formulas every time you measure a real shape.

  • All four sides at once: Type the two bases, the perpendicular leg, and the slant side in one form, and the tool returns area, perimeter, median, both diagonals, and both base angles in the same pass.
  • Pythagorean sanity check: The result panel flags the difference between the slant side you typed and the Pythagorean prediction, so a wrong measurement is obvious before you commit to a material order.
  • Diagonals included: The longer and shorter diagonals are reported alongside the area and perimeter, which is useful for diagonal bracing, joist spans, and fencing where the slant side does not cover the longest reach.
  • Real-time feedback: Every keystroke updates the result card, so you can experiment with different base, height, and slant-side combinations to compare layouts without reloading the page.

The unit you pick lines up with the next step in the workflow: ft readings feed form-board and drywall estimates, m readings work for flooring takeoffs, cm readings fit scale drawings and craft templates.

When the two bases are equal, the right trapezoid collapses into a rectangle with diagonals p = q, and the Length Width Area Rectangle Calculator gives you the same area and diagonal in one input row.

Factors That Affect Right Trapezoid Results

A few small decisions in the inputs and the geometry can change the final number more than you would expect.

Order of the two bases

The area, perimeter, and median are symmetric in a and b, so the two bases can be entered in either order. The acute base angle, the slant side, and the two diagonals use the absolute base difference.

Which leg is the height

Side c must be the leg perpendicular to both bases, not the slant side and not the longer diagonal. Using the slant side as c overstates the area, the median, and the diagonals because c is the height by definition in a right trapezoid.

Unit consistency

All four linear inputs must be in the same unit. Mixing inches and feet in the same form gives a result that is wrong by a factor of 12 in the linear outputs and 144 in the area output.

  • This calculator assumes a right trapezoid with the leg c perpendicular to both bases. A general trapezoid without a right angle needs a different height input.
  • When the two bases are equal, the acute base angle becomes 90 degrees; the result still reads 90 in the panel, but the formula uses a separate branch to avoid a divide by zero error.

If you are not sure that the height you measured is the perpendicular height, sketch the shape and confirm that the right angle is at the leg you typed into the c box.

According to Wolfram MathWorld, the two diagonals of a right trapezoid run between opposite vertices and have lengths p = sqrt(a^2 + c^2) and q = sqrt(b^2 + c^2), where c is the right-angle leg perpendicular to the two parallel bases.

When the shorter base b is zero, the right trapezoid becomes a right triangle with diagonal q = c and diagonal p = sqrt(a^2 + c^2), and the Triangle Calculator solves the same three side lengths and the hypotenuse without the trapezoid wrapper.

Right trapezoid calculator showing area, perimeter, median, both diagonals, and base angles from four sides
Right trapezoid calculator showing area, perimeter, median, both diagonals, and base angles from four sides

Frequently Asked Questions

Q: What is a right trapezoid?

A: A right trapezoid is a four-sided shape with one pair of parallel sides (the bases) and a leg that is perpendicular to both bases. The perpendicular leg creates two right angles, an acute base angle at the slant side, and an obtuse base angle on the opposite corner.

Q: How do I use a right trapezoid calculator?

A: Enter the longer base a, the shorter base b, the right-angle leg c, and the slant side d in the same unit, then read the area, perimeter, median, both diagonals, base angles, and Pythagorean consistency check from the result panel. The values update the moment you change any input.

Q: How do I find the diagonals of a right trapezoid?

A: The longer diagonal p runs from one end of the longer base to the opposite end of the shorter base, and equals sqrt(a^2 + c^2). The shorter diagonal q runs from one end of the shorter base to the opposite end of the longer base, and equals sqrt(b^2 + c^2). The calculator shows both diagonals in the result panel so you can size diagonal bracing directly.

Q: What is the formula for the area of a right trapezoid?

A: The area of a right trapezoid is A = (a + b) * c / 2, where a and b are the two parallel bases and c is the perpendicular height. Because c is also the right-angle leg, you do not need trigonometry to read the height off a drawing.

Q: How do I find a missing side of a right trapezoid?

A: Use the Pythagorean relation c^2 + (a - b)^2 = d^2 to recover the missing side from the other three. If you have a, b, and d, solve c = sqrt(d^2 - (a - b)^2). If you have a, c, and d, solve b = a - sqrt(d^2 - c^2) for the shorter base. Enter any three sides and the calculator will flag the Pythagorean check on the fourth.

Q: How do I verify four sides close into a right trapezoid?

A: Plug the four sides into d_pred = sqrt((a - b)^2 + c^2) and compare with the d you measured. The calculator reports the absolute difference between d and d_pred as the side consistency check. A small number (under 0.01 in your unit) means the four sides are consistent; a large one means a measurement error or a shape that is not a right trapezoid.