Cubic Yard Calculator

Enter the length, width, and depth of your area to find out exactly how many cubic yards of soil, mulch, gravel, or sand you need.

Dimensions

Common depths:

Add extra for waste and uneven ground

Example: 12 ft × 10 ft, 4 in deep

1.48cubic yards

40 cubic feet · 1.13 m³

Or in bags: 40 × 1 cu ft · 27 × 1.5 cu ft · 20 × 2 cu ft · 14 × 3 cu ft

Enter your own measurements above to replace this example.

Results are estimates; compaction and uneven ground can change how much you need. We recommend ordering 5–10% extra.

How to calculate cubic yards

Multiply length × width × depth, with all three in feet, to get cubic feet, then divide by 27, because a cubic yard is 27 cubic feet. A 12 × 10 ft bed filled 4 inches deep is 12 × 10 × (4 ÷ 12) = 40 cubic feet, or about 1.48 cubic yards.

Formula

Cubic yards = length (ft) × width (ft) × depth (ft) ÷ 27

1 cubic yard = 27 cubic feet (3 ft × 3 ft × 3 ft)

Worked example

12 ft × 10 ft, 4 in deep

  1. Find the area: 12 ft × 10 ft = 120 sq ft.
  2. Convert the depth to feet: 4 in ÷ 12 = 0.333 ft.
  3. Multiply by the depth: 120 sq ft × 0.333 ft = 40 cubic feet.
  4. Divide by 27: 40 ÷ 27 = 1.48 cubic yards.

Measuring in inches, yards or meters

Convert every measurement to feet before you multiply: divide inches by 12, multiply yards by 3, and divide meters by 0.3048. Depth is usually measured in inches, so 4 inches becomes 4 ÷ 12 = 0.33 ft. The calculator does this for you when you pick the unit next to each box.

If the area is not a rectangle, split it into rectangles, circles and triangles, work out each part, and add the cubic yards together.

How deep should the material be?

The right depth depends on the job. These are the depths that work for most residential projects; the table under it shows how far a cubic yard goes at each one.

MaterialDepthNotes
Mulch / bark2–4 in3 in suppresses weeds without suffocating roots.
Compost topdressing1–2 inThicker layers can smother an established lawn.
Garden / raised bed soil6–12 inMatch to the root depth of what you are planting.
Decomposed granite path2–3 inCompact in lifts for a firm walking surface.
Decorative gravel2–3 inDeeper looks better but is harder to walk on.
Gravel base / road base4–6 inGo deeper for vehicle loads.
Sand leveling course1–2 inScreed flat before setting pavers.

Cubic yards by depth

How far one cubic yard spreads, and how much you need for every 100 square feet, at common depths.

DepthOne cubic yard coversCubic yards per 100 sq ft
1 in324 sq ft0.31
2 in162 sq ft0.62
3 in108 sq ft0.93
4 in81 sq ft1.23
6 in54 sq ft1.85
8 in40.5 sq ft2.47
12 in27 sq ft3.7

Bags or bulk?

A cubic yard is 27 cubic feet: 27 one-cubic-foot bags, 18 bags of 1.5 cubic feet, 13½ bags of 2 cubic feet or 9 bags of 3 cubic feet. The calculator shows the bag count for your result. Bulk material is delivered loose by the cubic yard, with no bags to carry and open.

Bagged soil and mulch are sold by the cubic foot. Divide 27 by the bag size to see how many bags make a cubic yard.

Bag sizeBags per cubic yard
0.75 cu ft36
1 cu ft27
1.5 cu ft18
2 cu ft13.5
3 cu ft9

Frequently asked questions

How many cubic feet are in a cubic yard?

27. A cubic yard is a cube 3 feet long, 3 feet wide and 3 feet high, and 3 × 3 × 3 = 27 cubic feet.

How many yards of dirt do I need?

Measure the length and width of the area in feet and choose a depth. Multiply length × width × depth in feet and divide by 27. A 20 × 30 ft area filled 6 inches deep is 20 × 30 × 0.5 = 300 cubic feet, or 11.1 cubic yards.

How much area does a cubic yard cover?

324 square feet at 1 inch deep, 162 at 2 inches, 108 at 3 inches and 81 at 4 inches. For any depth, divide 324 by the depth in inches.

Should I order extra?

Most projects need a little more than the measurement, for uneven ground, settling and spills, so we recommend 5–10% extra. Choose 5% or 10% under the inputs and the calculator adds it to the result.

Is fill dirt calculated differently?

The volume is the same, but loose fill shrinks when it is compacted, so you need more loose cubic yards than the space measures. The fill dirt calculator adds a compaction allowance.

Order by the cubic yard

Soil Direct delivers bulk landscape materials by the cubic yard from local suppliers. Enter your address to see delivered prices.

Link to or cite this page

Teachers, writers, landscapers and anyone else are welcome to link to or cite this page. Please credit Soil Direct.

Citation

Soil Direct. "Cubic Yard Calculator." soildirect.com, 2026. https://soildirect.com/calculator/cubic-yard-calculator/

Link HTML

Cubic Yard Calculator by <a href="https://soildirect.com/calculator/cubic-yard-calculator/">Soil Direct</a>