Start calculating

Backfill Calculator

Last reviewed: November 17, 2026. Formulas checked against standard industry conversions. How we calculate.

Last reviewed: November 17, 2026. Formulas checked against standard industry conversions. How we calculate.

Quick answer: A 100 ft trench 2 ft wide and 3 ft deep needs 600 cu ft of backfill — 22.22 cu yd. With a 10% compaction allowance that is 24.44 cu yd to order, 36.67 tons of gravel, or 1,320 bags of 0.5 cu ft.

Use this free backfill calculator to work out how much material you need to fill a trench, foundation or hole. Enter the length, width and depth, add a compaction allowance and pick the backfill material, and it gives you the volume in cubic feet and cubic yards, the volume to order, the weight in tons, and the number of bags.











Backfill is the material you put back into a trench or hole after the work is done. Measure the length, width and depth in feet, multiply them for cubic feet, then divide by 27 for cubic yards. Because backfill settles and compacts, order extra — usually about 10% — so the finished fill ends up level.

How backfill is calculated

  1. Measure the space to fill: length, width and depth in feet.
  2. Cubic feet: length × width × depth.
  3. Cubic yards: cubic feet ÷ 27, because one cubic yard is 27 cubic feet.
  4. Cubic yards to order: cubic yards × (1 + compaction % ÷ 100). A 10% compaction allowance turns 22.22 cu yd into 24.44 cu yd to order.
  5. Weight in tons: cubic yards to order × material density in tons per cubic yard. Use the table below for typical densities.
  6. Bags: cubic yards to order × 27 ÷ 0.5, rounded up — each bag holds 0.5 cubic feet.

Worked examples

Example 1 — a long utility trench. A trench 100 ft long, 2 ft wide and 3 ft deep, backfilled with gravel, with a 10% compaction allowance. Cubic feet = 100 × 2 × 3 = 600 cu ft. Cubic yards = 600 ÷ 27 = 22.22 cu yd. Cubic yards to order = 22.22 × 1.10 = 24.44 cu yd. Weight = 24.44 × 1.50 = 36.67 tons. Bags = 24.44 × 27 ÷ 0.5 = 1,320 bags.

Example 2 — a foundation trench. A trench 50 ft long, 3 ft wide and 4 ft deep, backfilled with sand, with a 15% compaction allowance. Cubic feet = 50 × 3 × 4 = 600 cu ft. Cubic yards = 600 ÷ 27 = 22.22 cu yd. Cubic yards to order = 22.22 × 1.15 = 25.56 cu yd. Weight = 25.56 × 1.40 = 35.78 tons. Bags = 25.56 × 27 ÷ 0.5 = 1,380 bags.

Backfill material reference table

Typical densities and the jobs each material suits best.

MaterialDensity (t/yd³)When to use it
Gravel1.50Drainage layers, trench bedding and under slabs, where water needs to drain away.
Sand1.40Bedding pipes and cables, and fine levelling where a smooth, even fill is needed.
Crushed stone1.45Structural backfill, driveways and load-bearing fill that must lock together and stay put.
Native soil1.35General backfill when the soil you dug out is clean, free of rubble and suitable to reuse.

Frequently asked questions

How much backfill do I need for a trench?

Multiply the trench length × width × depth in feet for cubic feet, then divide by 27 for cubic yards, then add a compaction allowance — usually 10%. For example, a 100 × 2 × 3 ft trench is 600 cu ft, or 22.22 cu yd, and 24.44 cu yd to order with a 10% allowance.

What is a compaction allowance?

A compaction allowance is the extra material you order because backfill settles and compacts after it is placed. Loose fill takes up more space than the same material once it is tamped down, so ordering about 10% extra keeps the finished surface level.

How many tons of backfill per cubic yard?

It depends on the material: gravel weighs about 1.50 tons per cubic yard, crushed stone about 1.45 tons, sand about 1.40 tons and native soil about 1.35 tons per cubic yard. Multiply the cubic yards to order by the density to get the weight in tons.

Can I backfill with the soil I dug out?

Yes, if the soil is clean, free of rubble, roots and organic matter, and not too wet or too clay-heavy. Use the Excavation Calculator to work out how much soil you dug out, and compare it with the backfill volume. For structural loads or drainage, a proper aggregate such as gravel or crushed stone is usually better.

How much does backfill settle?

Backfill typically settles by about 10% as it compacts, which is why this calculator adds a compaction allowance. Loose soil settles more than compacted aggregate, and poorly compacted fill can keep settling for months. Compact in layers to keep settlement even.

Should I compact backfill in layers?

Yes. Place backfill in layers of about 6–8 inches and compact each layer before adding the next. Filling a trench in one deep lift leaves soft spots that settle later and can crack paving or slabs above.

Related calculators: Excavation Calculator, Gravel Calculator.

Ready to calculate?

Start with your measurements and get a material estimate in seconds.

Explore all calculators