Dirt Calculator
This dirt calculator works out the cubic yards, tons and truckloads of dirt for a job, whether you are bringing fill dirt in or digging soil out and hauling it away.
Dirt to order
Cubic yards
0
In place
0
Weight
0
Truckloads
0
Bags
0
Cost
0
Area by area
| Area | Surface | Depth | Cubic yards |
|---|
Show the working
Runs in your browser. Nothing uploaded.
Use this dirt calculator to find how many cubic yards, tons and truckloads of dirt a job involves. It works in both directions. If you’re filling in, it tells you how much fill dirt or topsoil to order. If you’re digging out, it tells you how big the pile will be once the soil is loose, what it weighs, and how many truckloads it takes to haul away. Most calculators only handle the first job.
About the dirt calculator
Dirt changes size when you move it. A cubic yard in the ground becomes more than a cubic yard in a truck, and less than a cubic yard once it’s packed into a fill. Ignore that and you order too little, or you book too few trucks.
- Filling in. Measure the space, add an allowance for settling, and get the cubic yards to order, with weight, truckloads, bags and cost.
- Digging out. Measure the hole and get the loose volume to haul, which is larger than the hole. The swell figures come from Caterpillar and the Federal Highway Administration.
- Truckloads by volume and by weight. Wet or sandy soil can hit a truck’s weight limit before the bed is full. The calculator checks both and uses whichever needs more trips.
- Honest ranges. Published soil weights and swell figures differ, so you see the low and the high. Enter your own figures and you get one number.
- Several areas, five shapes. Up to 20 rows: rectangle, circle, triangle, ring, or an area you already know.
It runs in your browser. Nothing you enter is sent anywhere or saved.
How to use the dirt calculator
- Choose the job. “Filling in” if you’re ordering dirt. “Digging out” if you’re removing it.
- Choose your units. Feet with depth in inches, or metres with depth in centimetres.
- Enter each area. Pick the shape, type the measurements and the depth. Add a row for each separate area or hole.
- Pick the soil type. Fill dirt, topsoil, clay or sand. Choose “Other” to enter your own weight and swell.
- Set the extras. The settling allowance (filling only), the truck size, and optionally the truck’s weight limit and a price per cubic yard.
- Read the result. The headline is the cubic yards to order or to haul.
The dirt calculator formula
Every estimate starts with volume:
Cubic yards = length (ft) x width (ft) x depth (ft) / 27
With depth in inches, the shortcut is square feet x inches / 324. After that, the two jobs go different ways.
| Step | Filling in | Digging out |
|---|---|---|
| What you measure | The finished fill | The hole |
| Volume to move | Measured volume x (1 + settling %) | Measured volume x (1 + swell %) |
| Weight | Loose volume x loose weight per yard | Hole volume x in-ground weight per yard |
| Truckloads | The larger of volume / truck size and weight / weight limit, rounded up | |
Notice the weight line. Loosening soil adds air, not weight. So for a dig, the weight comes from the hole, not from the pile.
Bank, loose and compacted: the three states of dirt
Earthmoving uses three names for the same soil.
- Bank is soil as it lies in the ground, undisturbed.
- Loose is soil that has been dug. It has swelled because of the gaps between the lumps.
- Compacted is soil that has been placed and packed down. It’s denser than loose soil and often denser than bank soil.
The Federal Highway Administration puts numbers on it: 1 cubic yard of earth in the ground may take 1.25 cubic yards of space in the truck, then end up as only 0.65 to 0.85 cubic yards once compacted in a fill.
Dirt calculator example: filling in
You want to raise a 20 ft by 10 ft area by 6 inches with fill dirt.
- In place: 20 x 10 x 6 / 324 = 3.70 cubic yards.
- With 15% for settling: 3.70 x 1.15 = 4.26 cubic yards to order.
- Weight: loose fill dirt runs 2,070 to 2,700 lb per cubic yard, so 4.41 to 5.75 tons.
- Truckloads: one, in a 10 cubic yard truck.
Here’s the same order in each soil type.
| Soil, 4.26 cu yd to order | Loose weight per cu yd | Tons |
|---|---|---|
| Fill dirt | 2,070 to 2,700 lb | 4.41 to 5.75 |
| Topsoil | 1,600 to 2,600 lb | 3.41 to 5.54 |
| Clay | 2,010 to 2,800 lb | 4.28 to 5.96 |
| Sand or sandy soil | 2,400 to 3,230 lb | 5.11 to 6.88 |
Example: digging out for a pool
A hole 30 ft by 15 ft and 5 ft deep is 2,250 cubic feet, or 83.33 cubic yards in the ground. The soil is ordinary loam. You have 10 cubic yard trucks with a 13 ton limit.
- Swell for this soil runs from 24% to 50%, so the loose pile is 103.33 to 125 cubic yards.
- Weight: 83.33 x 2,600 to 3,400 lb = 108.33 to 141.67 tons.
- Truckloads by volume: up to 125 / 10 = 12.5, so 13. By weight: up to 141.67 / 13 = 10.9, so 11. Volume is the limit: 11 to 13 loads.
If you’d booked trucks for the size of the hole alone, you’d have planned 9 loads and come up short.
| Soil, 83.33 cu yd hole | Loose cu yd to haul | Tons | Truckloads |
|---|---|---|---|
| Fill dirt (loam) | 103.33 to 125.00 | 108.33 to 141.67 | 11 to 13 |
| Topsoil | 120.00 to 130.00 | 95.83 to 101.25 | 12 to 13 |
| Clay | 100.83 to 139.17 | 129.17 to 145.83 | 11 to 14 |
| Sand or sandy soil | 87.50 to 94.17 | 112.50 to 145.83 | 9 to 12 |
Look at the sand row. The pile is at most 94 cubic yards, which is 10 loads by volume. But it can weigh 145.83 tons, and that’s 12 loads at 13 tons each. With sand, weight is the limit, and the dirt calculator tells you so.
Example: a utility trench
A trench 100 ft long, 2 ft wide and 3 ft deep is 600 cubic feet, or 22.22 cubic yards. In loam that’s 27.56 to 33.33 loose cubic yards: 3 to 4 truckloads. If disposal costs $15 a cubic yard, budget $413 to $500.
Example: raised garden beds
Three beds of 4 ft by 8 ft, filled 12 inches deep with topsoil, hold 96 cubic feet: 3.56 cubic yards. With 10% extra you need 3.91 cubic yards. That’s 71 bags of 1.5 cubic feet, which is why bulk delivery usually wins once you pass a yard or two.
For a new lawn, 1,000 square feet of topsoil at 4 inches is 12.35 cubic yards, or 13.58 with 10% extra. That’s two truckloads.
Reading your result
- Cubic yards to order (filling). The figure for your supplier. It includes the settling allowance.
- Loose cubic yards to haul (digging). A range, because swell varies. This is the figure for your hauler.
- In place, or in the ground. The measured volume before any allowance or swell. It’s exact, because it’s geometry.
- Weight. US tons and metric tonnes. For a dig, the dirt calculator bases it on the hole, since loosening doesn’t add weight.
- Truckloads. Rounded up to whole loads, with a note on whether space or weight sets the number.
- Area by area. One line per row, so a typing mistake stands out.
Open “Show the working” to see every step. If you and your contractor get different numbers, the working shows which assumption differs.
How much dirt weighs
These are the figures the dirt calculator uses, in pounds per cubic yard. “CAT” is Caterpillar’s material density table. “FHWA” is the Federal Highway Administration’s earthwork design guidance. Both were read on October 3, 2026.
| Soil | Loose (in the truck) | In the ground | Sources |
|---|---|---|---|
| Fill dirt (loam, common earth) | 2,070 to 2,700 | 2,600 to 3,400 | CAT loose 2,100 to 2,700, bank 2,600 to 3,400; FHWA loose 2,070 to 2,360 |
| Topsoil | 1,600 to 2,600 | 2,300 to 2,430 | CAT loose 1,600, bank 2,300; FHWA loose 1,620, in place 2,430. Upper loose figure from Inch Calculator’s 1.3 tons |
| Clay | 2,010 to 2,800 | 3,100 to 3,500 | CAT loose 2,500 to 2,800, bank 3,100 to 3,500; FHWA loose 2,010 to 2,150 |
| Sand or sandy soil | 2,400 to 3,230 | 2,700 to 3,500 | CAT loose 2,400 to 3,100, bank 2,700 to 3,500; FHWA loose 2,590 to 3,230 |
Water is the biggest variable. Caterpillar lists dry sand at 2,400 lb per loose cubic yard and wet sand at 3,100. After rain, plan toward the top of the range.
How much dirt swells when you dig it
| Soil | Swell range used | Caterpillar | FHWA |
|---|---|---|---|
| Fill dirt (loam, common earth) | 24% to 50% | 24% to 26% | 43% to 50% |
| Topsoil | 44% to 56% | 44% | 56% |
| Clay | 21% to 67% | 21% to 25% | 50% to 67% |
| Sand | 5% to 13% | 12.5% to 13% | 5% to 11% |
The two sources disagree, and for clay they disagree a lot. That isn’t a mistake in either. Swell depends on moisture, how the soil is dug, and how tightly it was packed to begin with. FHWA’s own table notes that its factors can vary by a third either way. The Caterpillar figures come from dividing its in-ground weight by its loose weight.
So treat the range as real. If the cost of a short order is high, plan for the top. If a contractor or a soil report gives you a swell figure for your site, choose “Other” and enter it.
How much extra to order when filling
Loose dirt packs down after it’s placed, by rain, by its own weight, and faster if you compact it. Suppliers suggest different allowances:
- Gravelshop adds a fixed 15% to its fill dirt estimates.
- Soil Depot suggests 15% to 25% when the fill will be compacted, on top of 10% for waste.
- Bama Dirt suggests 5% to 10% for general jobs.
The dirt calculator starts at 15% and lets you change it. As a rough guide: 5% to 10% for a garden bed or a lawn top-up that won’t be compacted, 15% for general fill, and 20% to 25% for fill you’ll tamp or roll.
Structural fill is different. Fill under a slab, a driveway or a wall is compacted in layers to a specified density. FHWA lists loose loam at 2,070 to 2,360 lb per cubic yard and compacted loam at 3,520, which works out to about 1.5 to 1.7 loose yards for every finished yard. If your job has a compaction specification, get the quantity from the engineer or the contractor, not from a percentage.
Truckloads: volume and weight
A truck has two limits: how much fits in the bed, and how much weight it can legally carry. Light, fluffy soil fills the bed first. Wet clay or sand reaches the weight limit first, and the bed goes out part full.
In the dirt calculator, the truck size starts at 10 cubic yards. That’s only a starting figure, so replace it with your hauler’s number. Add the weight limit in tons if they give you one. The result tells you which limit is setting the number of trips.
Fill dirt or topsoil?
- Fill dirt is subsoil with little organic matter. It packs firmly and stays put. Use it to raise ground, fill holes and build up a base.
- Topsoil is the upper layer, with organic matter that plants need. Use it for lawns, beds and planters. It keeps settling as the organic matter breaks down, so it’s a poor choice under anything that must not move.
- Both. Many jobs use fill dirt for the bulk, then a few inches of topsoil on top where grass or plants will grow.
Common mistakes
- Booking trucks for the size of the hole. The pile is 5% to 67% bigger, depending on the soil.
- Ordering the exact in-place volume. Loose dirt settles. Without an allowance you end up low.
- Leaving depth in inches. Six inches is 0.5 ft. The calculator takes inches so you don’t convert.
- Treating a cubic yard as a ton. A loose cubic yard of fill dirt weighs 1.0 to 1.35 tons.
- Forgetting the weight limit. A truck that’s “only two-thirds full” may already be at its legal weight.
- Using the radius as the diameter. The circle shape wants the full width across.
What the dirt calculator can’t tell you
- Your soil. Real ground is a mix, and it changes with depth. The ranges cover typical soils, not yours in particular.
- Rock. Solid rock swells far more than soil when broken up, and it isn’t covered here.
- Sloped digs. The depth is treated as uniform. On a slope, use the average of a few measurements, or split the area into strips.
- Sloped sides. Deep holes are often dug with sides that slope back for safety, which adds volume. Measure the top and bottom and use the average.
- Disposal rules and fees. Where dirt can go, and what it costs, varies by area.
Before any dig, have underground utilities marked. In the US, call 811.
More project calculators
For mulch or concrete, where swell and weight don’t matter, the cubic yard calculator gives volume and bags. For gravel and river rock, the rock calculator gives tons. Building on the new grade? The concrete block calculator counts blocks and mortar, and the bitumen calculator covers an asphalt drive. To turn quantities into a quote, use the job estimate calculator.
Sources
- Caterpillar, “Material Density Tables to Help Estimate Earthwork Volumes”: loose and bank weights and load factors; definitions of bank, loose and compacted cubic yards.
- Federal Highway Administration, Federal Lands Highway Project Development and Design Manual, Earthwork Design, Exhibit 5.1-A: in-situ, loose and embankment densities and percent swell; the 1.25 and 0.65 to 0.85 cubic yard example.
- Gravelshop, Soil Depot and Bama Dirt calculator pages: settling and compaction allowances.
- Inch Calculator, soil calculator: 1.0 to 1.3 tons per cubic yard for dry, loose soil.
- All read on October 3, 2026.
Frequently asked questions
How do I calculate how much dirt I need?
Multiply length by width by depth, all in feet, and divide by 27 to get cubic yards. With depth in inches, multiply square feet by inches and divide by 324. An area 20 by 10 ft filled 6 in. deep is 1,200 / 324 = 3.70 cubic yards. Add extra for settling: at 15% that is 4.26 cubic yards to order.
How much does a cubic yard of dirt weigh?
It depends on the soil and how wet it is. Published figures for loose fill dirt run from about 2,070 to 2,700 lb per cubic yard (1.0 to 1.35 tons). Loose topsoil is lighter, from about 1,600 lb when dry. The same soil in the ground, before it is dug, weighs about 2,600 to 3,400 lb per cubic yard.
How much extra dirt should I order?
Loose dirt settles and packs down, so suppliers suggest adding to the measured volume. Gravelshop adds 15%. Soil Depot suggests 15 to 25% when the fill will be compacted. This dirt calculator starts at 15% and lets you change it. Fill that must be compacted to a specification can need far more.
Why is the pile bigger than the hole?
Soil in the ground is packed tight. Digging breaks it up and adds air, so it takes more space. The Federal Highway Administration gives the example of 1 cubic yard of earth in the ground taking about 1.25 cubic yards in the truck. Clay and topsoil can swell more than that, and sand less.
How many cubic yards of dirt fit in a dump truck?
It varies by truck, so ask your hauler. The calculator starts at 10 cubic yards as a placeholder. Weight matters too: heavy or wet soil can reach a truck weight limit before the bed is full, so enter the weight limit if you know it and the calculator uses whichever limit needs more trips.
What is the difference between fill dirt and topsoil?
Fill dirt is subsoil with little organic matter. It packs firmly, so it is used to raise ground, fill holes and build up a base. Topsoil is the upper layer, rich in organic matter, and it is used where plants will grow: lawns, garden beds and planters. Use fill dirt for bulk and topsoil for the top few inches.
Guides that use this tool
Last updated: October 3, 2026