The short answer

Multiply the length by the width by the depth, all in feet, then divide by 27. That gives you cubic yards, which is how fill dirt is sold. A low spot 40 feet long and 30 feet wide that needs 6 inches of fill takes about 22 cubic yards by the math, and more once you allow for settling.

Put your own numbers in the calculator and it does the math for you.

Fill dirt calculator: cubic yards

By the math: 0 cubic yards (0 cubic feet). With the extra: 0 cubic yards, roughly 0 tons.

Length times width times depth in feet, divided by 27. Tons are a rough figure at about 1.2 tons per cubic yard and change with the material and how wet it is. We confirm the real number when we walk the site.

What is a cubic yard of dirt?

A cubic yard is a block of material 3 feet long, 3 feet wide and 3 feet tall. That works out to 27 cubic feet. Dirt, gravel and fill are all sold by the yard or by the ton, so it's the number you'll want before you call anyone.

Spread out, one cubic yard of dirt covers:

  • 324 square feet at 1 inch deep
  • 162 square feet at 2 inches deep
  • 108 square feet at 3 inches deep
  • 81 square feet at 4 inches deep
  • 54 square feet at 6 inches deep
  • 27 square feet at 12 inches deep

How to measure cubic yards of dirt

  1. Measure the length and width in feet. A tape is best. Pacing it off is fine for a rough number.
  2. Measure the depth in inches, then divide by 12. That turns it into feet. Six inches is 0.5 feet. Four inches is 0.33 feet.
  3. Multiply length by width by depth. That gives cubic feet.
  4. Divide by 27. That gives cubic yards.

Example: raising a low spot

A low area 40 feet long and 30 feet wide needs 6 inches of fill.

  • 40 x 30 = 1,200 square feet
  • 1,200 x 0.5 feet deep = 600 cubic feet
  • 600 divided by 27 = 22.2 cubic yards

Example: backfilling a trench

A trench 60 feet long, 2 feet wide and 3 feet deep.

  • 60 x 2 x 3 = 360 cubic feet
  • 360 divided by 27 = 13.3 cubic yards

Measuring spots that aren't a clean rectangle

  • Uneven depth. Measure the depth in several places and use the average. Readings of 2, 6 and 10 inches average out to 6.
  • L shapes. Split the area into rectangles, figure each one, then add them together.
  • Circles. Multiply the radius by itself, then by 3.14, then by the depth in feet. A round area 20 feet across filled 6 inches deep is 10 x 10 x 3.14 x 0.5 = 157 cubic feet, or 5.8 cubic yards.
  • Triangles. Figure it as a rectangle, then cut the answer in half.

Figuring dirt that comes out of a hole

The same math works in reverse when you're digging. A dig 30 feet long, 24 feet wide and 2 feet deep is 30 x 24 x 2 = 1,440 cubic feet, or 53.3 cubic yards of dirt to move.

One thing to know: dirt loosens up when it's dug, so it takes up more room in a pile or a truck than it did in the ground. Plan the stockpile space and the haul-off with that in mind.

Why you always need more than the math says

Fill dirt settles and packs down once it's placed and compacted, especially when it's going under a pad, slab or driveway. A pile that looks like plenty in the truck ends up lower once it's rolled.

That's why the calculator lets you add 10 to 30 percent. How much extra is right depends on the material and how hard it's compacted, so treat it as a planning number and ask us before you order.

Yards or tons?

Some pits sell by the ton instead of the yard. Fill weighs roughly 1.2 tons per cubic yard, and that swings with the material and how wet it is. By that rule of thumb, the 22 cubic yards in the first example is around 27 tons.

Ordering gravel instead of dirt? The numbers are different. See how much gravel do I need for my driveway.

Not all fill is the same

  • Fill dirt is subsoil for raising grade and filling low spots. It's the cheapest option but it doesn't grow grass well on top.
  • Topsoil goes on last, a few inches deep, where you want grass or a garden. We deliver topsoil in 12-yard loads.
  • Structural fill is compactable material for anything that will carry weight, like a building pad, slab or driveway. It goes in thin layers, each one compacted before the next.

Under a building, the kind of fill and how it's compacted matters more than the amount. Loose fill under a slab or pad settles, and the cracks show up later.

Placing it right

Dumping fill is easy. Placing it so it stays put is the real job. It should go down in layers, get compacted as it goes, and be shaped so water drains away from buildings instead of toward them.

Need fill placed?

We deliver and place fill, build up low spots, and cut and compact building pads across Ravalli and Missoula counties. Our gravel delivery and hauling page covers the trucks, and our site prep and excavation page covers pads. Tell us what you're building on it and we'll recommend the right material and how much.