Dirt Cubic Yard Calculator
Ordering dirt sounds simple until the supplier asks, “How many yards do you need?” If you are filling a raised garden bed, leveling a low spot in the lawn, or prepping a foundation, the answer is never measured in feet or inches. Dirt, topsoil, mulch, and gravel are all sold by the cubic yard, a unit of volume that tells the supplier exactly how much material to load onto the truck. Guessing leads to two expensive outcomes: you run short and pay for a second delivery, or you over-order and end up with a mountain of soil sitting on your driveway for months.
The Dirt Cubic Yard Calculator removes the guesswork. You enter the shape of your area, its dimensions, and how deep the dirt needs to go, and it instantly converts those measurements into cubic yards. It also adds a waste factor, estimates the weight in tons, and tells you how many 40 lb bags the same job would take if you went the bagged route. Whether you are a homeowner tackling a weekend project or a contractor estimating a job, getting the volume right is the difference between a smooth delivery day and a costly redo.
This guide explains why cubic yards matter, walks through the math step by step, covers rectangles, circles, and triangles, and finishes with practical ordering tips. By the end, you will know exactly how much dirt to order for any project.
Why Dirt Is Sold by the Cubic Yard
A cubic yard is a cube that measures 3 feet on every side, which equals 27 cubic feet. Suppliers use it because dirt is a loose, three-dimensional material. A flat measurement like square feet only describes surface area, which says nothing about how much material you actually need. A 200 square foot garden bed filled 4 inches deep needs far less dirt than the same bed filled 12 inches deep, even though the square footage is identical.
The cubic yard also standardizes pricing across suppliers. When one company quotes $45 per yard and another quotes $55, you can compare apples to apples. Bagged dirt at the hardware store is priced per bag, which hides the true cost, but bulk suppliers price per cubic yard plus a delivery fee. Knowing your exact yardage lets you negotiate and budget with confidence instead of nodding along to whatever number the salesperson suggests.
The Core Formula: Length × Width × Depth ÷ 27
Every dirt calculation comes down to one formula: volume in cubic feet = length × width × depth, then cubic yards = cubic feet ÷ 27. The tricky part is that length and width are usually measured in feet while depth is often measured in inches. Before multiplying, convert the depth to feet by dividing inches by 12. A 4-inch depth is 4 ÷ 12 = 0.333 feet.
So for a rectangular bed that is 20 feet long, 10 feet wide, and 4 inches deep, the math is 20 × 10 × 0.333 = 66.67 cubic feet. Divide by 27 and you get 2.47 cubic yards. That single chain of operations, done correctly with consistent units, is all the calculator does under the hood.
Breaking the Math Into Steps
Follow these four steps for any rectangular or square area. First, measure the length and width in feet. Second, measure or decide the depth in inches and divide by 12 to get feet. Third, multiply length × width × depth-in-feet to get cubic feet. Fourth, divide by 27 to get cubic yards. Round up, not down, because suppliers cannot deliver a fraction of a shovel. For circles and triangles, only the area step changes, which we cover in the shapes section below.
Shapes Matter: Rectangles, Circles, and Triangles
Real projects are rarely perfect rectangles. Tree rings are circles, corner beds are triangles, and patios are often L-shaped. The calculator handles the three most common shapes, each with its own area formula. Pick the shape closest to your project and measure accordingly.
Rectangle and Square Areas
For rectangles, area is simply length × width, both in feet. An L-shaped area can be handled by splitting it into two rectangles, calculating each separately, and adding the results. This is the most common case for garden beds, lawn leveling, and foundation backfill, so measure carefully with a tape measure and record the longest and widest points.
Circle Areas
For circles, you only need the diameter, the distance straight across the middle. The calculator computes area as π × (diameter ÷ 2)². This shape is ideal for tree rings, round planters, and circular fire pit bases. Measure across the center at the widest point rather than guessing, because a 12-foot circle holds over 40 percent more area than a 10-foot circle, and small measuring errors compound quickly.
Triangle Areas
For triangles, area is 0.5 × base × height, where the calculator treats your length and width entries as base and height. Measure the base along the longest side and the height as the perpendicular distance from that side to the opposite corner. Triangular corner beds and wedge-shaped grading areas are common uses, and this formula keeps you from over-ordering for these smaller spaces.
Worked Example: A 20 ft × 10 ft Garden Bed at 4 Inches
Let us walk through the exact example from the introduction. The bed is a rectangle, 20 feet long and 10 feet wide, and you want 4 inches of new topsoil. Step one: area = 20 × 10 = 200 square feet. Step two: depth in feet = 4 ÷ 12 = 0.333 feet. Step three: volume = 200 × 0.333 = 66.67 cubic feet. Step four: cubic yards = 66.67 ÷ 27 = 2.47 cubic yards.
Now add the default 10 percent waste factor: 2.47 × 1.10 = 2.72 cubic yards. In practice you would order 3 cubic yards, since suppliers generally sell in whole or half yards and rounding up is always safer. At roughly 1.3 tons per yard, that is about 3.5 tons of material, or 138 forty-pound bags if you bought it bagged. One calculation gives you the full picture for ordering, hauling, and budgeting.
Why a Waste Factor Saves Your Project
The waste factor, sometimes called the overage or compaction allowance, is the extra percentage you add on top of the theoretical volume. The calculator defaults to 10 percent, which suits most landscaping jobs. Dirt settles and compacts after it is spread and watered, so a bed filled exactly to your calculated depth will sink below the target within weeks. The extra material compensates for that settling.
Spillage, uneven ground, and measuring errors eat into your supply too. A site that looks flat often has dips that drink extra soil, and wheelbarrow trips always leave a trail behind. For rough or rocky ground, bump the waste factor to 15 or 20 percent. For a precise, well-measured raised bed with straight sides, 5 percent may be enough. The cost of a little extra dirt is trivial compared to a second delivery fee, which can run $75 to $150 on its own.
Converting Cubic Yards to Tons
Suppliers sell by volume, but trucks and trailers have weight limits, which is why the calculator also shows tons. Dirt weighs roughly 1.3 tons per cubic yard, though the exact figure varies with moisture and composition. Dry sandy soil is lighter, while wet clay can push toward 1.5 tons per yard. Multiply your yardage with waste by 1.3 to get the estimated tonnage.
This number matters most when hauling the material yourself. A standard half-ton pickup truck can safely carry about half a cubic yard of dirt per trip, which is roughly 1,300 pounds. Our 2.72-yard example weighs about 3.5 tons, meaning roughly seven pickup loads. That single insight often convinces homeowners to pay for delivery instead, since seven trips to the landscape yard will consume an entire Saturday.
Bulk Delivery vs. Bagged Dirt
You can buy dirt two ways: loose in bulk by the cubic yard, or in bags from a garden center. Bulk is almost always cheaper per unit. A cubic yard of topsoil might cost $35 to $60 delivered in bulk, while the same volume in 40 lb bags could cost three to five times more. The calculator shows the bag equivalent so you can see the tradeoff clearly: our example needs 138 bags, which is a mountain of plastic and a brutal loading session.
Bagged dirt still wins in a few situations:
- Small jobs under half a yard: suppliers may not deliver tiny quantities, and bags avoid a minimum-order fee.
- No dump access: if a truck cannot reach your yard, bags carried by hand may be the only option.
- Apartment or balcony projects: container gardens and rooftop planters are easier to supply bag by bag.
- Exact specialty mixes: potting soil and amended blends often come only in bags.
For anything over a cubic yard with truck access, bulk delivery wins on price, speed, and waste. One dump truck load replaces well over a hundred bags.
How to Order the Right Amount
Once you have your number, ordering is straightforward. Follow this sequence to avoid surprises on delivery day:
- Calculate with waste included and round up to the nearest half or whole yard.
- Call two or three suppliers and compare the per-yard price plus the delivery fee, not just the headline price.
- Confirm the material type: topsoil, fill dirt, and garden mix are different products at different prices.
- Describe your truck access so the driver knows where the pile can be dumped.
- Lay a tarp where the load will land to protect your driveway and make cleanup easy.
- Schedule dry weather if possible, since wet dirt is heavier, harder to spread, and compacts more.
Common Mistakes That Cost Money
Most dirt-ordering errors come from the same handful of oversights. Watch for these before you place your order:
- Mixing up inches and feet in the depth field is the classic error. Four feet of depth is twelve times more dirt than four inches.
- Measuring only the visible area and forgetting that soil sinks into soft ground below.
- Skipping the waste factor to save a few dollars, then paying a full second delivery fee.
- Ordering topsoil when fill dirt would do for the bottom layers of a deep bed, which wastes money on premium material.
- Ignoring the weight and overloading a trailer or truck beyond its rated capacity.
- Forgetting the delivery pile location, then wheelbarrowing dirt an extra fifty feet all afternoon.
Frequently Asked Questions
How many cubic feet are in a cubic yard of dirt?
There are 27 cubic feet in one cubic yard. A cubic yard is a cube measuring 3 feet long, 3 feet wide, and 3 feet tall, and 3 × 3 × 3 equals 27. To convert cubic feet to cubic yards, simply divide by 27.
How much does a cubic yard of dirt weigh?
A cubic yard of dirt weighs roughly 1.3 tons, or about 2,600 pounds. Dry, loose topsoil is lighter at around 2,000 pounds per yard, while wet clay can exceed 3,000 pounds. Moisture content is the biggest variable, so treat any weight figure as an estimate.
How many 40 lb bags of dirt make a cubic yard?
It takes about 51 forty-pound bags to equal one cubic yard, assuming dirt weighs around 2,025 pounds per yard. In practice, plan on slightly more because bagged weights vary and spillage adds up. The calculator computes the exact bag count for your project automatically.
What is the difference between topsoil and fill dirt?
Topsoil is the dark, nutrient-rich upper layer of soil used for planting, lawns, and garden beds. Fill dirt is the cheaper subsoil layer used to raise grades and fill holes where nothing will grow. Never pay topsoil prices for fill work.
How deep should topsoil be for a garden bed?
Most vegetable and flower beds need 6 to 12 inches of good topsoil. Lawns need 4 to 6 inches. Deeper is better for root crops like carrots, while shallow-rooted flowers do fine at 6 inches. Measure your planned depth before calculating.
Should I add extra dirt for settling and compaction?
Yes. Add 10 to 20 percent extra for settling, spillage, and uneven ground. Freshly spread dirt compacts noticeably after watering and foot traffic. The calculator includes a waste factor field defaulting to 10 percent for exactly this reason.
Can I calculate dirt for an L-shaped or irregular area?
Yes. Split the area into rectangles, triangles, or circles, calculate each piece with the calculator, and add the cubic yards together. For very irregular shapes, break them into the closest combination of simple shapes and round up generously.
How many cubic yards fit in a pickup truck?
A full-size pickup bed holds about 2 to 3 cubic yards by volume, but weight is the real limit. A half-ton truck should carry no more than half a yard of dirt per trip. Heaped loads also spill, so keep the load level and secured.
How much does a cubic yard of dirt cost?
Bulk topsoil typically costs $35 to $75 per cubic yard, plus a delivery fee of $50 to $150. Fill dirt is cheaper at $15 to $30 per yard. Prices vary by region and season, so get quotes from at least two local suppliers.
Is it cheaper to buy dirt in bulk or in bags?
Bulk is almost always cheaper per cubic yard, often by a factor of three to five. Bags make sense only for small jobs under half a yard, sites with no truck access, or when you need a specialty mix that is not sold in bulk.
How do I measure the depth for my dirt calculation?
Decide the finished depth you want, measure it in inches, and enter that number. The calculator converts inches to feet automatically. For filling a low spot, measure the depth at the lowest point and a few other spots, then use the average.
What does a 10 percent waste factor mean?
It means ordering 10 percent more than the theoretical volume. If your project needs 2.47 cubic yards, a 10 percent waste factor brings the order to 2.72 yards. This buffer covers settling, spillage, and small measuring errors without a second delivery.
How many cubic yards do I need for a 10×10 area at 6 inches deep?
A 10 ft × 10 ft area at 6 inches deep needs 1.85 cubic yards before waste. The math is 10 × 10 × 0.5 = 50 cubic feet, divided by 27. With a 10 percent waste factor, order about 2.04 yards, which rounds up to 2 or 2.5 yards in practice.
Does wet dirt weigh more than dry dirt?
Yes, significantly. Water fills the air pockets between soil particles, and a cubic yard of saturated soil can weigh 30 to 50 percent more than dry soil. This matters for hauling limits and trailer capacity, so schedule deliveries in dry weather when possible.
Can I use this calculator for gravel or mulch too?
Yes. The volume math is identical for any loose material: length × width × depth ÷ 27. Only the weight conversion changes, since gravel is heavier at about 1.4 tons per yard and mulch is lighter at roughly 0.4 tons per yard.
Conclusion
Ordering dirt is a volume problem with a simple solution. Measure your area, pick the right shape, convert depth to feet, and divide by 27. Add a sensible waste factor, check the weight before you haul, and compare bulk against bagged pricing. The Dirt Cubic Yard Calculator does all of this in seconds, turning a guessing game into a confident order. Run your numbers before you call the supplier, round up rather than down, and your project will start with exactly the material it needs and nothing wasted.