D
DirtCalculator Topsoil & Sand Estimator
Soil Calculation

How to Calculate Topsoil Yardage: The Complete Soil Guide

Landscaping Review Board Updated August 12, 2026 9 Min Read

Whether you are laying down a new lawn, building a series of raised garden beds, or grading a slope to resolve drainage issues, purchasing the correct amount of topsoil is critical. Buy too little, and you will halt progress mid-project to pay for extra delivery fees. Buy too much, and you will be stuck with a heavy, muddy mountain of dirt taking up space in your driveway. In this comprehensive guide, we explain how to calculate topsoil yardage like a professional landscaper, taking into account volume math and the vital factor of soil compaction.

1. What is a "Yard" of Dirt?

In the construction and landscaping industries, materials like soil, sand, gravel, and mulch are sold by the **cubic yard**. A cubic yard is a measure of volume, not weight.

One cubic yard represents the volume of a cube that is **3 feet wide, 3 feet long, and 3 feet deep** (or 27 cubic feet).

Visualizing a Cubic Yard of Topsoil

  • In Dimensions: 3 ft × 3 ft × 3 ft = 27 cubic feet.
  • In Bags: One cubic yard is equivalent to approximately **27 standard 1-cubic-foot bags** or **54 standard 0.5-cubic-foot bags** of soil from a home improvement store.
  • In Weight: A cubic yard of dry topsoil weighs approximately **2,000 to 2,200 pounds** (about 1 ton). If the soil is wet, it can easily weigh up to **3,000 pounds** (1.5 tons).

2. The Cubic Yardage Volume Formula

To calculate how many cubic yards of soil you need for a rectangular or square area, follow this standard three-step mathematical process:

Step 1: Calculate Area in Sq Ft = Length (ft) × Width (ft)
Step 2: Convert Depth to Feet = Depth (inches) / 12
Step 3: Calculate Cubic Yards = (Area × Depth in Feet) / 27

*Example: If you have a garden bed that is 20 feet long and 10 feet wide, and you want to add 4 inches of topsoil: Area = 200 sq ft. Depth = 4/12 = 0.333 ft. Volume = 200 × 0.333 = 66.6 cubic feet. Yards = 66.6 / 27 = 2.47 cubic yards.*

3. Depth Guidelines for Landscaping Projects

Depending on what you are planting, the required depth of your topsoil layer changes significantly:

Application Ideal Topsoil Depth Description / Recommendation
Laying Sod or Seeding Lawns 4 to 6 Inches Provides a strong root bedding layer to retain moisture and prevent dry patches.
Raised Vegetable Beds 8 to 12 Inches Allows deep root growth for nightshades and tubers (tomatoes, carrots, potatoes).
Flower & Perennial Beds 6 to 8 Inches Encourages rapid rooting and supports optimal drainage patterns.
Shrubs & Trees 12 to 18 Inches Requires a much deeper zone of high-quality organic material.

4. The Compaction Factor: Why You Need Extra

When topsoil is freshly dumped, it is highly aerated and fluffy. However, once you spread it, rake it, step on it, and saturate it with water, the soil particles settle and compact.

If you purchase the exact mathematical volume calculated in Step 2, you will find that after settling, the soil layer is **10% to 20% shallower** than your target depth.

⚠️ Adjusting for Soil Compaction

Always add a **15% compaction buffer** to your topsoil order. To do this, simply multiply your calculated cubic yardage by **1.15**. For our previous example of 2.47 yards, multiplying by 1.15 yields **2.84 yards** (we would round this up to 3 yards for the supplier).

5. Using a Topsoil Yardage Calculator

Skip the manual multiplication and unit conversions. Use our free, interactive landscaping calculator on the home page. It lets you select between dirt, topsoil, sand, and gravel, choose rectangle or circular boundaries, adjust depths, and automatically calculates the exact cubic yardage, total weight (lbs/tons), and the number of 40lb bags required with built-in compaction buffers.