YepCalc

Cubic Yard Calculator

Find how many cubic yards of soil, gravel, rock, or other loose material you need to fill an area to a given depth. Enter each area's shape, size, and depth. For a concrete slab, use the Concrete Calculator.

Section 1

Add areas, or subtract openings such as a flower bed.

Waste and cost

%
per

Result

Enter the dimensions and depth of a section to see the volume.

Cubic yard formula

The volume of an area filled to an even depth is:

Volume = area × depth

Convert every dimension to the same unit before you multiply. With dimensions in feet, the result is in cubic feet. A cubic yard is 3 ft × 3 ft × 3 ft, so divide cubic feet by 27 to get cubic yards.

The area of each shape is calculated as follows.

Shape Area
Rectangle length × width
Circle π × diameter² ÷ 4 (or π × radius²)
Triangle (base and height) base × height ÷ 2
Triangle (three sides) Heron's formula: √(s(s − a)(s − b)(s − c)), where s = (a + b + c) ÷ 2
Trapezoid (parallel side A + parallel side B) ÷ 2 × height
Ring π × (outer diameter² − inner diameter²) ÷ 4
Rectangular border outer length × outer width − (outer length − 2 × border width) × (outer width − 2 × border width)
Known area the area you enter

With several sections, the calculator adds the volumes of the sections set to Add, subtracts those set to Subtract, and then adds the waste allowance: total = net volume × (1 + waste % ÷ 100).

Examples

A rectangular slab or bed

An area of 10 ft × 10 ft filled 4 in deep: 4 in is 1/3 ft, so the volume is 10 × 10 × 1/3 = 33.33 ft³. Dividing by 27 gives 1.23 yd³ (0.94 m³). With a 10% waste allowance, the total is 1.36 yd³, and at $45 per cubic yard the cost is about $61.11.

A circle

A round area 6 ft across, 3 in deep: π × 6² ÷ 4 × 0.25 = 7.07 ft³, or 0.26 yd³.

Subtracting an area

A 20 ft × 15 ft area, 4 in deep, is 100 ft³. A round flower bed 4 ft across inside it, at the same depth, is 4.19 ft³. Subtracting it leaves 95.81 ft³, or 3.55 yd³.

Metric dimensions

An area of 5 m × 4 m, 10 cm deep: 5 × 4 × 0.1 = 2 m³, or 2.62 yd³.

FAQ