How to Calculate Cubic Yards

By Hassan Nawaz, Publisher. Updated November 11, 2026.

Multiply length, width and depth in feet to get cubic feet, then divide by 27. This page shows the formula for rectangles, circles, triangles and odd shapes, each with a worked example.

Step by step

  1. Measure in feet. Convert inches by dividing by 12. A depth of 3 inches is 0.25 ft.
  2. Find the area in square feet using the shape formulas below.
  3. Multiply by depth in feet to get cubic feet.
  4. Divide by 27 to get cubic yards.
  5. Add 5 to 10% for settling, uneven ground and spills.

Area formulas

ShapeAreaExampleArea
Rectanglelength × width12 ft × 8 ft96 sq ft
Circle3.1416 × radius²10 ft across (radius 5)78.5 sq ft
Trianglebase × height ÷ 210 ft base, 6 ft tall30 sq ft
Half circle1.5708 × radius²radius 4 ft25.1 sq ft
Trapezoid(top + bottom) ÷ 2 × height6 ft and 10 ft, 5 ft tall40 sq ft

Three worked examples

A mulch bed

A bed 12 ft × 8 ft with mulch 3 inches deep: 96 sq ft × 0.25 ft = 24 cubic feet ÷ 27 = 0.89 cubic yards, or 0.98 with 10% extra. Order 1 yard.

A round fire pit area

A circle 10 ft across filled with gravel 4 inches deep: 78.5 sq ft × 0.333 ft = 26.2 cubic feet ÷ 27 = 0.97 cubic yards, or 1.07 with 10% extra.

An L-shaped patio base

Split it into two rectangles that do not overlap: 20 × 10 ft and 8 × 6 ft. That is 200 + 48 = 248 sq ft. At 4 inches deep: 248 × 0.333 = 82.7 cubic feet ÷ 27 = 3.06 cubic yards, or 3.37 with 10% extra.

Irregular areas

Break the shape into rectangles, circles and triangles, find each area and add them. Enter the total in the area box of the cubic yard calculator, which replaces length and width. If you only have the area, the square feet to cubic yards calculator does the same job.

Slopes and depth. If the depth varies, measure it at the shallowest and deepest points and use the average.

Shapes beyond a rectangle

ShapeArea formulaExampleCubic yards at 3 in
Rectanglelength × width20 × 10 ft = 200 sq ft1.85
Circle3.1416 × radius²radius 5 ft = 78.5 sq ft0.73
Triangle½ × base × heightbase 12, height 8 = 48 sq ft0.44
Half circle½ × 3.1416 × radius²radius 6 ft = 56.5 sq ft0.52

Mistakes to avoid

Frequently asked questions

What is the formula for cubic yards?

Length × width × depth, all in feet, divided by 27.

How do I calculate cubic yards of mulch?

Multiply the bed area in square feet by the depth in feet and divide by 27. A 100 sq ft bed 3 inches deep needs 0.93 cubic yards.

How do I calculate cubic yards for a circle?

Find the area with 3.1416 × radius squared, multiply by the depth in feet, then divide by 27.

Sources

Calculators for this

Last updated November 11, 2026. Weights are typical supplier values. How we check our data. Found an error? Tell us.