For background on soil information, conservation practices, measurement, and standards, homeowners can consult the USDA Natural Resources Conservation Service and the National Institute of Standards and Technology. These resources can help with terminology and measurement principles, but they do not replace a local building department, engineer, surveyor, or contractor.
Calculating cubic yardage is one of the most useful skills for a homeowner planning excavation, grading, drainage work, a driveway base, a patio, a retaining wall, or a raised building area. The calculation itself is usually simple. The difficult part is deciding which dimensions to measure, allowing for sloped or irregular ground, understanding how soil changes volume when excavated, and confirming whether the proposed work needs local approval.
This guide presents the public formula, worked examples, measurement methods, ordering considerations, and a practical permit timeline. It also explains why structural fill requires local confirmation before material is placed or compacted.
What Is the Public Formula for Cubic Yardage?
The standard volume formula for a rectangular area is:
Length × width × depth = cubic feet
Because suppliers commonly sell soil, gravel, sand, mulch, and similar materials by the cubic yard, convert cubic feet to cubic yards by dividing by 27:
Length in feet × width in feet × depth in feet ÷ 27 = cubic yards
For example, a trench that is 30 feet long, 2 feet wide, and 1 foot deep requires:
30 × 2 × 1 ÷ 27 = 2.22 cubic yards
The result is the calculated in-place volume. It is not necessarily the exact quantity to order. Excavated soil may swell after it is removed, while compacted fill may require more loose material than the finished volume suggests.
How Do You Measure Length, Width, and Depth?
Measure each dimension in feet before using the formula. Convert inches to feet by dividing by 12. For example, 6 inches equals 0.5 feet, and 9 inches equals 0.75 feet. If an area is 18 feet 6 inches long, record the length as 18.5 feet.
Measure length and width along the actual work area, not merely the property boundary. For depth, establish a consistent reference point. A laser level, builder’s level, string line, or straight board can help identify the existing grade and the proposed finished grade.
Take several depth readings when the ground is uneven. A single depth measured at one corner can substantially understate the amount of material needed. Record the measurements in a simple table with station, existing elevation, proposed elevation, and depth difference.
How Do You Calculate a Rectangular Area?
Rectangular areas include many patios, slabs, trenches, garden beds, and base preparation zones. Multiply the measured length by width and then by depth.
Suppose a homeowner is preparing a 20-foot by 12-foot patio area with a 4-inch gravel base. Convert 4 inches to 0.333 feet:
20 × 12 × 0.333 ÷ 27 = 2.96 cubic yards
The mathematical result is approximately 3.0 cubic yards. Before ordering, confirm the supplier’s guidance about compaction and delivery increments. A compacted gravel base may require more loose aggregate than the final measured volume because the particles settle and lock together during placement.
How Do You Calculate an Irregular or Sloped Area?
Divide an irregular area into smaller rectangles, triangles, or other simple shapes. Calculate each section separately, then add the results.
For changing depth, use the average depth only when the ground changes gradually and the work is reasonably uniform. The basic approach is:
Average depth = sum of measured depths ÷ number of measurements
Then apply the average depth to the area:
Length × width × average depth ÷ 27 = approximate cubic yards
For example, a 40-foot by 10-foot area has measured depths of 0.5, 0.75, 1.0, and 1.25 feet. The average depth is 0.875 feet. The estimated volume is:
40 × 10 × 0.875 ÷ 27 = 12.96 cubic yards
This method is useful for preliminary budgeting. It becomes less reliable where there are abrupt grade changes, buried objects, steep slopes, or engineered elevation requirements.
How Do You Calculate a Trench?
A straight-sided trench uses the rectangular formula. If the trench is 60 feet long, 18 inches wide, and 24 inches deep, convert the dimensions first:
60 × 1.5 × 2 ÷ 27 = 6.67 cubic yards
That is the approximate in-place excavation volume. The actual excavation may be larger if the trench must be widened for safety, access, bedding, pipe connections, or local construction requirements. A trench for a utility, drainage system, footing, or foundation may also require inspections or approved plans.
Do not assume that an excavation can be made vertically or that a trench can be entered safely. Soil conditions, depth, access, and protective measures affect the work. Confirm requirements with the responsible contractor and local authority before excavation.
How Do You Calculate a Circular or Cylindrical Area?
For a circular area, first calculate the area of the circle:
3.14 × radius × radius = square feet
Then multiply by depth and divide by 27:
3.14 × radius × radius × depth ÷ 27 = cubic yards
If a round planting bed is 10 feet across and 0.5 feet deep, the radius is 5 feet:
3.14 × 5 × 5 × 0.5 ÷ 27 = 1.45 cubic yards
A circular driveway or fire-pit area may not be a perfect circle. Break it into sections or use measured average dimensions for a more realistic estimate.
How Much Extra Material Should You Order?
There is no single universal allowance. The appropriate amount depends on the material, moisture, handling, compaction, delivery method, and accuracy of the measurements.
For a neat, level area with carefully measured dimensions, a homeowner may use a modest planning allowance. For irregular excavation, rough grading, loose soil, hand placement, or significant compaction, a larger allowance may be appropriate. Ask the supplier or installer to state whether the quoted quantity is loose volume, delivered volume, compacted volume, or estimated in-place volume.
Keep two calculations separate:
- Excavation volume: the material removed from the ground.
- Placement volume: the material needed to create the finished grade or base.
Excavated soil can expand when loosened. Fill can shrink as it is compacted. These changes are called swell and shrinkage, and they vary by soil type and moisture. A supplier, geotechnical professional, or experienced local contractor can help select a reasonable allowance.
What Is the Difference Between Fill, Topsoil, and Base Material?
Material names are not interchangeable. Topsoil is generally used for planting. Common fill may be used to raise low areas, but its suitability depends on soil composition, drainage, and the intended use. Aggregate base is commonly selected for certain hardscape or pavement assemblies. Structural fill is a more demanding category because it may support a slab, footing, wall, driveway, or other load-bearing improvement.
Ask for the material description, source, gradation, moisture expectations, and compaction requirements in writing. A decorative landscape soil should not be substituted for an engineered base simply because both products are sold by the cubic yard.
Why Must You Confirm Structural Fill Locally?
Structural fill can affect settlement, drainage, foundation performance, frost behavior, and the safety of the finished construction. Local requirements may identify acceptable soil types, testing procedures, lift thicknesses, density targets, drainage details, or inspection stages. The correct answer depends on the project, soil conditions, climate, governing authority, and design professional.
Before ordering structural fill, confirm locally with the building department, public works office, geotechnical professional, structural engineer, or qualified contractor. Ask:
- Is the proposed work considered structural or nonstructural?
- Is an engineered design, soil report, or compaction testing required?
- What material description or specification is accepted?
- How thick may each placed lift be?
- Who must inspect or document compaction?
- Does the finished grade affect drainage, neighboring property, or an easement?
Do not rely on a national calculator or a supplier’s general recommendation as approval for structural use. Confirm the project-specific requirements before placement.
Does Cubic Yardage Affect a Permit?
Sometimes. Permit decisions are usually based on the type, location, purpose, and effect of the work, not only on the number of cubic yards. Excavation or fill near a foundation, property line, watercourse, public right of way, steep slope, septic system, drainage route, or retaining wall may receive additional review.
A small quantity can still matter if it changes drainage or supports a structure. A larger landscape project may have different requirements from a structural excavation. Contact the local authority before work begins and describe the actual scope, including excavation, imported fill, grading, drainage, retaining features, and final elevations.
What Permit Timeline Should a Homeowner Expect?
A practical planning timeline has several stages. The duration varies by location and project complexity, so treat the following as a planning sequence rather than a guaranteed schedule.
- Initial review: Contact the local building or planning office and describe the project.
- Site information: Gather property details, photos, measurements, drainage information, and any available plans.
- Professional input: Obtain engineering, surveying, geotechnical, or drainage input if the authority or project conditions require it.
- Application preparation: Complete the applicable forms and drawings, including proposed grades and material details when requested.
- Submission: Submit through the local process and pay only the fees confirmed by that authority.
- Plan review: Respond to correction comments or requests for additional documents.
- Approval and issuance: Wait for written authorization before beginning regulated work.
- Inspection scheduling: Confirm when inspections are required, especially before covering fill, footings, drainage, or utilities.
- Construction: Place, grade, and compact materials according to the approved plans or local instructions.
- Closeout: Complete final inspections, documentation, or as-built information if required.
For a simple project, the review may be relatively short. Projects involving structural fill, retaining walls, drainage, grading changes, or multiple agencies can take longer because additional documents and field reviews may be needed. Ask the local office for its current review expectations and whether an appointment is recommended.
How Should You Budget the Material and Delivery?
Request written quotes from local suppliers and contractors. Compare the material price, delivery charge, minimum load, access limits, waiting time, taxes, placement, spreading, grading, compaction, testing, and disposal. Costs commonly vary by region, material type, distance, quantity, and site access, so a local typical range is more useful than a national figure.
Ask each quote to identify the unit clearly, such as delivered cubic yard, ton, load, or hour. Do not compare a compacted estimate from one bidder with a loose delivered volume from another without clarification. For a meaningful budget, obtain at least two or three local quotes when practical and keep a contingency for unsuitable soil, hidden obstructions, weather delays, or revised grades.
What Common Errors Change the Cubic-Yard Result?
- Using inches in the formula without converting them to feet.
- Dividing by 12 instead of dividing the final cubic feet by 27.
- Measuring only one depth in an uneven area.
- Confusing the radius with the diameter of a circular area.
- Ignoring slopes, side slopes, over-excavation, or working room.
- Assuming excavated soil, loose delivery, and compacted fill have identical volumes.
- Ordering landscape material for a structural application.
- Changing drainage or grade without confirming local requirements.
- Starting work before a required permit or inspection is complete.
How Can You Document the Calculation?
Keep a short project record. Include a sketch, dimensions, depth readings, formulas, material descriptions, supplier quotes, delivery tickets, photographs, and local confirmation about permits or inspections. If the design changes, update the calculation rather than relying on the original order.
A useful worksheet has these columns: area name, length, width, average depth, cubic feet, cubic yards, material type, compaction allowance, and final quantity ordered. This record helps explain differences between the estimate and the delivered amount.
When Should You Use a Professional?
Consider professional help when the work supports a building, footing, retaining wall, driveway on a slope, drainage system, or other improvement where settlement or water movement could cause damage. Professional input is also prudent where grades cross property boundaries, fill is unusually deep, soil conditions are uncertain, or the local authority requests plans, testing, or certification.
For ordinary landscaping, the public formula may provide a useful starting point. For structural fill and regulated grading, use the formula as an estimate only, then confirm the design, material, inspection, and permit requirements locally before construction.