Earthwork Volume Calculator

Bank, loose and compacted cubic yards for a pit, trench, pad or cut and fill grid, with truck loads, OSHA slope presets and a cost estimate.

1 yd³ = 27 ft³. This tool uses US customary units by default. Switch to metric if needed.

Feet or feet and inches: 12.5, 12' 6", 6 in.

Side slope (H:V)
typical 15–25%
Loose soil per load. Typical 10–20 yd³.

These are typical US ranges. Use geotechnical report values for final design. Loose = bank × (1 + swell %). Compacted = loose ÷ (1 + compaction %).

typical $5–$15 per yd³
typical $20–$80 per yd³

Cost ranges are 2026 US planning averages; confirm with local contractors.

Bank (BCY) 82.67 yd³ → Loose (LCY) 99.20 yd³ → 7 Truck loads

Bank (BCY)
82.67 yd³2,232 ft³
Loose (LCY)
99.20 yd³+20%
Compacted
70.86 yd³40%
Top opening
30 ft × 20 ft600 ft²
Bottom size
18 ft × 8 ft144 ft²
Prismoidal check
77.33 yd³exact formula, a little lower
Truck loads to haul away
7of ⁦15 yd³⁩ each
Weight in the ground
82.7 tons
Estimated total
$5,787$827 + $4,960
Ground Top width: ⁦20 ft⁩ Depth: ⁦6 ft⁩ Bottom width: ⁦8 ft⁩ Slope: ⁦1:1 · 45°⁩ (Type B)

Cut

The average end area formula runs a little high on a steep pit. The exact figure is shown for comparison.

At 5 ft deep or more, OSHA generally requires a protective system (sloping, shoring or a trench box) unless the cut is in stable rock.

Step by step

The working below uses your numbers and updates as you type.

  1. Top: 30 ft × 20 ft, depth 6 ft, slope ⁦1:1 · 45°⁩ (Type B).
  2. Bottom length = 30 ft − (2 × 1 × 6 ft) = 18 ft.
  3. Bottom width = 20 ft − (2 × 1 × 6 ft) = 8 ft.
  4. Bank volume = ((600 ft² + 144 ft²) ÷ 2) × 6 ft = 2,232 ft³.
  5. Convert to yd³: 2,232 ft³ ÷ 27 = 82.67 BCY.
  6. Swell 20%: loose = 82.67 × 1.2 = 99.20 LCY.
  7. Compaction 40%: compacted = 99.20 ÷ 1.4 = 70.86 CY.
  8. Truck loads (15 per load) = ⌈99.20 ÷ 15⌉ = 7.
  9. Cost = excavation $827 + hauling $4,960 = $5,787.

US Earthwork Quick Reference

Soil typeTypical swellTypical excavation cost (2026)
Topsoil15–25%$5–$15/CY
Heavy clay25–40%$15–$35/CY
Weathered or shot rock40–65%$40–$150+/CY
Hauling and disposal–$20–$80/CY

Planning figures, per yd³. Rock runs well above the range on blasted or hard sites.

OSHA Trenching Quick Guide

Soil typeMax slope (H:V)AngleWhat it is
Type A0.75:153°Firm, cohesive soil such as hardpan or tight clay, not fissured or disturbed
Type B1:145°Medium cohesion, such as silt, sandy loam or previously disturbed soil
Type C1.5:134°Loose or wet soil: gravel, sand, soft clay, or soil with water seeping in
Stable rock0:190°Natural solid mineral that stays vertical when cut

The slopes above are the OSHA maximums for excavations under 20 ft deep (29 CFR 1926 Subpart P, Appendix B). A competent person on site classifies the soil.

Trenches 5 ft deep or more need a protective system (sloping, shoring or a trench box) unless they are cut entirely in stable rock. Under 5 ft, a competent person decides. Over 20 ft, a registered professional engineer designs the system.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

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

Formulas and text last checked on 7 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.