Shape calculator

Rectangle Cubic Yard Calculator

Enter your rectangle measurements and get cubic yards, cubic feet, and weight at once.

Rectangle cubic yard calculator

Price estimator (optional)

Enter your supplier price. The price per ton works when a material is selected.

How the rectangle calculator works

Most beds, slabs, and fill areas are rectangles or close to it, so this is the calculator you will use most.

Use this cubic yard calculator for a rectangle to get cubic yards, cubic feet, cubic meters, and a cost estimate in one step.

The calculator multiplies out the volume in cubic feet, then divides by 27, because a cubic yard is a cube that is 3 feet on each side. For this shape the formula is shown below in words and symbols.

Length × Width × Depth ÷ 27

In plain words: length times width times depth, then divide by 27 if your answer is in cubic feet. Mixed units are fine. Pick feet, inches, yards, meters, or centimeters next to each box and the tool converts them for you.

Worked example for a rectangle

Take a rectangle with length 20 ft, width 10 ft, depth 3 in. The volume works out to 50.00 cubic feet. Divide by 27 and you get 1.85 cubic yards. With 10 percent extra for waste, order about 2.04 cubic yards.

Result: 1.85 cubic yards before waste, 2.04 cubic yards with a 10 percent allowance.

Measuring a rectangle

Measure length and width at the widest points with a tape. If the sides are not square, measure twice and use the average.

Common uses for the rectangle calculator

  • Garden beds and mulch areas
  • Concrete slabs, pads, and patios
  • Gravel driveways and paths
  • Fill dirt for a low spot

Rectangle volume at different sizes

The table scales the example above so you can see how fast volume grows. Doubling the depth doubles the volume. Doubling every length quadruples the area, and with the same depth the volume quadruples too.

Rectangle sizes and volumes (dimensions in the order of the calculator fields)
SizeCubic feetCubic yardsWith 10 percent extra
10 ft by 5 ft by 3 in12.500.460.51
20 ft by 10 ft by 3 in50.001.852.04
30 ft by 15 ft by 3 in112.504.174.58
40 ft by 20 ft by 3 in200.007.418.15
60 ft by 30 ft by 3 in450.0016.6718.33
20 ft by 10 ft by 6 in100.003.704.07
40 ft by 20 ft by 6 in400.0014.8116.30

What the 1.85 cubic yard example weighs

Volume is only half of the story when a truck is hauling the load. The table shows planning weights for the example volume in several materials.

Weight of the example volume by material
MaterialUS tonsPounds
Topsoil2.044,074
Mulch0.651,296
Gravel2.595,185
Sand2.505,000
Concrete3.757,500
Compost0.931,852

These figures are planning estimates. Real material varies in moisture, size, and compaction, so confirm weights and order quantities with your supplier.

Frequently asked questions

How do I calculate cubic yards for a rectangle?

Find the volume in cubic feet, then divide by 27. For this shape: length times width times depth. Convert inches to feet first by dividing by 12.

How many cubic yards is the example rectangle?

Length 20 ft, width 10 ft, depth 3 in comes to 1.85 cubic yards, or 50.00 cubic feet.

How much extra should I order?

Most people add 5 to 10 percent for waste, and 10 to 15 percent for rough ground or loose material.

Can I use metric units?

Yes. Choose meters or centimeters next to any length. The result still shows cubic yards, and the cubic meter figure sits beside it.

Why does the answer change with the material?

The volume does not change, but weight and bag counts do, because each material has a different density.

Other shape calculators