Cubic Yard Calculator
Convert the dimensions of a bed, trench, hole or slab into cubic yards, cubic feet and cubic metres. Choose a box, cylinder or triangular shape, enter dimensions in feet and inches or metres, and optionally add a density to get an estimated weight. It is handy for ordering topsoil, mulch, compost, sand, fill dirt or ready-mix concrete.
Cubic yard calculator
How to use the cubic yard calculator
- Choose a shape. Box for beds, trenches and slabs; cylinder for round holes, planters and tree rings; triangle for wedge-shaped corner beds.
- Enter the dimensions. Type length, width and depth (or diameter and depth). Imperial accepts feet and inches such as 10' 6"; metric uses metres.
- Set quantity. If you have several identical beds or holes, enter how many to multiply the total.
- Add a density for weight (optional). Enter the material's density in tonnes per cubic metre if your supplier sells by weight.
- Read the result. The calculator shows cubic yards, cubic feet and cubic metres, and the estimated weight if you entered a density.
The formula explained
A cubic yard is a volume 3 feet long, 3 feet wide and 3 feet deep. The calculator finds the volume of your shape and converts it into the units you need.
Box: V = Length × Width × Depth
Cylinder: V = π × (Diameter ÷ 2)² × Depth
Triangle: V = ½ × Base × Height × Depth
Cubic yards = Cubic feet ÷ 27 | Cubic metres = Cubic yards × 0.764555
Units matter. Depth is normally measured in inches, so convert to feet first by dividing by 12. Ten inches is 0.833 ft, not 0.10 ft. In metric, convert millimetres or centimetres to metres: 150 mm is 0.15 m.
Exact factors. Because the international yard is defined as exactly 0.9144 m, one cubic yard is exactly 0.764554857984 m³. The calculator uses this exact value internally.
Weight. Volume × density gives weight. Many suppliers quote density in tonnes per cubic metre, so the optional density field uses that unit.
Worked examples
Example 1: a raised garden bed (imperial)
A bed 12 ft long, 4 ft wide, filled 10 inches deep.
- Volume: 12 × 4 × (10 ÷ 12) = 40 ft³.
- Cubic yards: 40 ÷ 27 = 1.48 yd³.
- Cubic metres: 1.48 × 0.764555 = 1.13 m³.
Most landscape yards sell in half or quarter yards, so you would order 1.5 yd³.
Example 2: topsoil for a lawn area (metric)
An area 5 m by 2 m that needs 15 cm of topsoil.
- Volume: 5 × 2 × 0.15 = 1.5 m³.
- Cubic yards: 1.5 × 1.308 = 1.96 yd³.
- In 40-litre bags: 1,500 ÷ 40 = 37.5, so 38 bags, or one bulk bag if your supplier’s bag holds at least 1.5 m³ of that product.
Example 3: mulch rings around three trees
Each ring is 8 ft across and mulched 3 inches deep.
- One ring: π × 4² × 0.25 = 12.57 ft³ = 0.47 yd³.
- Three rings: 1.40 yd³ (37.7 ft³).
- In 2 ft³ bags: 37.7 ÷ 2 = 18.85, so 19 bags.
Regional notes
US suppliers sell bulk soil, mulch and concrete by the cubic yard and bags by the cubic foot (1, 1.5, 2 or 3 ft³). In the UK, Australia and Canada, bulk materials are usually sold by the cubic metre or tonne, and bagged products by the litre.
Irregular and sloping areas
Real jobs are rarely perfect rectangles. For an L-shaped bed or slab, split the area into rectangles, calculate each one separately and add the volumes together. For a circular area such as a tree ring or round patio, the area is π × radius², so a circle 10 ft across (radius 5 ft) covers about 78.5 ft²; at 3 inches deep that is 78.5 × 0.25 = 19.6 ft³, or about 0.73 cubic yards. For a triangle, the area is half the base times the height.
Sloping ground needs an average depth. If a bed is 2 inches deep at one end and 6 inches deep at the other, use the average of 4 inches. Where the depth varies a lot, take several measurements across the area and average them; this is more reliable than guessing from the deepest point.
Converting cubic yards to weight
Bulk suppliers sometimes sell by weight rather than volume, so it helps to know roughly how heavy a cubic yard is. The answer depends entirely on the material and its moisture content. Dry mulch is light, while gravel, sand and topsoil are much heavier, commonly in the range of roughly 1 to 1.5 short tons per cubic yard. Because densities vary by product and supplier, ask your supplier for their figure and multiply it by the volume from this calculator. The gravel calculator does this conversion for aggregates using an editable density.
Tips and common mistakes
- Convert inches before dividing by 27. Never multiply feet by inches.
- Check delivery minimums and combine orders to save money.
- Check your trailer payload. A yard of wet soil or sand is very heavy.
- Stone or concrete? Use the gravel calculator or concrete calculator.
Plan the rest of the project
Filling a bed or levelling a lawn? The dirt calculator adds soil weights and truckloads, and the sand calculator does the same for sand. To turn yards into tons for a delivery, use the cubic yards to tons calculator.
Frequently asked questions
How do I calculate cubic yards?
Multiply length × width × depth in feet to get cubic feet, then divide by 27. For example, a bed 12 ft × 4 ft × 10 in deep is 12 × 4 × 0.833 = 40 ft³, which is 40 ÷ 27 = 1.48 cubic yards.
Why divide by 27?
A cubic yard is a cube 3 ft on each side, so it contains 3 × 3 × 3 = 27 cubic feet.
How do I convert cubic yards to cubic metres?
Multiply cubic yards by 0.764555. To convert cubic metres to cubic yards, multiply by about 1.308.
How much area does a cubic yard of mulch cover?
One cubic yard is 324 ft² at 1 inch deep, so at 3 inches it covers about 108 ft², and at 2 inches about 162 ft².
How many bags of mulch or soil make a cubic yard?
Bagged garden products in the US are often sold in 2 ft³ bags, so 13.5 bags make one cubic yard. In the UK and Australia, bags are labelled in litres; 1 m³ is 1,000 litres.
Should I order extra soil?
Soil and compost settle after being spread and watered, so many gardeners order a little more than the calculated amount. The exact amount depends on the product and how loose it is when delivered.
How much does a cubic yard of soil weigh?
It depends on moisture and composition. Suppliers can give a figure for their product; enter it as a density in the optional field to estimate the weight, which matters for small trucks and trailers.
Can I use this for concrete?
Yes. Ready-mix concrete in the US is ordered by the cubic yard. For bag counts, rebar and mixes, use the dedicated [concrete calculator](/home-diy/concrete-calculator/) and [rebar calculator](/home-diy/rebar-calculator/).
Related calculators
Gravel Calculator
Cubic yards, tons, m³ and tonnes of gravel or crushed stone for any area.
Concrete Calculator
Cubic yards, m³ and premix bag counts for slabs, footings, post holes and steps.
Square Footage Calculator
Area of rooms and L-shapes in sq ft, m² and sq yd, with cut-outs and waste.
Volume Calculator – Box, Cylinder, Sphere, Cone and Pyramid
Volume of a box, cube, cylinder, sphere, cone, pyramid or hemisphere.
Sources and references
About this calculator
Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 1 November 2026. See our editorial policy. If you spot a mistake, report it.
Results are estimates for planning and ordering. Always check product labels, supplier advice and local building codes, and consult a qualified professional for structural work. Read the disclaimer.