Why use our Earthwork Volume Calculator?
- Cubic yards first. It opens in US customary units: feet, square feet and cubic yards, with cubic feet and short tons beside them. A metric switch is one tap away.
- Three methods in one place. Average depth for pads and lots, a grid of cells for cut and fill, and a sloped excavation for basements and pits.
- Bank, loose and compacted together. BCY, LCY and compacted yards sit side by side, so you can see what you dig, what you haul and what you place.
- Typical US swell presets. Topsoil, sandy loam, heavy clay, shot rock and hard rock fill in the middle of their range. You can type your own figure.
- Truck loads and cost. Loads are rounded up from loose yards and your truck size. The cost uses editable 2026 US planning rates per yard.
- OSHA slope presets. Type A, B and C slopes and a vertical wall are one tap. The cross-section shows the slope, its angle and the top opening.
- Feet and inches. Type 12' 6", 12.5 ft or 6 in. The tool reads them the way you write them on site.
- English, Hindi and Urdu, no ads. The Urdu page runs right to left, cross-section labels included. Every result and step is translated.
How to use the Earthwork Volume Calculator
Pick a method. Average depth multiplies an area by a depth. Grid splits the site into cells, each with its own depth, positive for cut and negative for fill. Sloped excavation takes the top length and width, the depth and the side slope, works out the bottom, and averages the top and bottom areas. 1 yd³ = 27 ft³.
Bank, loose and compacted: bank cubic yards (BCY) are the soil in the ground. Digging loosens it, so loose cubic yards (LCY) = BCY × (1 + swell %). Once it is placed and rolled it takes less room again. This tool uses compacted = LCY ÷ (1 + compaction %), so 40% compaction turns 1.20 LCY into 0.86 compacted yards. Pick a soil to start from the middle of its typical US swell, then replace it with the figure from your geotechnical report.
Truck loads and cost: loads = loose yards ÷ truck capacity, rounded up. A truck hauls loose soil, so loose volume is what counts. Cost is your excavation rate times bank yards plus your hauling rate times loose yards. The starting rates are 2026 US planning ranges. Replace them with a local quote.
Safety and sources: OSHA 29 CFR 1926 Subpart P, Appendix B, sets maximum slopes of 3/4:1 for Type A, 1:1 for Type B and 1.5:1 for Type C soil, and asks for a protective system at 5 ft deep or more unless the cut is in stable rock. The sloped method uses the average end area formula. For a steep pit it runs a little above the exact prismoidal result, so the tool shows that figure as a check.
Sloped: bottom length = top length − 2 × slope × depth (same for width) Bank volume = (top area + bottom area) ÷ 2 × depth Average depth: bank volume = area × depth Grid: cut = cells above 0 × cell area, fill = cells below 0 × cell area yd³ = ft³ ÷ 27 Loose = bank × (1 + swell %) Compacted = loose ÷ (1 + compaction %) Truck loads = ⌈loose ÷ truck capacity⌉
Worked example
A pit with a top of 30 ft by 20 ft, 6 ft deep, with 1:1 sides (Type B soil), in topsoil with 20% swell, hauled in 15 yd³ trucks.
Bottom = 30 − (2 × 1 × 6) = 18 ft by 20 − (2 × 1 × 6) = 8 ft. Bank volume = ((600 + 144) ÷ 2) × 6 = 2,232 ft³ = 82.67 BCY. Loose = 82.67 × 1.20 = 99.20 LCY. Loads = ⌈99.20 ÷ 15⌉ = 7.
Good to know
- Swell, compaction and soil weight are typical planning figures. They change with the soil, its moisture and the equipment. Use the values in your geotechnical report for final design.
- The average end area formula runs high on a deep or steep pit. The exact prismoidal figure is shown beside it, and the lower one is the safer number to bid on.
- Cost ranges are 2026 US planning averages per cubic yard. Rock, tight sites, long hauls, dump fees and wage rules move the real price. Confirm with local contractors.
- This tool measures volume. Slopes, shoring and trench boxes are set by OSHA 29 CFR 1926 Subpart P and a competent person on site, not by this page.
Questions people ask
How do I calculate excavation volume and cubic yards of dirt?
Multiply length by width by depth in feet to get cubic feet, then divide by 27. For a pit with sloping sides, average the top and bottom areas and multiply by the depth. A 30 ft by 20 ft pit, 6 ft deep with 1:1 sides, is 2,232 ft³, which is 82.67 yd³.
What is the difference between BCY, LCY and compacted yards?
BCY is bank cubic yards, the soil in the ground. LCY is loose cubic yards, the same soil after digging, larger by the swell. Compacted yards are the volume once it is placed and rolled. Haul by LCY, dig and price excavation by BCY, and order fill by compacted yards.
How many truck loads of dirt will I need?
Divide the loose volume by the truck capacity and round up. A 99.2 LCY job in 15 yd³ trucks is 6.6 loads, so 7. Typical tandem and tri-axle dump trucks carry 10 to 20 yd³, and your hauler knows the real figure.
What slope should I use for a trench or excavation?
Under OSHA, the maximum slope is 3/4:1 for Type A soil, 1:1 for Type B and 1.5:1 for Type C, measured as horizontal run per 1 of depth. Stable rock can be cut vertical. A competent person on site classifies the soil, and trenches 5 ft deep or more need a protective system.
How much does excavation cost per cubic yard?
As 2026 planning figures: common excavation $5 to $15 per yd³, dense clay or hardpan $15 to $35, rock $40 to $150 or more, and hauling and disposal $20 to $80. Real quotes depend on access, distance, dump fees and the soil, so confirm with local contractors.
Can I type feet and inches, or switch to metric?
Yes. Type 12.5, 12.5 ft, 12' 6" or 6 in. The tool opens in US units. The metric button switches the inputs and results to metres and cubic metres and resets the example numbers to a metric size.
Why Cubic Yards Matter
In the US, dirt, gravel, concrete and fill are sold and priced by the cubic yard. Bids, dump tickets and truck capacity are all in yards, so a volume in cubic feet or metres has to be converted before it means anything on a bid sheet.
To compare bids fairly, ask what each one measures. A price per bank yard covers the soil in the ground, a price per loose yard covers what is on the truck, and a price per compacted yard covers what is placed. The same job is about 15% to 40% more yards loose than bank, so a low rate per loose yard can cost the same as a higher rate per bank yard. Put every bid on one basis before you compare.
Worked US Examples
Basement dig, about 500 yd³: a 52 ft by 40 ft excavation, 6.5 ft deep, with shored walls, is 13,520 ft³, which is 500.7 BCY. In common earth at 15% swell that is 575.8 LCY, or 39 loads in 15 yd³ trucks. At $10 per bank yard to dig and $50 per loose yard to haul, the planning cost is about $33,800.
Trench with 1.5:1 slopes: a 1,000 ft trench, 6 ft deep with a 3 ft bottom, has a top width of 3 + (2 × 1.5 × 6) = 21 ft and an average width of 12 ft. Use the average depth method with an area of 12 ft × 1,000 ft = 12,000 ft² and a depth of 6 ft. That is 2,666.7 BCY, or 3,066.7 LCY at 15% swell, which is 205 loads in 15 yd³ trucks.
Pad, 2,000 ft² at 6 in.: 2,000 × 0.5 = 1,000 ft³, which is 37.04 BCY. In topsoil at 20% swell that is 44.4 LCY, so 3 loads in 15 yd³ trucks.
Part of the guide: Building material calculators: concrete, blocks, bricks, flooring and more