Concrete calculator
Backfill Calculator
This backfill calculator works out how much fill a trench, foundation gap, retaining wall or pit needs, in cubic yards and approximate tons. Enter length, width and depth, and the result includes an allowance for compaction and settling. Backfill that settles after the job leaves a dip you have to come back and fix, so the allowance is part of the order.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
Estimate cost (optional)
Backfill required
Exact amount
1.48 cu yd
With 10% waste Recommended
1.63 cu yd
Cubic feet
40.00
Approx. weight
2.20 tons
Uses a 100 lb/ft³ loose-fill baseline, which is 2,700 lb (1.35 tons) per cubic yard. The weight is worked out on the volume after the compaction/settling allowance.
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Volume = Length × Width × Depth; Order volume = Volume × (1 + allowance); Weight = Order volume × Density
Worked example. A 20 ft trench, 2 ft wide, backfilled 12 in deep: 20 × 2 × 1 = 40 cu ft, about 1.48 cu yd. With 10% extra, order about 1.63 cu yd, roughly 2.20 tons.
A 20 ft trench that is 2 ft wide and backfilled 12 inches deep needs about 1.48 cubic yards (40 cubic feet), or 1.63 cubic yards with 10% extra for compaction and settling, roughly 2.2 tons at 100 lb per cubic foot. The formula is length x width x depth in feet, divided by 27.
How to use the backfill calculator
- Enter the length of the trench or gap, in feet. For a foundation, use the perimeter.
- Enter the width of the trench or gap, in feet. Convert inches first: 18 inches is 1.5 ft.
- Enter the depth to be refilled, in inches. A 3 ft depth is 36 inches, and 8 ft is 96 inches.
- Keep the 10% allowance for compaction and settling, or change it.
- Read the result in cubic yards and tons. Subtract any buried structure's volume yourself.
Backfill formula
Volume (cu ft) = Length (ft) × Width (ft) × [Depth (in) ÷ 12]
Volume (cu yd) = Volume (cu ft) ÷ 27
Order volume = Volume × (1 + allowance)
Weight (lb) = Order volume (cu ft) × Density (lb per cu ft)
Other cases use the same idea:
| Situation | How to calculate |
|---|---|
| Straight trench | Length × Width × Depth |
| Foundation edge | Perimeter × Gap width × Depth |
| Behind a retaining wall | Wall length × Fill width × Fill height |
| Pit with something buried in it | Pit volume − Structure volume |
| Round hole | π × radius² × Depth |
| Sections of different depth | Calculate each section, then add them |
Worked examples
1. A 20 ft trench, 2 ft wide, backfilled 12 inches deep (the calculator's default inputs)
- Volume: 20 × 2 × (12 ÷ 12) = 40 cubic feet = 1.48 cubic yards
- With 10% extra: 40 × 1.10 = 44 cubic feet = 1.63 cubic yards
- Weight: 44 × 100 = 4,400 lb = 2.20 tons
2. A utility trench, 50 ft long, 18 inches wide and 3 ft deep
- Width: 18 ÷ 12 = 1.5 ft. Depth: 3 ft = 36 inches.
- Volume: 50 × 1.5 × 3 = 225 cubic feet = 8.33 cubic yards
- With 10% extra: 247.5 cubic feet = 9.17 cubic yards
- Weight: 24,750 lb = 12.38 tons
3. Around a foundation, 140 ft of perimeter, a 3 ft gap and 8 ft deep
- Volume: 140 × 3 × 8 = 3,360 cubic feet = 124.4 cubic yards
- With 10% extra: 3,696 cubic feet = 136.9 cubic yards
- Weight: 369,600 lb = 184.8 tons
- The 3 ft gap is an example, sloped excavation sides usually make the real gap wider than a rectangle, so measure the widest points.
4. Drainage fill behind a retaining wall, 30 ft long, 1 ft wide and 3 ft high
- Volume: 30 × 1 × 3 = 90 cubic feet = 3.33 cubic yards
- With 10% extra: 99 cubic feet = 3.67 cubic yards
- Weight: 9,900 lb = 4.95 tons
5. A 10 × 12 ft pit, 4 ft deep, with a 6 × 8 × 4 ft vault inside
- Pit: 10 × 12 × 4 = 480 cubic feet
- Vault: 6 × 8 × 4 = 192 cubic feet
- Backfill: 480 − 192 = 288 cubic feet = 10.67 cubic yards
- With 10% extra: 11.73 cubic yards, or about 15.8 tons
- A buried structure takes the space the soil used to fill, that is why you subtract it.
Backfill per 100 feet of trench
Cubic yards for every 100 linear feet, before the 10% allowance. Multiply by 1.10 to add it.
| Trench width | 2 ft deep | 3 ft deep | 4 ft deep | 6 ft deep |
|---|---|---|---|---|
| 1 ft | 7.41 | 11.11 | 14.81 | 22.22 |
| 1.5 ft | 11.11 | 16.67 | 22.22 | 33.33 |
| 2 ft | 14.81 | 22.22 | 29.63 | 44.44 |
| 3 ft | 22.22 | 33.33 | 44.44 | 66.67 |
Backfill per 100 square feet
For a layer of fill over an area.
| Fill depth | Cubic yards | Cubic yards with 10% | Approx. tons with 10% |
|---|---|---|---|
| 6 in | 1.85 | 2.04 | 2.75 |
| 12 in | 3.70 | 4.07 | 5.50 |
| 24 in | 7.41 | 8.15 | 11.00 |
| 36 in | 11.11 | 12.22 | 16.50 |
Types of backfill material
| Material | Good for | Notes |
|---|---|---|
| Native (excavated) soil | Most trenches and foundation edges | Must be free of large rocks, debris and organic material |
| Crushed stone or gravel | Behind retaining walls, drainage layers | Drains well and compacts easily |
| Sand | Around pipes, tight spaces | Flows into gaps, often used for bedding |
| Flowable fill | Hard-to-compact spots | A cement-based mix that needs no compaction, sold by the cubic yard |
Your plans, the pipe manufacturer or the utility may require a specific material. If so, their requirement wins.
Compaction and settling
Loose fill takes up more room than compacted fill. If you simply dump soil into a trench, it settles over time and leaves a dip. Building up the backfill in thin layers and compacting each one prevents this.
- •Layers: place and compact in layers, not in one deep pour.
- •Moisture: soil that is too wet or too dry compacts poorly.
- •Specification: plans often call for compaction to a percentage of maximum density, measured with a Proctor test.
The 10% allowance in the calculator covers typical compaction and settling. It is a planning default, not a code requirement.
Foundation backfill: timing and drainage
- •Do not rush it: concrete must be cured and the wall braced or supported the way your engineer or builder specifies. Backfilling early, or on one side only, can damage a wall.
- •Finish the grade so water runs away, slope the finished soil away from the foundation. Many codes set a minimum slope, so check yours.
- •Plan for drainage: behind retaining walls, a free-draining stone layer is common.
What changes the amount you need
- •Buried structures: pipes, footings, tanks and vaults displace backfill.
- •Wider real gap: sloped sides and overdig add volume.
- •Material and moisture: they change the weight in tons.
- •Compaction method: machine compaction settles less than hand tamping.
- •Settling over time: leave extra for areas that will not be topped up.
Common mistakes
- Entering depth in feet: the depth field takes inches, so 3 ft is 36.
- Forgetting to subtract what is buried, large structures can cut the volume a lot.
- Measuring the trench as a perfect rectangle, check the widest and deepest points.
- Skipping compaction: the fill settles and leaves a depression.
- Using topsoil for structural fill: it is not meant to carry load.
Backfill, excavation or topsoil calculator?
| You want to know | Use |
|---|---|
| How much dirt to remove | Excavation calculator |
| How much fill goes back into a trench or gap | This backfill calculator |
| How much topsoil to buy for planting | Topsoil calculator |
| How much base material goes under a slab | Base calculator |
| How much gravel for a path or drainage | Gravel calculator |
Backfill cost estimate
Cost = Tons or yards ordered × Price per unit + Delivery
Prices change by material, region and delivery distance, and reusing your own soil can cost nothing but the labor to place and compact it. Get current local quotes for imported material.
Safety
- •Call 811 (in the United States) before you dig, so buried utilities can be marked.
- •Trenches five feet deep or more generally need protection against collapse. Follow OSHA rules and your local requirements.
- •Stay out of unprotected trenches and keep spoil piles back from the edge.
Swell and shrinkage: loose yards vs compacted yards
Backfill is ordered loose and ends up compacted, so the volume you buy is bigger than the hole you fill. Loose material contains air voids that collapse when it is placed and tamped, which is why the calculator adds an allowance on top of the geometric volume. How much extra depends on the material: gravel barely settles, clay settles a lot.
| Material | Extra to order | Why |
|---|---|---|
| Coarse gravel or crushed stone | 5-10% | Angular stone locks together and settles very little |
| Sand | 10-12% | Settles slightly, more if placed dry and loose |
| Common excavated dirt | 15-20% | Loose soil compresses as air voids collapse |
| Clay soil | 20-25% | High swell when dug and high shrinkage when compacted |
Ranges are planning figures cited by material suppliers and estimator guides; the 10% default in the calculator suits gravel and sand, while reused site soil and clay usually need the higher end.
Loose order volume = Compacted volume needed × (1 + allowance)
Worked check: a trench needing 10 compacted cubic yards takes about 11 loose cubic yards of gravel at 10%, but about 12 loose cubic yards of excavated dirt at 20%. The same hole, two different orders. If you are reusing the soil you dug out, remember it swelled when it was excavated, so the pile looks bigger than the hole it came from. Work out the dig side with the excavation calculator before you decide how much to keep.
Subtracting pipes and structures
Anything buried in the trench takes the place of backfill, so subtract its volume before you order. A single small pipe barely matters, but a large pipe, a vault or a tank can cut the order by cubic yards.
Pipe volume (cu ft) = π × (outside diameter in feet ÷ 2)² × Length (ft)
| Pipe diameter | Volume displaced per 100 ft | Cubic yards per 100 ft |
|---|---|---|
| 4 in | 8.7 cu ft | 0.32 |
| 6 in | 19.6 cu ft | 0.73 |
| 8 in | 34.9 cu ft | 1.29 |
| 12 in | 78.5 cu ft | 2.91 |
Use the pipe's outside diameter, not the nominal size, and include the bedding zone below the pipe if your plans call for imported bedding.
A 100 ft trench with a 6-inch pipe, 3 ft deep and 2 ft wide
- Trench: 100 × 2 × 3 = 600 cubic feet = 22.22 cubic yards
- Pipe: π × (0.25)² × 100 = 19.6 cubic feet = 0.73 cubic yards
- Net backfill: 22.22 − 0.73 = 21.49 cubic yards
- With 10% extra: 23.64 cubic yards, about 32 tons at 100 lb per cubic foot
A 12-inch storm pipe, 50 ft long, in a 4 ft wide trench
- Pipe: π × (0.5)² × 50 = 39.3 cubic feet = 1.45 cubic yards
- On a short run the pipe alone is more than a cubic yard of backfill you do not need to buy
For tanks, vaults and footings, subtract length × width × height the same way. The worked pit example above in this guide shows a vault cutting 192 cubic feet from the order. Bedding is the exception: the 4 to 6 inches of select aggregate under a pipe is imported material you add, not native soil you subtract, so work it out separately with the gravel calculator.
Trapezoidal trenches: sloped sides
Real trenches are rarely perfect rectangles. Safety rules require sloped sides on deeper digs, so the top is wider than the bottom and the cross-section is a trapezoid. Use the average of the top and bottom widths.
Area (sq ft) = (Top width + Bottom width) ÷ 2 × Depth
Volume (cu yd) = Area × Length ÷ 27
A 300 ft sewer run, 6 ft wide at the top, 3 ft at the bottom, 5 ft deep
- Average width: (6 + 3) ÷ 2 = 4.5 ft
- Cross-section: 4.5 × 5 = 22.5 square feet
- Volume: 22.5 × 300 = 6,750 cubic feet = 250 cubic yards
- Treating it as a 3 ft rectangle would have ordered only 167 cubic yards, short by a third
| Soil class (OSHA) | Maximum slope | Angle |
|---|---|---|
| Type A (cohesive clay) | 0.75H : 1V | 53° |
| Type B (silt, sand) | 1H : 1V | 45° |
| Type C (granular, water) | 1.5H : 1V | 34° |
Slopes come from OSHA excavation rules (29 CFR 1926, Subpart P). A competent person must classify the soil before you pick a slope, and trenches 5 ft deep or more need sloping, shoring or a trench box.
On a long run with changing depth, break it into 100 ft segments with their own average depth and add the volumes. One average depth for a steeply graded run understates the deep end and overstates the shallow end.
Lift thickness and compaction equipment
Backfill placed in one deep dump settles unevenly and leaves a dip months later. The fix is lifts: thin layers, each compacted before the next goes in. Plans often specify compaction as a percentage of maximum density, measured with a Proctor test (ASTM D698).
| Equipment | Lift thickness | Best for |
|---|---|---|
| Hand tamper | 4-6 in | Small areas, around pipes, tight corners |
| Plate compactor | 6-8 in | Trenches, paths and granular fill |
| Jumping jack (rammer) | 6-8 in | Cohesive soils such as clay |
| Ride-on or walk-behind roller | 8-12 in | Large areas and deep fills |
Moisture decides whether compaction works. Soil that is too wet pumps and ruts under the compactor; soil that is too dry will not bind. Dampen dry fill lightly, let wet fill dry, and test a small area first. Around pipes, hand-tamp the first layers so the compactor does not damage the pipe, and follow the pipe manufacturer's bedding and backfill requirements. For pipe bedding quantities, see the gravel calculator and the sand calculator.
Backfill densities: tons per yard by material
Suppliers sell soil by the cubic yard and gravel by the ton, so the density is the bridge between the two. The calculator uses a 100 lb per cubic foot baseline (1.35 tons per cubic yard), but real materials spread widely around it. Confirm the density with your supplier before you convert an order.
| Material | Density (lb per cu ft) | Tons per cubic yard |
|---|---|---|
| Loose sand | About 97 | About 1.31 |
| Loose gravel or aggregate | About 84 | About 1.13 |
| Compacted gravel | 112-131 | 1.51-1.77 |
| Crushed stone base | 131-143 | 1.77-1.93 |
| Native soil (calculator baseline) | About 100 | About 1.35 |
Moisture raises every number: wet soil and wet gravel weigh more than the same material dry.
A worked conversion: 10 cubic yards of compacted gravel at 120 lb per cubic foot is 10 × 27 × 120 = 32,400 lb, or 16.2 tons. The same 10 yards of loose sand at 97 lb per cubic foot is only 13.1 tons. Ordering by tons without checking the density is how a load arrives short. If the job also needs concrete, work out the pour with the concrete calculator and plan the trucks with the concrete pour planning calculator.
Ordering and delivery: truck loads
Bulk material usually arrives by dump truck, and the truck's payload limit matters as much as its bed size. A tri-axle dump truck typically carries about 18 to 22 tons, so a heavy material fills the weight limit before the bed is full.
Foundation backfill: 136.9 cubic yards, about 185 tons
- At 20 tons per tri-axle load: 185 ÷ 20 = 9.25, so 10 loads
- At 18 tons per load: 185 ÷ 18 = 10.3, so 11 loads
- Schedule the loads so the crew can place and compact each one before the next arrives
Small orders have the opposite problem: a supplier's minimum delivery or short-load fee can cost more than the material. For a trench under about 2 cubic yards, compare a bulk delivery against bagged material or reusing your own excavated soil, which costs nothing but the labor to place and compact it. Save the result to your project so the order, the compaction plan and the delivery schedule stay together.
Assumptions
- •Assumes a uniform trench or gap cross-section; measure the widest and deepest points if the excavation is irregular.
- •Uses a 100 lb/ft³ loose-fill baseline; soil, sand and gravel backfill vary in density and moisture.
- •Does not subtract buried pipe, conduit, footings or tanks. For a tight estimate, subtract that volume separately.
Sources✓ Verified
- General geotechnical/civil engineering backfill-density convention. 100 lb/cu ft (2,700 lb/yd³) is a rough planning baseline for loose soil and gravel fill; confirm against your material.
- ASTM D698 (standard Proctor compaction test). How compaction requirements are measured.
- Call 811 (call811.com) and OSHA excavation standard (29 CFR 1926, Subpart P). Utility marking and trench protection for backfill work done alongside excavation.
Formula reviewed October 2026.
Multiply the trench length × width × depth in feet to get cubic feet, then divide by 27 for cubic yards. Add about 10% for compaction and settling. A 20 ft trench that is 2 ft wide and 3 ft deep needs 4.44 cubic yards, or 4.89 with 10% extra.
Multiply the perimeter by the width of the gap and the depth. For example, 140 ft × 3 ft × 8 ft = 3,360 cubic feet, or 124.4 cubic yards. Sloped excavation sides make the real gap wider than a rectangle, so measure the widest points.
The calculator adds 10% by default for compaction and settling, and 10 to 15% is a common range. Loose soil, deep fills and hand-placed material can need more. Round up to your supplier's delivery increment after you add the allowance.
About 100 lb per cubic foot, which is 2,700 lb per cubic yard (1.35 tons), is a common planning figure for soil or gravel backfill. Actual weight depends on the material and its moisture, so confirm it with your supplier.
Usually yes for trenches and foundation edges, provided it is free of large rocks, debris and organic material. Compact it in layers to prevent settling later. Your plans or the utility's requirements can call for specific material instead.
It depends on the job. Clean native soil works for many trenches, crushed stone drains well behind retaining walls, sand is common around pipes, and flowable fill needs no compaction. Follow your plans, pipe manufacturer and local requirements.
Yes. The calculator does not subtract anything buried in the trench, so subtract that volume yourself. A 4-inch pipe 20 ft long displaces only about 1.7 cubic feet, but a vault, tank or footing can be large enough to matter.
If the pit is 4 ft deep and the vault is 6 × 8 × 4 ft, the backfill is 288 cubic feet, or 10.67 cubic yards. With 10% extra, order about 11.73 cubic yards, which weighs roughly 15.8 tons.
Soil is often sold by the cubic yard and gravel by the ton. The calculator gives both. Use whichever your supplier quotes, and confirm the supplier's density, because the ton-to-yard ratio changes with the material.
Place it in thin layers and compact each layer before adding the next, using a hand tamper or plate compactor. Moisture matters, because soil that is too wet or too dry compacts poorly. Follow the compaction requirement in your plans.
Backfill refills an excavation and is usually chosen to compact well. Fill dirt is general-purpose soil used to raise or level an area. Topsoil is the organic surface layer for plants and is not meant to carry load.
Only when the wall is ready for it. Concrete must have cured and the wall must be braced or supported as your engineer or builder specifies. Early or one-sided backfill can damage a wall, so follow your plans and local code.
Converters to use with the Backfill Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Gravel & StoneCrushed Concrete Yards to Tons ConverterRecycled crushed concrete cubic yards to tons.
Soil & LandscapingTopsoil Cubic Yards to Tons ConverterTopsoil cubic yards to tons.
Gravel & Stone#57 Stone Tons to Cubic Yards Converter#57 crushed stone tons to cubic yards.
Volume, Area & UnitsCubic Feet to Cubic Yards ConverterDivide by 27: any volume in seconds.
Volume, Area & UnitsCubic Meters to Cubic Yards Converter1 m³ = 1.308 yd³: metric to US volume.
Slope & MeasurementDrainage Slope Converter (Inches per Foot to Percent)1/4 in per foot = 2.08%, plus total drop.More concrete calculators
ConcreteConcrete Curb CalculatorThis concrete curb calculator works out the concrete a curb, curb and gutter, or landscape edge needs, in cubic yards with a waste allowance. Enter length in feet, width in feet (6 in is 0.5 ft) and depth in inches. Curbs run long, so a small error in the cross-section multiplies down the whole run.
ConcreteSidewalk CalculatorThis sidewalk calculator works out the concrete a sidewalk or walkway needs, in cubic yards with a waste allowance. Enter length and width in feet and thickness in inches, and add sections for driveway crossings or different widths. A walk that runs short mid-pour leaves a cold joint in the middle of the path.
ConcreteConcrete Bag CalculatorThis concrete bag calculator counts the bags for a small pour, footing, post hole or column, where hand-mixed bags make more sense than a ready-mix truck. Enter your dimensions, pick a bag size, and get an exact count with waste, water, pallets and a bags-vs-ready-mix cost comparison. Bags are heavy work, so knowing the count before you buy is the whole point.
ConcreteRebar CalculatorThis rebar calculator counts the sticks a two-way slab grid needs. Enter the slab length and width and your bar spacing, and get the bars in each direction, total linear feet, and standard 20 ft sticks with waste included. Steel ordered short stops the pour, since the grid has to be tied before any concrete arrives.
ConcreteConcrete Footing CalculatorThis concrete footing calculator works out the concrete a continuous strip footing needs, in cubic yards with a waste allowance. Enter the total footing length, width and depth, measured along the wall centerline. Measuring the outside perimeter instead adds concrete at every corner that is not really there.
ConcreteConcrete Column CalculatorThis concrete column calculator works out the concrete round columns, piers or tube-form footings need, in cubic yards with a waste allowance. Enter the diameter, height and how many you are pouring. Columns are small pours, so the waste allowance matters more here than on a slab, one extra bag is cheap, one short tube is not.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.