Trapezoidal Prism Volume Calculator (yd³) for Ditches and Berms
Two widths, a depth and a length — cubic yards out.
Measure the trapezoid
Volume: 27.78 yd³ · 750 ft³ · 21.24 m³
Uneven depth, extra and material
Boxes take feet-inches like 2' 6" or a unit like 4 in. Side slope 2 means 2 ft across for every 1 ft up or down.
Exact: 27.77777778 yd³
How it’s calculated
Every step uses the numbers you entered above.
Trapezoid area: (top + bottom) ÷ 2 × depth
Volume: area × length
Cubic yards: ft³ ÷ 27
Extra, tons or bags
Trapezoidal prism volume formula
A trapezoidal prism volume calculator uses one formula: volume = (a + b) ÷ 2 × h × L. Here a and b are the two parallel sides of the trapezoid at the end. h is the straight-up distance between them, and L is the length of the prism.
In plain steps, average the two widths and multiply by the height. That gives the area of the end. Then multiply the end area by the length.
Take a trough 6 ft across the top, 2 ft across the bottom, 3 ft deep and 50 ft long. The end area is (6 + 2) ÷ 2 × 3 = 12 sq ft. The volume is 12 × 50 = 600 ft³, which is 22.22 cubic yards.
Two mistakes cause most wrong answers:
- Using the sloped side as the height. Measure h straight up, square to the two parallel sides, not along the slanted face.
- Mixing inches and feet. Put every measurement in the same unit before you multiply.
How to calculate cubic yards of a trapezoid area
Cubic yards are cubic feet ÷ 27, so for a trapezoid-shaped yard, bed or patio, multiply the area by the depth in feet and divide by 27. The area is (long side + short side) ÷ 2 × the distance between those two sides.
Say a bed has parallel sides of 30 ft and 18 ft that sit 10 ft apart. The area is (30 + 18) ÷ 2 × 10 = 240 sq ft. Filled 4 inches deep, that is 240 × 4/12 = 80 ft³, or 2.96 cubic yards.
Use the Flat area setting in the calculator above for this kind of job. Type the depth with its unit, like 4 in, and it does the conversion for you.
Trapezoidal ditch and trench volume with side slopes
A ditch with sloped sides is a trapezoidal prism lying on its back: top width, bottom width and depth make the end, and the run is the length. Find the end area, multiply by the length, and you have the dirt that comes out.
Side slopes are written as horizontal to vertical. A 2:1 slope moves 2 ft across for every 1 ft down. So the top width is the bottom width + 2 × slope × depth. A V-ditch works the same way with a bottom width of 0.
| Ditch | Top | Yd³/100 ft |
|---|---|---|
| V-ditch, 2:1, 1 ft deep | 4 ft | 7.41 |
| 2 ft bottom, 2:1, 1 ft deep | 6 ft | 14.81 |
| 2 ft bottom, 3:1, 1.5 ft deep | 11 ft | 36.11 |
| 4 ft bottom, 2:1, 2 ft deep | 12 ft | 59.26 |
| 4 ft bottom, 3:1, 2 ft deep | 16 ft | 74.07 |
Dug dirt fluffs up once it leaves the ground. In an FHWA earthwork example, 1 cubic yard in the cut takes about 1.25 cubic yards of truck space. The 22.22 yd³ trough above would haul as about 27.78 yd³.
If the trench is for a drain pipe and gravel, the French drain gravel calculator handles the stone, pipe and fabric.
When the ditch gets deeper along its length
For a ditch that deepens along its run, work out the end area at each end, average the two, and multiply by the length. This is the average end area method used for road earthwork, and it runs slightly high. It also covers a prism whose two ends are different sizes.
Take a 100 ft ditch with a 2 ft bottom and 2:1 sides. It is 1 ft deep at one end and 2 ft deep at the other. The end areas are 4 sq ft and 12 sq ft. The average is 8 sq ft, so the volume is 8 × 100 = 800 ft³, or 29.63 cubic yards.
In the calculator above, open “Uneven depth, extra and material” and pick Changes. For a long run with many dips, measure a cross-section every so often and repeat the step for each stretch.
Berm volume in cubic yards
A straight berm is a trapezoidal prism sitting on the ground, so its volume is (base width + top width) ÷ 2 × height × length. The base is usually the number you do not know yet, and the side slope sets it.
For a guide on shape, NRCS diversion ridges use a top at least 3 ft wide and sides no steeper than 2:1. Where farm equipment has to cross them, the sides go no steeper than 5:1.
Here is a berm 4 ft high with a 3 ft top and 2:1 sides. The base is 3 + 2 × 2 × 4 = 19 ft. The end area is (19 + 3) ÷ 2 × 4 = 44 sq ft. A 100 ft berm holds 4,400 ft³, or 162.96 cubic yards.
Loose fill shrinks when it is packed into a berm. FHWA puts the shrink for moderate soil at 10 to 25 percent, so order extra. With 15 percent extra the order is about 187.4 cubic yards. At the 2,000 lb per yard the calculator uses for fill dirt, that is roughly 187 tons, though wet dirt weighs more.
Trapezoidal footing volume
A tapered footing uses the same formula, with the bottom width, the top width and the thickness as the end. Multiply that end area by the length of the footing.
Take a footing 2 ft wide at the bottom, 1 ft wide at the top and 1.5 ft thick, running 30 ft. The end area is (2 + 1) ÷ 2 × 1.5 = 2.25 sq ft. The volume is 2.25 × 30 = 67.5 ft³, or 2.5 cubic yards.
In 80 lb bags at 0.60 ft³ each, that is 113 bags before any extra. At that size most people order ready-mix instead. The concrete calculator covers slabs, ready-mix orders and waste.
Trapezoidal prism volume FAQ
Is a pit that slopes on all four sides a trapezoidal prism?
No. A pond or pit with four sloped sides narrows in both directions, so it is a frustum, or a flat-topped pyramid. Use the pyramid volume calculator with a flat top for that shape.
How do I find the square yards of a trapezoid?
Add the two parallel sides, divide by 2, and multiply by the distance between them, all in feet. Then divide the square feet by 9 to get square yards.
How do I turn square yards into cubic yards?
Multiply the square yards by the depth in feet and divide by 3. For example, 27 sq yd at 4 inches deep is 27 × 0.333 ÷ 3 = 3 cubic yards.
What if the sides of my area are not parallel?
Split the area into a trapezoid plus triangles or rectangles, work out each piece, and add them up. You can also average several widths. The irregular shape calculator adds the pieces for you.