How to read the result
- Volume to dig (bank volume): the earth as it lies in the ground, before it is dug. This is the figure for the digging itself and for the hole you end up with. It is the length times the width times the depth when the sides are vertical.
- Volume to haul (loose volume): dug earth is bulkier than the same earth in the ground, because of the air between the pieces. For dry packed earth the swell is 25.0%, so 44.4 yd³ in the ground becomes 55.6 yd³ in the truck. That is the figure for trucks and for the size of the pile.
- Sloped sides: a side slope of 1 means the wall moves out 1 foot for each 1 foot of depth, so the cut is wider at the top than at the bottom. The page shows the length and width at the top and the extra volume that the slope adds.
- Truck loads: the loose volume divided by the load your truck carries, rounded up. The 14 yd³ on the page is an example: enter your own truck.
- What this page does not decide: the page works out quantities only. It does not classify the soil, choose a safe side slope, or decide on shoring, benching or other protection. That is the job of the competent person on site and the rules that apply where you work. In the US those are OSHA 29 CFR 1926 Subpart P. The reference table below shows OSHA’s maximum slopes for orientation only. For fill to bring the ground back up, use the Fill Dirt Calculator.
To price the dig, the haul and the dump fees from your own prices, use the Excavation Cost Calculator. To bring the ground back up after the dig, work out the fill with the Fill Dirt Calculator. If your cut is an odd shape or you have an area and a depth, the Cubic Yard Calculator gives the volume first. This page gives the quantity only: the side slope, shoring and soil class for the cut come from the competent person on site and the rules that apply.
Worked example
A cut 20 ft by 10 ft at the bottom, 6 ft deep, in dry packed earth, with a 14 yd³ truck (your own truck goes here).
- Volume with vertical sides = 20 × 10 × 6 = 1,200 ft³ = 1,200 ÷ 27 = 44.4 yd³ (34.0 m³)
- Loose volume = 44.44 yd³ × (1 + 25.0% swell) = 55.6 yd³ (42.5 m³)
- Truck loads = 55.6 yd³ ÷ 14 yd³ = 4 loads (rounded up)
If the sides are cut back at 1 horizontal to 1 vertical, the top of the cut is 32.00 ft by 22.00 ft. The volume is L·W·D + z·D²·(L + W) + (4/3)·z²·D³ = 20·10·6 + 1·6²·(20 + 10) + (4/3)·6³ = 2,568 ft³ = 95.1 yd³ (72.7 m³), which swells to 118.9 yd³ (90.9 m³) and 9 loads.
A round hole 10 ft across and 6 ft deep with vertical sides is 17.5 yd³. In natural-bed clay (swell 22.0%) the first cut swells to 54.2 yd³ instead of 55.6 yd³.
These are the same numbers the calculator shows when it first loads (vertical sides).
Method and formulas
Vertical sides: volume = length × width × depth · Round hole: volume = π × (diameter ÷ 2)² × depth
Sloped sides, rectangle: V = L·W·D + z·D²·(L + W) + (4/3)·z²·D³ · Top length = L + 2·z·D, top width = W + 2·z·D
Sloped sides, round hole: V = π·D/3 × (r² + r·R + R²), with R = r + z·D
Loose volume = bank volume × (1 + swell) · Swell = 1 ÷ L.F. − 1 · Truck loads = loose volume ÷ truck load, rounded up · 1 yd³ = 27 ft³ = 0.7646 m³
- L, W, D
- Length and width at the bottom of the cut, and depth
- z
- Side slope: horizontal distance for each 1 of depth (0 = vertical sides)
- r, R
- Radius at the bottom and at the top of a round hole
- L.F.
- Load factor: bank volume ÷ loose volume, from the Caterpillar table
Assumptions and limits
- The cut is a plain box (or round hole) with a flat bottom and one uniform side slope on every side; you enter the size of the bottom.
- Bank volume is the volume in the ground before digging; loose volume is the volume after the soil is dug and has swelled.
- Swell comes from the Caterpillar handbook load factor of the chosen soil, or the percentage you type; real swell depends on moisture, grain size and compaction.
- Truck loads divide the loose volume by the truck size you enter and round up.
- A quantity helper, not an excavation safety tool: it does not classify soil, choose a side slope, or decide on shoring, benching or other protective systems. A competent person on site does that under the rules that apply (in the US, OSHA 29 CFR 1926 Subpart P).
- No sloping, benching or shoring verdict; the OSHA maximum slopes are printed only as a labelled reference with their edition, for excavations 20 feet deep or less.
- Plain shapes only: no varying depth, uneven ground, benches, ramps, stepped sides or different slopes on different sides; cut-and-fill balance and unit prices are not included.
- Swell values are planning values; use your geotechnical report or hauler data when you have it.
Reference tables
| Size at the bottom | 3 ft deep | 6 ft deep | 8 ft deep |
|---|---|---|---|
| 10 × 10 ft | 11.1 | 22.2 | 29.6 |
| 20 × 10 ft | 22.2 | 44.4 | 59.3 |
| 30 × 20 ft | 66.7 | 133.3 | 177.8 |
| 40 × 30 ft | 133.3 | 266.7 | 355.6 |
Source: Calculated with the EngiFormula excavation engine (method v1.0). Sloped-side volume is the exact volume of a rectangular frustum (the prismoidal formula is exact for it). 1 yd³ = 27 ft³, from the exact definitions 1 ft = 0.3048 m and 1 yd = 0.9144 m, NIST Special Publication 811 (2008 edition), Appendix B.
| Material | Load factor | Swell | Bank weight | Loose weight |
|---|---|---|---|---|
| Earth, Dry packed | 0.8 | 25.0% | 3,200 (1,900) | 2,550 (1,510) |
| Earth, Wet excavated | 0.79 | 26.6% | 3,400 (2,020) | 2,700 (1,600) |
| Earth, Loam | 0.81 | 23.5% | 2,600 (1,540) | 2,100 (1,250) |
| Clay, Natural bed | 0.82 | 22.0% | 3,400 (2,020) | 2,800 (1,660) |
| Clay and gravel, Dry | 0.85 | 17.6% | 2,800 (1,660) | 2,400 (1,420) |
| Sand and clay, Loose | 0.79 | 26.6% | 3,400 (2,020) | 2,700 (1,600) |
| Sand and gravel, Dry | 0.89 | 12.4% | 3,250 (1,930) | 2,900 (1,720) |
| Sand, Dry, loose | 0.89 | 12.4% | 2,700 (1,600) | 2,400 (1,420) |
Source: Caterpillar Performance Handbook, Edition 50 (form AEXQ3330, © 2021), Section 25 "Elements of Production", pages 25-2 and 25-3 (bank and loose volume, swell, load factor L.F. = 100% ÷ (100% + % swell)) and Tables section "Weight of Materials", page 27-6. Swell here is 1 ÷ L.F. − 1. The handbook says weight varies with moisture content, grain size, degree of compaction, etc.
| Soil or rock | Maximum slope (H : V) | Angle from horizontal |
|---|---|---|
| Stable rock | Vertical | 90° |
| Type A soil | 3/4 : 1 | 53° |
| Type B soil | 1 : 1 | 45° |
| Type C soil | 1 1/2 : 1 | 34° |
Source: U.S. Department of Labor, OSHA, 29 CFR Part 1926, Subpart P, Appendix B (sloping and benching), paragraphs B-1.1 to B-1.3, e-CFR current to 20 October 2026: maximum allowable slopes for simple slope excavations 20 feet or less in depth. Soil is classified by Appendix A. Reference only: this page does not classify soil or decide that a slope is allowed.
Common uses
A foundation or basement
Enter the length and width at the bottom of the cut and the depth. Add a side slope if the walls are cut back, and read the top size to see how much room the cut takes.
A trench for a pipe or a footing
Use the rectangle with the length of the run, the bottom width and the depth. For the pipe that goes in the trench, the Pipe Volume Calculator shows how much it holds.
A pool or a pond
Use the rectangle for a pool, or the round hole for a circular pit. Slope the sides to match the cut.
Planning trucks and the spoil pile
The loose volume is what the trucks carry and what the pile measures. Enter your truck size to see the loads.
Checking a quote
Compare the volume a contractor quotes with the bank volume here, and check whether their price is per bank yard or per loose yard.
Frequently asked questions
How do you calculate excavation volume?
Multiply the length, width and depth of the cut, then divide by 27 to get cubic yards. For a 20 ft by 10 ft cut 6 ft deep that is 1,200 ft³, or 44.44 yd³. If the sides slope, add the volume the slope adds, as shown in the Method section.
What is the swell factor in excavation?
Swell is how much earth grows in volume when it is dug. The Caterpillar Performance Handbook gives a load factor for each material, and the swell is one divided by that factor, minus one. For dry packed earth the load factor is 0.8, a swell of 25.0%. It varies with moisture and grain size, so use your own figure if you have it.
What is the difference between bank volume and loose volume?
Bank volume is the earth in the ground. Loose volume is the same earth after it has been dug, when it takes more room. Use bank volume for the size of the hole and loose volume for trucks and the pile. Check whether a price is per bank yard or per loose yard.
How many truck loads is my excavation?
Divide the loose volume by what one truck carries and round up. At 14 yd³ per truck, 55.6 yd³ is 4 loads. The truck size on the page is an example: ask your hauler what their trucks carry.
How do you calculate the volume of a trench?
Multiply the length of the run by the width at the bottom and by the depth. If the sides are cut back, use the side slope and the sloped-side formula in the Method section. For the same 6 ft depth, a trench 100 ft long and 3 ft wide at the bottom is 66.7 yd³ with vertical sides.
How do sloped sides change the excavation volume?
Sloped sides make the cut wider at the top, so the volume is larger than the vertical-sided volume for the same bottom size. The 20 by 10 ft, 6 ft deep cut goes from 44.4 yd³ to 95.1 yd³ at 1 horizontal to 1 vertical, and the top becomes 32.00 ft by 22.00 ft.
What side slope is allowed for a trench?
This page cannot say. OSHA’s Appendix B to Subpart P sets maximum slopes by soil type for excavations 20 feet or less deep: Type A 3/4 to 1, Type B 1 to 1, Type C 1 1/2 to 1 (see the table above). Which soil type you have, and whether a slope, benching, shoring or a trench box is needed, is for the competent person on site. Sloping or benching for excavations deeper than 20 feet must be designed by a registered professional engineer.
Sources and references
- Caterpillar Inc., Caterpillar Performance Handbook, Edition 50 (form AEXQ3330, © 2021), Section 25 pages 25-2 and 25-3 (bank and loose volume, swell, load factor) and Tables section page 27-6 (weight of materials and load factors).
- U.S. Department of Labor, Occupational Safety and Health Administration, Excavations, 29 CFR Part 1926, Subpart P, Appendix B (maximum allowable slopes B-1.1 to B-1.3), e-CFR current to 20 October 2026. Reference only.
- NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition, Appendix B (exact values for the inch, foot and yard).
- Volume of a box, a cylinder and a frustum: solid geometry, as set out in the Method section above.
About this calculator
Scope and disclaimer
The volume of a plain rectangular or round cut with vertical or uniformly sloped sides, the loose volume after swell and the number of truck loads. Not a safety, soil classification, shoring, cut-and-fill or cost tool.
This calculator gives information and preliminary estimates only. It is not professional design advice and does not replace the governing code, product instructions or a qualified professional's judgement for your project.