Cubic yardage is a volume estimate, not a guarantee of how much material a project will consume. For soil information, drainage considerations, and local mapping, consult the USDA Natural Resources Conservation Service. For measurement and unit-conversion guidance, consult the National Institute of Standards and Technology. Before ordering structural fill, confirm the material specification, compaction requirements, and inspection process with your local building department or a qualified geotechnical professional.
Buying soil, gravel, mulch, sand, or concrete by the cubic yard sounds simple until a delivery arrives and the pile is either too small or far larger than expected. The basic calculation is public and straightforward: multiply length by width by depth, then divide by 27 when all three measurements are in feet.
The difficult part is choosing accurate dimensions and allowing for real-world conditions. Sloped ground, irregular planting beds, compaction, settlement, moisture, soil type, and delivery access can all affect the amount you need. This guide shows the calculation, explains the most common adjustments, and identifies when a simple homeowner estimate is not enough.
What is the public cubic-yard formula?
The standard formula for a rectangular area is:
Cubic yards = length in feet × width in feet × depth in feet ÷ 27
The number 27 comes from the fact that one cubic yard measures 3 feet by 3 feet by 3 feet:
3 × 3 × 3 = 27 cubic feet
For example, a bed that is 20 feet long, 8 feet wide, and 0.25 feet deep contains:
20 × 8 × 0.25 ÷ 27 = 1.48 cubic yards
You would typically order about 1.5 cubic yards before considering settling, waste, or supplier minimums. The supplier may quote a different practical amount depending on the product and delivery method.
How do you convert inches of depth into feet?
Depth is often measured in inches, while the formula requires feet. Divide the inch measurement by 12:
- 1 inch = 0.083 feet
- 2 inches = 0.167 feet
- 3 inches = 0.25 feet
- 4 inches = 0.333 feet
- 6 inches = 0.5 feet
- 12 inches = 1 foot
For a 3-inch layer over a 30-foot by 10-foot area:
30 × 10 × 0.25 ÷ 27 = 2.78 cubic yards
Round only after completing the calculation. Rounding each measurement too early can produce a noticeably different result on a large project.
How do you measure a rectangular area?
Measure the longest dimension in feet, then measure the width from one side to the other. If the area is intended to receive a consistent layer, measure the planned depth in several places rather than relying on one spot.
- Record the length in feet.
- Record the width in feet.
- Convert the planned depth to feet.
- Multiply length by width by depth.
- Divide the result by 27.
- Add a reasonable allowance for settling, waste, and uneven edges.
Use a tape measure for short areas and a measuring wheel for longer runs. If the ground is uneven, take depth readings at a grid of points. The average depth will usually be more useful than the deepest or shallowest measurement.
How do you calculate a circular bed?
For a circle, calculate the surface area first:
Area = 3.14 × radius × radius
The radius is half the diameter. Once the area is known, multiply it by the depth in feet and divide by 27.
Example: a circular bed has a diameter of 12 feet and a depth of 3 inches.
- Radius: 12 ÷ 2 = 6 feet
- Area: 3.14 × 6 × 6 = 113.04 square feet
- Depth: 3 inches = 0.25 feet
- Volume: 113.04 × 0.25 ÷ 27 = 1.05 cubic yards
An order of approximately 1.1 cubic yards may be a reasonable starting estimate, subject to the product and the supplier's selling practices.
How do you calculate an irregular or curved area?
Do not force a complicated shape into one oversized rectangle unless you are deliberately allowing for significant waste. Instead, divide the area into smaller rectangles, triangles, or circles. Calculate each section separately, then add the results.
For a triangle, use:
Area = base × height ÷ 2
Then multiply the triangular area by the material depth and divide by 27. For a curved bed, approximate the shape with several narrow rectangles or use a series of measured sections. More sections generally produce a better estimate.
A useful field method is to sketch the area on paper, label each section, and keep the measurements in the same units. A simple diagram can prevent double-counting or leaving out a narrow corner.
How do you calculate material for a sloped area?
A slope creates two separate questions: the surface area and the desired thickness measured vertically or perpendicular to the slope. A flat-plan measurement may underestimate the actual surface area when the slope is steep.
For a modest slope, homeowners often divide the area into sections and use the average depth. For a steep slope, retaining wall, driveway base, or drainage installation, use a site-specific design rather than a rough volume estimate.
Measure the slope length if the material will be placed along the sloped surface. If you only know the horizontal run and vertical rise, the actual slope length can be estimated with the right-triangle relationship:
Slope length = square root of horizontal run squared plus vertical rise squared
That calculation does not replace professional grading or stability design. It only helps describe the surface more accurately.
How much extra material should you order?
The correct allowance depends on the material and the work. Mulch can settle or scatter. Soil may contain moisture and organic matter. Gravel can spread into small voids. Sand can compact. A measured excavation may also have irregular sides and a rough bottom.
Instead of applying an automatic percentage, ask the local supplier what allowance is typical for the product and application. Request a low-to-high planning range from more than one supplier, and ask whether the quote is based on loose material delivered or compacted material in place.
For a small decorative bed, a modest allowance may be practical. For a large grading project, a driveway, or a deep excavation, the difference between loose volume and compacted volume can be substantial. The supplier or project professional should explain the basis of the estimate.
What is the difference between loose, compacted, and in-place volume?
Loose volume is the amount of material occupying space in a truck or freshly placed pile. Compacted volume is the amount remaining after the material is mechanically or manually densified. In-place volume describes the material occupying its final position in the project.
These volumes are not interchangeable. A supplier may sell by loose cubic yards, while a project plan may require a specified compacted thickness. If a driveway base must finish at a particular depth after compaction, ordering only the finished volume may leave the project short.
Ask these questions before buying:
- Is the material sold by loose cubic yard, weight, or another unit?
- Is the quoted quantity measured before or after compaction?
- What compaction equipment is expected?
- What moisture condition is assumed?
- Does the product contain fines, oversized pieces, or organic matter?
Does soil type change the cubic-yard estimate?
Soil type can change how material behaves during excavation, hauling, placement, and compaction. Clay, sand, silt, gravel, topsoil, and mixtures do not respond identically to water or pressure. Existing soil conditions can also affect drainage, settlement, and bearing performance.
The NRCS provides soil information and mapping resources that can help homeowners understand local soil characteristics. Those resources are useful for planning, but they do not replace a site evaluation for a structural project. A map unit may include variation across a property, and conditions at a specific foundation, wall, or driveway location may differ from generalized mapping.
Can the same formula be used for topsoil, mulch, gravel, and sand?
Yes, the geometric volume formula is the same. What changes is how the material is placed and how much it settles or spreads.
| Material | Common planning issue | Question to ask the supplier |
|---|---|---|
| Topsoil | Moisture, organic content, and settling | Is the product screened, blended, or amended? |
| Mulch | Settling, wind, and uneven spreading | Is the depth measured when freshly placed? |
| Gravel | Particle size and voids between pieces | What size range and gradation does it have? |
| Sand | Moisture and compaction | Is the quantity sold by volume or weight? |
How do you calculate a trench or footing excavation?
For a straight trench with consistent dimensions, multiply length by width by depth and divide by 27. If the trench is 40 feet long, 2 feet wide, and 1 foot deep:
40 × 2 × 1 ÷ 27 = 2.96 cubic yards
Real excavations often have sloped sides, widened areas, bell holes, utility crossings, or irregular bottoms. Measure each section separately. Also distinguish between excavation volume and backfill volume. A trench may require less backfill after pipe, conduit, concrete, or other installed components occupy space.
Never assume that excavated soil is suitable for backfill. It may be wet, frozen, contaminated, highly organic, oversized, or difficult to compact.
What does structural fill require beyond a volume calculation?
Structural fill supports something that matters to stability, such as a building pad, footing, retaining wall, slab, roadway, or engineered driveway. For these uses, cubic yardage is only one part of the work.
Before buying, confirm locally:
- The required material type and gradation
- The maximum loose lift thickness
- The target compaction standard
- Required moisture conditioning
- Testing, inspection, or documentation
- Drainage and separation requirements
- Whether an engineer or geotechnical report is required
Contact the local building department before excavation or delivery. Requirements vary by location and project type. A qualified geotechnical professional can evaluate subgrade conditions, settlement risk, groundwater, slope stability, and appropriate fill specifications. Do not substitute a generic online calculator for a site-specific design.
How should you compare delivery prices?
Material price is only one part of the delivered cost. Ask whether the quote includes delivery, taxes, minimum quantities, loading charges, waiting time, or placement. Confirm the supplier's service area and whether the truck can reach the intended dump location.
Request written low-to-high estimates from local suppliers rather than relying on a single advertised figure. Compare the same material description, quantity basis, delivery distance, and order size. A lower per-yard price may not be lower after delivery or minimum-order charges are included.
Also ask how the supplier defines a cubic yard. A loose truckload and a compacted project requirement should not be compared as if they were identical.
What mistakes cause homeowners to order too little?
The most common mistakes are using inches without converting to feet, measuring only the visible surface, ignoring slope, forgetting that the excavation is irregular, and treating compacted volume as loose volume.
Other errors include measuring the wrong width, omitting side strips, failing to subtract existing concrete or structures, and rounding down. A sketch, repeated measurements, and a second calculation can catch many problems before the order is placed.
For a large project, have another person independently check the dimensions. If the two results differ, resolve the measurements before contacting the supplier.
What is a practical final checklist before ordering?
- Draw the area and divide irregular shapes into simple sections.
- Measure length and width in feet.
- Convert every depth measurement from inches to feet.
- Calculate each section separately.
- Add the section volumes together.
- Decide whether the result represents loose, compacted, or in-place volume.
- Ask the supplier about settling, product variation, and recommended allowance.
- Confirm the material specification and delivery conditions.
- Confirm local requirements if the material will support a structure or pavement.
- Keep the written quote, product description, and measurement notes.
The formula is simple, but a dependable order depends on the assumptions behind it. Use cubic yardage to create a transparent planning estimate, then confirm material behavior, local requirements, and delivery details before you buy.