CalcTrace

Excavation and Trench Volume Calculator

Work out how much soil comes out of a rectangular pit or a trench, with vertical sides or sides battered back to a slope. You get the bank volume in the ground, the loose volume once it is dug, the compacted fill it would make, and the number of truck loads to cart it away.

Last updated .

What are you digging?

Shape

A pit is battered on all four sides.

m
m
m
Side slope
°

90° is vertical, 45° is 1:1. The safe batter depends on the soil and the depth; it is not set by this calculator.

Bulking, compaction and trucks

Defaults are typical or example values. Use figures for your soil and your trucks where you have them.

%
%
m³

10 m³ is an example. Use the body volume of the truck you will hire, and check it is not over its legal weight before it is full.

Result

QuantityAmount
DimensionValue

Swell and shrinkage vary a lot with the soil and its moisture, so treat the loose and compacted figures as estimates. Sides steep enough to collapse must be shored or battered back as a competent person directs.

Show the working

    Bank, loose and compacted volume

    Earthworks are measured in three states, and mixing them up is the most common cause of a wrong truck or fill order.

    BCM: bank cubic metres
    The volume of soil as it lies undisturbed in the ground, before it is dug. This is the hole you measure, and what excavation is usually priced on.
    LCM: loose cubic metres
    The volume of the same soil once it has been dug and broken up. Air gets in between the lumps, so it takes up more room. Trucks, bins and stockpiles are filled in loose volume. LCM = BCM × (1 + swell).
    CCM: compacted cubic metres
    The volume the same soil occupies after it has been placed and compacted in layers as fill, usually denser than it was in the ground. CCM = BCM × (1 − shrinkage). It is the compacted fill the excavated soil would make.

    How the volume is worked out

    Each battered side steps outwards as it rises. With the slope given as an angle θ measured from the horizontal, or as a ratio of H horizontal to V vertical, the outward step on each side is

    offset = d ÷ tan θ = d × H ÷ V

    where d is the depth. The top of a pit is then the base plus two offsets in each direction:

    Ltop = L + 2 × offset,   Wtop = W + 2 × offset

    A pit with four sloping sides is a prismoid, and its volume is given exactly by the prismoidal formula:

    V = d ÷ 6 × (Abottom + 4 × Amid + Atop)

    Abottom is the base area L × W, Atop the area at ground level, and Amid the area of the horizontal section halfway down, which is (L + offset) × (W + offset). Note that Amid is not the average of the top and bottom areas. A trench is treated as battered on its two long sides with vertical ends, so its top length stays L and the formula reduces to the cross-section times the length, L × d × (W + offset). A vertical side has an offset of zero, and both shapes become a plain box, L × W × d.

    LCM = BCM × (1 + sw),   CCM = BCM × (1 − sc),   loads = ⌈LCM ÷ truck capacity⌉

    sw is the swell and sc the shrinkage, both as fractions. Loads are rounded up because a part load still needs a truck.

    Worked example: a 10 m × 6 m pit, 2 m deep, at 45°

    1. Offset. tan 45° = 1, so each side steps out 2 ÷ 1 = 2 m.
    2. Top size. 10 + 2 × 2 = 14 m by 6 + 2 × 2 = 10 m.
    3. Areas. Bottom 10 × 6 = 60 m². Halfway down, 12 × 8 = 96 m². Top 14 × 10 = 140 m².
    4. Bank volume. 2 ÷ 6 × (60 + 4 × 96 + 140) = 2 ÷ 6 × 584 = 194.67 m³ (BCM).
    5. Loose volume. With 25% swell, 194.67 × 1.25 = 243.33 m³ (LCM).
    6. Compacted fill. With 10% shrinkage, 194.67 × 0.9 = 175.2 m³ (CCM).
    7. Trucks. 243.33 ÷ 10 = 24.33, rounded up to 25 loads.

    The same pit with vertical sides would be only 10 × 6 × 2 = 120 m³, so the batters add 74.67 m³, more than 60% extra. A trench 20 m long, 0.6 m wide and 1.5 m deep with vertical sides is 20 × 0.6 × 1.5 = 18 m³ BCM, 22.5 m³ loose and 16.2 m³ compacted, and 22.5 ÷ 10 = 2.25 means 3 loads. Battered at 60° instead, each side steps out 1.5 ÷ tan 60° = 0.866 m, the top is 2.332 m wide, and the trench holds 20 × 1.5 × (0.6 + 0.866) = 43.98 m³, well over double.

    Reading the result and common mistakes

    Averaging the end areas. Taking (Abottom + Atop) ÷ 2 × d is quicker but overstates a pit with sloping sides. For the example pit it gives (60 + 140) ÷ 2 × 2 = 200 m³, 5.33 m³ more than the prismoidal answer. The gap grows with deeper pits and flatter batters.

    Angle or ratio. Batters are quoted both ways. 1:1 is 45°; 1.5:1 (H:V) is about 33.69°; 60° is about 0.577:1. A batter described as "1 in 2" can mean either 1 vertical in 2 horizontal or the reverse, so confirm which before you enter it.

    Swell and shrinkage are soil-specific. The 25% and 10% defaults are only typical starting points. Clay and broken rock generally bulk more than sand, and wet soil behaves differently from dry. A geotechnical report or the earthworks contractor will have better figures for your site. The load factor 1 ÷ (1 + swell) converts back: at 25% swell, 1 loose m³ holds 0.8 m³ of bank soil.

    Working the other way. To make a known volume of compacted fill, divide by (1 − shrinkage) to find the bank soil needed: 100 m³ compacted at 10% shrinkage needs 100 ÷ 0.9 = 111.11 m³ of bank soil.

    Trucks fill by weight as well as volume. A truck is limited by its legal mass as well as its body size. Dense, wet soil may reach the weight limit before the body is full, so the real number of loads can be higher.

    What this does not cover. Irregular ground, a sloping site, working space around footings and over-excavation are not included; add them as separate pieces or allowances. Trench safety is governed by local work health and safety rules, and the batter angle or shoring must suit the soil.