Skip to content

Excavation volume with sloped sides

The one formula that gets a pit with sloped walls exactly right, and the two shortcuts that do not.

Last updated 29 September 2026

By Calcumetryx Editorial

The short answer
Volume = depth ÷ 6 × (base area + 4 × mid-height area + top area). The mid-height area is the area of the pit measured halfway down. It is exact when the walls slope at the same ratio all round. Averaging the top and the base overstates the volume, and multiplying the base area by the depth understates it, by amounts that are large enough to matter on a bid.
Try it

Your pit, three ways

Enter the bottom of the pit, the depth and the slope. The exact prismoidal volume comes first; beside it, the two shortcuts this guide explains, with how far each one is out for your pit.

Sloped pit
Try an example

Measured at the floor of the pit.

Existing grade to the floor.

Horizontal run per 1 ft of depth, the same on all four sides; 0 or blank is vertical walls. An example value: use your design or the rule that applies to your site.

Exact volume (prismoidal)

Exact volume (prismoidal): 753.1 cubic yards. Bank measure

cubic yards

Bank measure

Section across the width, to scale
40 ft long · batter 1 : 1
50 ft10 ft30 ftEXISTING GRADEBASE
Base area × depth
444.4cu yd−41% against the exact volume: it ignores the laid-back walls.
Average of the end areas × depth
777.8cu yd+3.3% against the exact volume.
Top opening
60ftby 50 ft at grade.
Show the calculation6 steps

The working

  1. Base area = L × W

    = 40 ft × 30 ft

    = 1,200 ft²

  2. Mid area = (L + s·d) × (W + s·d)

    = 50 ft × 40 ft

    = 2,000 ft²

  3. Top area = (L + 2s·d) × (W + 2s·d)

    = 60 ft × 50 ft

    = 3,000 ft²

  4. Exact = d ÷ 6 × (Base + 4 × Mid + Top)

    = 10 ft ÷ 6 × (1,200 + 4 × 2,000 + 3,000)

    = 753.1 cu yd

    The prismoidal formula, exact for a pit battered at one slope all round.

  5. Vertical walls = Base × d

    = 1,200 × 10 ft

    = 444.4 cu yd

  6. Average of ends = (Base + Top) ÷ 2 × d

    = (1,200 + 3,000) ÷ 2 × 10 ft

    = 777.8 cu yd

Open the excavation calculator (circular pits, over-dig, swell, trucks)

The formula

Prismoidal formula

Volume = Depth ÷ 6 × (A_base + 4 × A_mid + A_top)

A_base is the area at the bottom, A_top the area at ground level and A_mid the area at half the depth, all in square feet. Depth in feet gives cubic feet; divide by 27 for cubic yards.

For a rectangular pit with a bottom of L × W and walls sloping at s horizontal per foot of depth, the three areas are:

  • A_base = L × W
  • A_mid = (L + s × Depth) × (W + s × Depth)
  • A_top = (L + 2 × s × Depth) × (W + 2 × s × Depth)

A worked example

Suppose a pit whose bottom is 40 ft by 30 ft, 10 ft deep, with walls sloping at 1 (one foot out for every foot down) on all four sides. The dimensions are inputs to show the method.

StepWorkingResult
Base area40 × 301,200 sq ft
Mid-height area(40 + 1 × 10) × (30 + 1 × 10) = 50 × 402,000 sq ft
Top area(40 + 2 × 1 × 10) × (30 + 2 × 1 × 10) = 60 × 503,000 sq ft
Volume10 ÷ 6 × (1,200 + 4 × 2,000 + 3,000)20,333 cu ft
Cubic yards20,333 ÷ 27753.1 cu yd

The shortcuts, and how far off they are

Three quick answers people use for the same pit:

ShortcutWorkingVolumeVersus the exact figure
Average of the top and base, times the depth(1,200 + 3,000) ÷ 2 × 1021,000 cu ft (777.8 cu yd)+3.3%
Mid-height area times the depth2,000 × 1020,000 cu ft (740.7 cu yd)−1.6%
Base area times the depth (ignores the slope)1,200 × 1012,000 cu ft (444.4 cu yd)−41.0%
Note

Averaging the ends is the common shortcut, and it overstates because the area grows with the square of the distance out from the base, not in a straight line. Ignoring the slope leaves out 309 cubic yards of a pit whose exact volume is 753.

What the slope does to the volume

The same bottom and depth at other slopes:

Side slopeTop of the pitVolumeTimes the vertical-walled pit
Vertical40 × 30 ft444.4 cu yd1.00×
0.550 × 40 ft586.4 cu yd1.32×
160 × 50 ft753.1 cu yd1.69×
1.570 × 60 ft944.4 cu yd2.13×

Which slope a pit needs, or whether it needs shoring instead, depends on the soil and the depth and is a safety decision for the competent person on site. OSHA’s excavation standard, 29 CFR 1926 Subpart P, governs it; this page does not say which slope to use.

A round pit

For a circular pit the same idea gives a frustum of a cone: Volume = π × Depth ÷ 12 × (D₁² + D₁ × D₂ + D₂²), with D₁ the bottom diameter and D₂ the top. A bottom of 20 ft, 8 ft deep at a slope of 1, has a top of 36 ft, so π × 8 ÷ 12 × (20² + 20 × 36 + 36²) = 5,060 cu ft, or 187.4 cubic yards.

After the dig

Everything above is a volume in the ground, a bank volume. The material occupies more room once it is loose in a truck, which is what bank vs loose cubic yards covers, and the swell factor is yours to supply. For a site whose ground is not flat, the cut and fill method handles the surface a single pit formula cannot.

What this leaves out

  • Pits whose sides slope at different ratios, or whose floor is not level: split them into parts, or use the grid method.
  • Over-excavation and working space: measure the bottom you actually dig.
  • Ramps, benches and access cuts, which are extra excavation.
  • Any price. The calculators here take the rate from you.
Sources
  1. 29 CFR 1926 Subpart P — Excavations — Occupational Safety and Health AdministrationSupports: Where the requirements for sloping, benching and protective systems are set out. This page states none of them. · checked 29 September 2026
  2. The prismoidal and frustum volumes are defined by the formulas above — Arithmetic — verifiable by hand; recomputed here from the excavation calculator’s own functionsSupports: Every table. The pit dimensions and slopes are stated inputs, not typical values. · checked 29 September 2026