The trapezoidal prism calculator works out the volume and surface area of a solid whose cross section is a trapezoid and which is the same shape all the way along its length. That shape is everywhere once you start looking for it: drainage channels and irrigation ditches, road embankments, retaining wall footings, hopper chutes, roof dormers, timber wedges and the classic swimming pool with a sloping floor.
Arb Digital publishes it as part of a free geometry library that already covers the two-dimensional trapezoid and several other prisms. This page is the three-dimensional case specifically: it takes the cross-section dimensions, extrudes them along a length, and reports volume, lateral area and total surface area together rather than making you assemble them from separate tools.
What This Trapezoidal Prism Calculator Does
You give it the two parallel sides of the trapezoid, the perpendicular height between them, and the length of the prism. It returns the volume as the headline figure, plus the cross-section area, the cross-section perimeter, the lateral surface area and the total surface area.
The two slanted legs matter only for surface area, never for volume, so the tool computes them for you when the trapezoid is isosceles and lets you type them in when it is not. It also checks that the legs you type can actually close the shape, and says so plainly when they cannot rather than silently returning a number for an impossible solid.
Where the boundary sits with our other tools is worth stating. The trapezoid calculator handles the flat two-dimensional figure on its own. The triangular prism calculator and the rectangular prism calculator take the same extrusion idea with a triangular or rectangular cross section. This page is only the trapezoidal cross section in three dimensions.
How to Use It
- Measure the two parallel sides of the cross section and enter them as a and b. Which is longer does not matter to the arithmetic.
- Measure the perpendicular height h between those two sides. Hold the tape square to both, not along the slope.
- Enter the prism length L — the distance the cross section runs.
- Choose isosceles or custom legs. Isosceles computes both slanted sides for you from a, b and h.
- Pick a unit so the areas and volume are labelled correctly, then read the four supporting figures.
The Formula
A prism of any cross section has volume equal to the area of that cross section times the perpendicular length, which Wolfram MathWorld states simply as V = Ah in its entry on the prism. The area of a trapezoid is half the sum of the two parallel sides times the perpendicular height, given by MathWorld as A = ½(a+b)h on its trapezoid page. Putting the two together:
V = ½(a + b) × h × L
The surfaces split into two ends and four sides. The two trapezoidal ends contribute 2A. The four rectangular faces — one for each edge of the cross section — contribute the perimeter times the length, so the lateral area is (a + b + c + d) × L and the total surface area is 2A + (a + b + c + d) × L.
Work the default values through by hand. With a = 10, b = 6 and h = 4, the cross-section area is ½ × 16 × 4 = 32. Times a length of 15, the volume is 480. For the isosceles case the legs are √(4² + 2²) = √20 ≈ 4.4721, so the perimeter is 10 + 6 + 2 × 4.4721 ≈ 24.9443, the lateral area is 24.9443 × 15 ≈ 374.16, and the total surface area is 64 + 374.16 ≈ 438.16. Those are exactly the numbers the calculator loads with.
Why the Legs Do Not Affect Volume
This surprises people, and it is worth being clear about. Two trapezoids with the same parallel sides and the same perpendicular height have the same area no matter how far the top is offset sideways — one may be symmetric and the other sharply skewed, and their areas are identical. That is Cavalieri's principle in two dimensions: slice both shapes with horizontal lines and each pair of slices has the same length.
Because volume is area times length, the same holds for the prism. Skewing the cross section changes both leg lengths, changes the lateral surface area, and leaves the volume untouched. If you are ordering concrete for a channel you need only a, b, h and L. If you are ordering liner, sheet steel or paint, the legs suddenly matter a great deal, which is why the tool reports lateral area separately.
When the Legs You Enter Cannot Close
Not every combination of numbers describes a real trapezoid. Each leg has to span the height h vertically plus some horizontal offset, so a leg shorter than h is geometrically impossible. Beyond that, the two horizontal offsets must add up to the difference between the parallel sides: √(c² − h²) + √(d² − h²) has to equal |a − b| for a convex trapezoid.
The calculator tests both conditions and tells you which one failed. It still reports the volume in that case, because the volume depends only on a, b, h and L and is perfectly well defined, but it withholds the surface figures rather than adding up faces that cannot meet. A near miss usually means one measurement was taken along the wrong line; a large mismatch usually means the shape is not actually a trapezoid.
Right Prisms, Oblique Prisms and Which Length to Use
The formula V = AL assumes the length is measured perpendicular to the cross section. That is a right prism, and it covers almost every practical case. If the solid leans — an oblique prism, where the two trapezoidal ends are offset sideways from each other — the volume is still the cross-section area times the perpendicular distance between the ends, not the slant distance along the leaning axis.
Using the slant length in an oblique prism overstates the volume, and the error grows quickly with the lean. The lateral faces of an oblique prism are parallelograms rather than rectangles too, so the surface area formula above no longer applies without adjustment. If your solid leans, measure the true perpendicular length and treat the surface figures here as an approximation only.
The Degenerate Cases and What They Tell You
Two special cases are worth trying deliberately, because they are the fastest way to check that you have entered the numbers in the right boxes. Set a equal to b and the trapezoid becomes a rectangle: the legs collapse to exactly h, the cross-section area becomes a × h, and the whole solid is an ordinary rectangular box. If your answer does not match what the rectangular prism calculator gives for the same three dimensions, one of your inputs is in the wrong field.
Set b to zero and the trapezoid degenerates to a triangle with base a and height h. The area formula halves cleanly to ½ah, and the solid becomes a triangular prism. That gives you a second independent cross-check, and it also explains why the trapezoid formula is often taught as the general case that contains both the rectangle and the triangle as limits. The calculator refuses a zero here rather than silently switching shapes, because a zero side is usually a typing slip rather than an intentional triangle, but you can enter a very small value to watch the numbers converge on the triangular answer.
The third degenerate case is a zero length, which produces a flat trapezoid with no volume at all. The tool reports a written message in each of these situations instead of printing a zero or a blank, so you always know whether you are looking at a real result or a collapsed one.
Practical Measuring Notes
For a channel or ditch, the two parallel sides are the width at the top and the width at the bottom, and the height is the depth measured vertically. For a roof or embankment section it is often easier to measure the two slope lengths and the two widths and derive h, since a vertical measurement in the middle of a batter is awkward to take accurately.
Keep every input in the same unit; the tool cannot detect a mixed set, and mixing centimetres with metres is the fastest route to an answer that is out by a factor of a hundred or a million. If you need to convert first, the cross-sectional area calculator and the surface area calculator are useful companions for checking one part of the shape in isolation.
Arb Digital builds fast, accurate free calculators that earn organic traffic and keep visitors on the page. Browse the library, or tell us what your audience keeps searching for.
Browse Free Tools Talk to Arb DigitalCommon Mistakes to Avoid
- Using a slanted side as the height. The height is the perpendicular gap between the two parallel sides and is always the shorter measurement.
- Mixing units — centimetres for the cross section and metres for the length gives an answer wrong by a factor of a hundred.
- Adding the two parallel sides without halving them, which doubles the cross-section area and the volume with it.
- Counting the two trapezoidal ends once instead of twice in the total surface area.
- Using the slant length on an oblique prism instead of the perpendicular distance between the ends.
Related Free Tools From Arb Digital
Use the trapezoid calculator for the flat cross section on its own, the triangular prism calculator or the rectangular prism calculator for the other two common extrusions, the cube calculator for the simplest case of all, and the surface area to volume ratio calculator once you have both figures. The free online tools hub lists every geometry tool we publish.
Frequently Asked Questions
Half the sum of the two parallel sides, times the perpendicular height between them, times the length of the prism. In symbols, V equals one half of a plus b, times h, times L.
No. Volume depends only on the two parallel sides, the perpendicular height and the length. The slanted legs change the surface area but never the volume, because a skewed trapezoid has the same area as a symmetric one with the same parallel sides and height.
The perpendicular distance between the two parallel sides. It is not the length of a sloping side and it is not the length of the prism. Measuring along a slope is the most common source of an inflated answer.
Each leg is the square root of the height squared plus half the difference of the parallel sides squared. The calculator does this for you when you choose the isosceles option.
The area of the four rectangular faces around the sides, excluding the two trapezoidal ends. It equals the perimeter of the cross section multiplied by the length of the prism.
Because a leg must be at least as long as the height, and the horizontal offsets implied by the two legs must add up to the difference between the parallel sides. If either condition fails, no real trapezoid has those measurements.
The volume does, provided you enter the perpendicular distance between the two ends rather than the slant distance. The surface area formula assumes rectangular side faces, so it is only an approximation when the prism leans.