What is an excavation calculator?

An excavation calculator works out how much earth a dig will produce before the first bucket bites. You give it the shape and size of the hole, and it turns those into the two numbers earthworks actually run on: the bank volume (the earth in the ground) and the loose volume (the same earth after digging, swollen with air), plus the truck loads the loose volume makes and what removing it might cost. Digging looks easy to estimate because a hole is just length x width x depth, but the classic failure is just as regular: pricing and trucking the hole's neat volume, then watching the pile grow a quarter bigger than the hole it came out of.

This page counts the way earthworks contractors count. It measures the neat excavation, applies the soil swell you set — sand barely bulks, clay bulks a lot — and rounds the truck loads up, because a part load still makes the trip and still gets billed. It works in metres and cubic metres or in feet and cubic yards, the two dialects earthworks are priced in.

One honest boundary up front: every volume on this page is an estimate for planning. The geometry is exact, but swell is a property of your soil on your day — its type, moisture and how it is dug. The calculator also assumes vertical sides; deep or soft-ground excavations are often sloped back for safety, which changes the volume a great deal, and excavation safety itself is a matter for regulations and supervision, not a web page.

How this excavation calculator works

Quick answer: Enter the shape and its dimensions, set the soil swell for your ground, and enter your truck's capacity. The calculator multiplies length x width x depth (or pi x radius squared x depth for a round hole) for the bank volume, adds the swell for the loose volume, and divides by the truck size for loads. A 10 m x 0.6 m x 1.2 m trench is 7.2 cubic metres bank, 9.0 loose at 25% swell — 2 loads in a 6 cubic metre truck.

The three shapes cover most small earthworks: the trench for pipes, cables, drainage and strip foundations; the rectangular pit for foundations, tanks and basements; and the round hole for posts, piles and soakaways. Everything downstream of the shape — swell, loads, cost — is the same machinery, because a cubic metre of clay behaves like a cubic metre of clay whatever shape it was dug from.

The maths, worked step by step

Every figure on this page reduces to four lines:

bank volume = length x width x depth for a trench or pit, or pi x (diameter / 2)^2 x depth for a round hole.
loose volume = bank volume x (1 + swell / 100).
truck loads = CEILING(loose volume / truck capacity).
removal cost = loose volume x rate per cubic unit, when a rate is entered.

Worked through for the trench: 10 x 0.6 x 1.2 = 7.2 cubic metres bank. At 25% swell, 7.2 x 1.25 = 9.0 cubic metres loose. In a 6 cubic metre truck, 9.0 / 6 = 1.5, rounded up to 2 loads. In Excel, with length in B2, width in B3, depth in B4 and swell as a decimal in B5: =B2*B3*B4*(1+B5) gives the loose volume directly. Test any sheet against the known case before trusting it: 10, 0.6 and 1.2 at 25% swell must return 9.0 loose.

Bank, loose and compacted: the three volumes

The same earth has three different volumes in its life, and most earthworks confusion is two of them being mistaken for each other. Bank volume is earth in place, undisturbed — the size of the hole, and the measure most excavation work is priced by. Loose volume is earth after digging: broken up, full of air gaps, typically 10-40% bigger. It is the volume that fills trucks and makes piles, so it is the measure haulage runs on. Compacted volume is earth put back and rolled or rammed into place — usually slightly less than the bank volume it came from, because compaction squeezes out air that even undisturbed ground contains.

This calculator works with the first two, because they decide the questions a small job actually asks: how big is the dig, how many trucks, what will removal cost. The third matters when the earth goes back — a pipe trench, a backfilled foundation — and the guide returns to it below, because it explains the otherwise baffling fact that a refilled hole can swallow its own spoil and still want more, or leave a mound that settles for a year.

Swell by soil type

Swell is not one number; it is a property of the material. Dense, well-graded soils that sit tight in the ground and fall apart into lumps — clay above all — bulk the most. Loose, single-sized materials like sand were never compacted much to begin with, and bulk the least. These are typical published ranges, offered as planning figures, not measurements of your ground:

Soil / materialTypical swell rangePlanning figure
Sand10-15%12%
Gravel15-20%18%
Loam15-25%20%
Topsoil20-30%25%
Clay30-40%35%
Blasted / broken rock50-65%60%

One more honesty note: published swell tables genuinely disagree with each other — some references put sand as high as 20-30% where others say 10-15% — because swell depends on how the material is dug, handled and measured, not just what it is. The ranges above are the conservative planning set; if your hauler works to different figures from experience on your ground, theirs win.

Two cautions belong with the table. Moisture moves the real figure: dry, dusty soil bulks differently from the same soil wet, and saturated clay adds a second problem — weight. A truck limited to, say, 10 tonnes can be legally full of wet clay well before its body looks full, so on heavy ground the loads from this calculator are a minimum, set by volume, and the weight limit may bite first. And mixed ground — topsoil over clay is the classic — is honestly two materials: run the layers separately, as the FAQ suggests, rather than averaging a swell that describes neither.

Shapes: trenches, pits and round holes

The trench is a long box: its volume is dominated by its length, which is why a modest trench out-digs a respectable pit — the 10 m example here produces more earth than a 3 m x 2 m foundation pit half as deep again. Measure a trench by its total run, including any branches at their own widths, and to the formation depth, not the pipe depth: the dig goes below the pipe for its bedding. The rectangular pit is the same box at different proportions — foundations, septic tanks, lift pits, small basements. The round hole is a cylinder, and its trap is the square: doubling a hole's diameter quadruples its volume, so a "slightly bigger" post hole is four times the digging and four times the spoil.

All three shapes here have vertical sides and flat bottoms — the neat excavation. Real excavations add working space around a structure (often 300-600 mm a side to fit formwork and people) and sometimes sloped sides. If your dig needs working space, add it to the length and width before entering them, and say so in your notes; the calculator will happily measure the bigger box, but it will not guess it for you.

Truck loads: why the loose volume decides

Trucks are filled with loose earth, so loads are counted from the loose volume — the single most common earthworks ordering error is dividing the bank volume by the truck size and under-ordering by exactly the swell. At 25% swell that is one missing load in every four, discovered with a pile still on the ground and the last truck gone. Loads are always rounded up: 1.5 loads is 2 trips, and the part load costs much like a full one, which is why the removal cost in this calculator is charged on the whole loose volume rather than per load.

Capacity means the truck's struck (level) volume, not a heaped guess. Small tippers carry about 3-4 cubic metres, mid-size trucks 6-8, and large tippers 10 or more (roughly 4, 8-10 and 13+ cubic yards). If your contractor quotes by the load, the honest comparison between quotes is the loose volume divided by each truck's real capacity — this calculator's loads figure with each capacity entered in turn. For the concrete that may replace the earth, the Concrete Volume Calculator measures the same shapes from the filling side.

Worked examples

The table below uses this calculator's own method — bank volume, swell applied, loads rounded up — so every row can be reproduced above in seconds. Loads are for a 6 cubic metre truck.

JobBank volumeSwellLoose volumeLoads
Drainage trench 10 m x 0.6 m x 1.2 m (topsoil)7.20 cu m25%9.00 cu m2
Foundation pit 3 m x 2 m x 1.5 m (clay)9.00 cu m35%12.15 cu m3
Post hole 0.9 m diameter x 1.2 m deep0.76 cu m25%0.95 cu m1
Basement dig 6 m x 4 m x 1.8 m (topsoil)43.20 cu m25%54.00 cu m9

Check the foundation pit by hand, because it is the row people disbelieve: 3 x 2 x 1.5 = 9.0 cubic metres in the ground, but clay at 35% swell makes 9.0 x 1.35 = 12.15 loose, and 12.15 / 6 = 2.03 loads — which rounds up to 3 trucks, not 2. The third truck comes almost entirely from the swell: priced on bank volume alone, this dig looks like a load and a half. The basement row shows the same effect at scale: the swell adds 10.8 cubic metres — nearly two extra truckloads that exist only because the earth was dug.

Backfill: the volume that shrinks back

Not all excavated earth leaves the site. Pipe trenches, foundation sides and service ducts are refilled with their own spoil, compacted in layers — and compacted earth usually ends slightly smaller than the bank volume it came from. The practical consequences run both ways. A trench refilled with its own spoil typically needs roughly its bank volume of loose earth returned — the pipe itself displaces some, so a modest surplus is normal — and a refilled excavation that is finished dead level on day one will often settle into a shallow depression over the following months as the fill consolidates, which is why experienced crews crown a backfilled trench slightly high.

For removal planning, the honest method is: loose volume to haul = total loose volume − loose volume that will go back. Run this calculator for the whole dig, then subtract the backfill portion (the trench's volume minus the pipe's displacement, at the same swell) to get the surplus that actually needs trucks. For the crew doing the digging and refilling, the Labour Cost Calculator prices the labour side of the same job.

What this calculator leaves out

  • Sloped, stepped or benched sides. All shapes are vertical-sided. A 45-degree batter on a deep pit can nearly double its volume; if your dig is battered, measure it as a series of boxes or take professional advice.
  • Working space. Room around a structure for formwork, waterproofing and people is not added unless you add it to the dimensions yourself.
  • Weight. Volumes only — no tonnes. Wet clay at roughly 1.8-2 tonnes per loose cubic metre can reach a truck's weight limit before its volume limit.
  • Groundwater, rock and obstructions. Pumping, breaking and hand-digging around services change cost and time, not the neat volume, and are outside this estimate.
  • Safety and disposal law. Trench support, safe angles of repose, and where excavated material may legally go are regulated locally and are not advice this page gives.

None of this makes the estimate useless — it makes it an estimate. Measure the neat dig honestly, use the swell for your actual soil, and the loads figure will land close enough to plan trucks and budgets around.

Sources & References

Every figure in this guide was calculated with this page's own method and rounding, so you can reproduce each one exactly by entering the same numbers above.