Cubic Yard Calculator

Work out cubic yards for soil, fill, mulch or any loose material.

Last updated 2026-11-28 · How we calculate this

Enter the Areas

Measurement system

Area 1

Enter the rectangle length.
Enter the rectangle width.
Enter a depth greater than zero.

Optional, 0% to 50%. Starts at 0%.

Currency labels your figures; it does not convert exchange rates.

Volume Needed

Complete an area and depth to see the volume.

This is a planning estimate based on the measurements you enter. It assumes an even depth across each area and does not account for settling, compaction or moisture beyond the allowance you choose. Confirm bag sizes, bulk prices and delivery rules with your supplier.

Quick Answer

Cubic yards are length × width × depth in feet, divided by 27. A bed 12 ft × 10 ft filled 3 in deep is 12 × 10 × 0.25 = 30 cubic feet, which is 30 ÷ 27 = 1.11 cubic yards.

How to Use This Calculator

Add each part of the job as a named area and choose its shape, then enter one depth for the whole job. The calculator adds the areas, multiplies by the depth and shows the volume in cubic yards and cubic feet, or cubic meters and liters in metric. It works for any loose material sold by volume: dirt, fill, compost, mulch, sand or stone. If you are buying bags, enter the bag size to see how many to buy.

  1. Split the job into rectangles, circles or triangles that do not overlap.
  2. Enter each area's measurements, using whatever unit your tape shows.
  3. Enter the depth you want to fill, and an allowance if you want extra.
  4. Open "Plan a supplier order" and enter the bag size, and a price if you want a cost.

The Formula

Cubic yards = total area (sq ft) × depth (ft) ÷ 27; Bags = volume ÷ bag size, rounded up

A cubic yard is a cube 3 ft on each side, so it holds 3 × 3 × 3 = 27 cubic feet. The calculator converts every measurement exactly, adds the areas at full precision, multiplies by the depth, applies any allowance once and rounds bags up once at the end. In metric mode 1 m³ is 1,000 L, and 1 cubic yard is 0.7646 m³.

Worked Example

A rectangular bed 12 ft × 10 ft (120 sq ft) and a round tree ring 6 ft across (π × 3² = 28.27 sq ft) make 148.27 sq ft. At 3 in deep that is 148.27 × 0.25 = 37.07 cu ft, or 1.37 cu yd. With a 10% allowance it becomes 40.78 cu ft (1.51 cu yd), which is 21 bags of 2 cu ft.

Known area: a lawn of 500 sq ft topped up 2 in deep needs 500 × 2 ÷ 12 = 83.33 cu ft, which is 3.09 cubic yards.

Metric: a bed 3 m × 2 m at 75 mm deep holds 3 × 2 × 0.075 = 0.45 m³, or 450 L. With 50 L bags that is exactly 9 bags.

Frequently Asked Questions

How many cubic feet are in a cubic yard?

There are 27. Picture a box 3 ft long, 3 ft wide and 3 ft tall: 3 × 3 × 3 = 27. That is why the calculator divides cubic feet by 27, and why a pile that looks small on the driveway can still fill a lot of beds.

How much area does a cubic yard cover?

It depends on the depth. One cubic yard spread 1 in deep covers 324 sq ft, 2 in deep covers 162 sq ft, 3 in deep covers 108 sq ft and 4 in deep covers 81 sq ft. Halve the depth and the coverage doubles.

How many bags make a cubic yard?

Divide 27 by the bag size in cubic feet. That is 13.5 bags of 2 cu ft (so 14 to buy), 9 bags of 3 cu ft or 18 bags of 1.5 cu ft. Check the bag label, because some are sold by weight or in liters instead.

How much does a cubic yard weigh?

Weight varies a lot with the material and how wet it is. Dry bark mulch is light, while gravel, sand and wet soil can weigh well over a ton per cubic yard. Ask your supplier for their figure; the Gravel Project Planner and Topsoil Calculator & Project Planner show weights for those materials.

Should I buy bulk or bags?

Bags are easy to carry and suit small jobs. Bulk loads are usually priced per cubic yard and often work out cheaper for bigger jobs, but there may be a delivery charge or a minimum load. Compare the cost of the bags with the bulk price plus delivery for the same volume.

Why should I add an allowance?

Loose material settles and compacts once it is spread and watered, ground is rarely perfectly level, and some is always lost at the edges. A small allowance avoids a second trip or delivery. Leave the box blank if you want the exact measured volume.

Sources: NIST Guide to SI, Appendix B (conversion factors)