SpoilStack/Free toolsRev 2026-11-04·After the bid · Before closeout
Calculator

Backfill and Compaction Calculator

How many loose cubic yards to order so the hole is full after compaction. Enter the void dimensions (or a known volume), pick the fill material, and see the loose quantity to order plus delivery loads. The calculator accounts for both swell (loose expansion) and shrink (compaction reduction) so you do not come up short.

Loading calculator…

The math, shown transparently

No black box. Here is exactly what the calculator computes. The key insight: you need more loose material than the void because loose material compacts down.

// Void volume. The hole you need to fill.

void_ft³ = length × width × depth (imperial)

void_yd³ = void_ft³ / 27

void_m³ = length × width × depth (metric)

void_yd³ = void_m³ / 0.9144³ (NIST yd to m)

// Loose yards to order. One FHWA row: compacted ÷ loose weight.

fill_factor = compacted_lb_per_yd³ / loose_lb_per_yd³

loose_yd³ = void_yd³ × fill_factor

// Delivery loads. Always rounds up.

loads = ceil(loose_yd³ / truck_capacity_yd³)

Worked example

A 10 ft × 10 ft × 10 ft void backfilled with loam, delivered in a 12 yd³ tandem dump:

void_ft³ = 10 × 10 × 10 = 1000 ft³

void_yd³ = 1000 / 27 = 37.04 yd³ compacted

fill_factor = 3,520 / 2,070 = 1.700 (FHWA loam, dry)

loose_yd³ = 37.04 × 1.700 = 62.98 yd³

loads = ceil(62.98 / 12) = ceil(5.25) = 6 loads

Compare this to ordering the void volume (37.04 / 12 = 4 loads). You would come up short. The compaction factor matters.

How compaction factors work

Earthwork has three volume states. Understanding all three is essential for ordering the right quantity of backfill material.

  • Bank (in-place): The undisturbed volume in the ground. This is what you measure from plans or survey. It is the baseline, factor 1.0.
  • Loose (excavated/delivered): When material is dug up or dumped from a truck, it occupies more space than bank because air gets between particles. In FHWA’s loam row it weighs 3,030 lb per yd³ in place and 2,070 lb loose.
  • Compacted (placed and rolled): When material is placed in lifts and compacted, it shrinks below its loose volume and often below the original bank volume. FHWA’s loam row puts compacted fill at 3,520 lb per yd³.

The hole you fill is measured as compacted yards, so the order is loose = void × compacted weight ÷ loose weight, both from the same FHWA row (1.70 for loam). Taking swell from one table and shrink from another mixes two different in-place weights and comes out short.

Special case: rock. FHWA’s Exhibit 5.1 A has two swell columns, and rock reads differently in each. Swell from bank to loose: limestone 63%, granite 72% and riprap rock 72%. Compacted into a fill, rock still ends up bigger than it was in the bank (limestone +36%, granite +43% and riprap rock +43%), so its shrink is negative. Rock is not a preset here: pick Other material and enter the swell and a negative shrink. For limestone that is 63 and -36, which orders 1.20× the hole, matching FHWA’s compacted ÷ loose weight (3,220 ÷ 2,690 = 1.20). FHWA: “Factors subject to ±33% variation.”

Sources and assumptions

  • Swell is Caterpillar’s bank weight divided by its loose weight for the same material, from Material Density Tables to Help Estimate Earthwork Volumes (archived copy): common earth (dry packed) 25%, loam 24%, topsoil 44%, sand (dry) 13%, sand (wet) 13%, gravel (dry) 12%, gravel (wet) 12%, clay (dry) 24%, clay (wet) 25%. Cat notes weight varies with moisture, grain size, and compaction.
  • Backfill (loose yards per compacted yard) is one row’s compacted weight divided by its loose weight, from FHWA’s Federal Lands design manual, Earthwork Design, Exhibit 5.1 A (archived copy): loam 3,520 ÷ 2,070 = 1.70, topsoil 3,280 ÷ 1,620 = 2.02, sand (dry) 3,240 ÷ 2,590 = 1.25, gravel (dry) 3,570 ÷ 2,730 = 1.31, gravel (wet) 3,570 ÷ 3,290 = 1.09, clay (dry) 3,570 ÷ 2,150 = 1.66. FHWA says the factors are subject to ±33% variation, are for roadway embankments (they include minor waste), and that project testing comes first. It has no usable row for common earth (dry packed), sand (wet) and clay (wet), so you enter shrink for those. (FHWA prints a wet sand row, but its cells contradict each other: its pound and kilogram weights disagree, and it shows loose sand heavier than in place.)
  • Rock and mixed debris are not presets: pick Other material and enter the swell and shrink from your own numbers. For reference, FHWA’s Exhibit 5.1 A (archived copy) weighs rock in place, loose and compacted in a fill, in lb per yd³: limestone 4,380, 2,690 (63% swell), 3,220 (36% bigger than in place); granite 4,540, 2,640 (72% swell), 3,170 (43% bigger than in place); riprap rock 4,500, 2,610 (72% swell), 3,150 (43% bigger than in place). FHWA: “Factors subject to ±33% variation.” Caterpillar’s Performance Handbook, Edition 49, p. 30-6 weighs broken rock loose and in the bank, in lb per yd³: limestone, broken 2,600, 4,400 (69% swell); granite, broken 2,800, 4,600 (64% swell). So rock swell runs limestone 63 to 69%, granite 64 to 72% and riprap rock 72% (Cat has no riprap row).
  • 10-wheeler (tandem dump) 12 yd³. TxDOT: usually 12 or 14 yd³. Uses 12. Source: TxDOT Seal Coat and Surface Treatment Manual, Haul Trucks.
  • Tri-axle dump 16 yd³. Load King: 16 to 19 yd³ for a 16 to 18 ft body. Uses 16, the low end. Source: Load King tri-axle dump body specs (Custom Truck One Source).
  • Other trucks have no default; enter your bed size. For reference: belly dump 22 yd³ (Trail King bottom dump specs); belly dump 27 yd³ on a 40 ft tandem-axle trailer (MAC Bullet bottom dump flyer); semi end dump 29.0 yd³ with a 32 ft tub (Load King RH3229 end dump specs (archived)).

Frequently asked questions

What is the difference between swell and shrink in earthwork?

Swell is the expansion that happens when you dig material out of the ground. Loose dirt takes up more space than in-place bank dirt because air gets in. Shrink is the reduction that happens when you compact material back into a hole. Compacted fill is denser than the original bank state. They are independent measurements, not inverses of each other.

Why do I need more loose material than the hole I am filling?

Loose material has air gaps between particles. When you compact it with a roller or plate, those gaps close and the volume shrinks. If you only order the same volume as the void, you will come up short after compaction. The calculator accounts for both the swell (loose expansion) and the shrink (compaction reduction) to tell you exactly how much to order.

Where do the compaction factors come from?

From FHWA’s Federal Lands design manual (Exhibit 5.1 A), which lists each material’s weight in place, loose, and compacted into a fill. Loose yards per compacted yard is the compacted weight divided by the loose weight from the same row, so both come from one source. FHWA’s own worked example for earth works out to 1.47 to 1.92 loose yards per compacted yard. Its factors are for roadway embankments and can vary by a third, so use your compaction spec or soils report when you have one. FHWA has no usable row for common earth (dry packed), sand (wet) and clay (wet), so for those you enter a shrink.

Can I use this for gravel base under a slab?

Yes. Pick gravel (dry or wet). From FHWA’s table you order 1.31× the hole for dry gravel and 1.09× for wet, against 1.66× for dry clay and 1.70× for loam, so gravel takes less extra. For crushed stone base sold by the ton, the gravel and aggregate calculator weighs a finished depth at its compacted density.

Does the calculator account for subgrade preparation?

No. This calculator tells you how much fill material to order for a given void. It does not account for subgrade preparation, overexcavation, moisture conditioning, or lift thickness requirements. Those are site-specific decisions for your geotechnical engineer or spec.

Related free tools