Cubic yard calculator
Enter the length, width and depth of what you are filling or digging out and read the cubic yards to order, with cubic feet and cubic metres.
Pieces
Feet and inches work as you write them: 12' 6" or 12' 6 1/2".
Add this calculator to your website
Free for any website: paste this code where the calculator should appear. It keeps itself up to date, fits its height to the content and links back to the full page with the explanations.
How to use it
- 01Pick the shape: a box for a slab, a bed or a hole, a cylinder for a post hole or round tank, a trench for a footing with sloped sides.
- 02Enter length, width and depth. Mix feet and inches freely: 4 in deep is fine, the calculator converts it.
- 03Add more pieces for an L-shaped slab or several beds, and take away anything already there, such as a pipe or an old footing.
- 04Read the cubic yards to order, with cubic feet and cubic metres.
- 05For the weight, bags and compaction of a particular material, go on to the concrete, gravel, mulch or topsoil calculator.
How it is calculated
Volume is length × width × depth in feet, which gives cubic feet. Divide by 27 for cubic yards, because a cubic yard is 3 ft × 3 ft × 3 ft.
- Box
- V = L × W × D
- Cylinder
- V = π × d² / 4 × h
- Trench
- V = L × (bottom + top) / 2 × D
- Cubic yards
- yd³ = ft³ / 27
- Cubic metres
- m³ = yd³ × 0.7646
NIST Handbook 44 defines 27 cubic feet as one cubic yard, which is 0.7646 m³. One cubic metre is 1.308 cubic yards.
Depth is usually given in inches, so divide by 12 first: 4 in is 0.333 ft, 3 in is 0.25 ft.
Suppliers sell bulk material by the cubic yard or half yard. The result here is the exact volume; round up to what your supplier delivers.
Worked example
A 12 × 10 ft patio slab, 4 in thick
- Depth: 4 / 12 = 0.333 ft.
- Volume: 12 × 10 × 0.333 = 40 cu ft.
- Cubic yards: 40 / 27 = 1.48 cu yd.
- In metric: 1.48 × 0.7646 = 1.13 m³.
Getting the order right
Concrete needs a margin
Forms bow and the ground is never flat. The concrete calculator adds a waste percentage and turns yards into bags of mix.
Loose material settles
Gravel and soil shrink when compacted. The gravel and topsoil calculators take a compaction factor from your supplier.
Dug soil swells
Soil dug out of a hole takes more room in a truck than it did in the ground. The excavation calculator counts the loads.
Common mistakes
- Multiplying feet by inches: 12 ft × 10 ft × 4 in is not 480 cubic anything. Convert the 4 in to 0.333 ft first.
- Dividing cubic feet by 9 (that is square feet to square yards) instead of 27.
- Ordering exactly the calculated volume of concrete with no margin.
- Measuring the depth of a bed at one corner only.
Questions
How do I calculate cubic yards?
Multiply length × width × depth in feet and divide by 27. A bed 20 ft × 4 ft, 3 in deep, is 20 × 4 × 0.25 = 20 cu ft, which is 0.74 cu yd.
How many cubic feet are in a cubic yard?
27. A cubic yard is a cube 3 ft on each side.
How much is a cubic yard in cubic metres?
0.7646 m³. One cubic metre is 1.308 cubic yards.
How much area does a cubic yard cover?
At 3 in deep, 108 sq ft; at 4 in, 81 sq ft; at 6 in, 54 sq ft. Divide 324 by the depth in inches.
How many yards of concrete for a 10 × 10 slab, 4 in thick?
10 × 10 × 0.333 = 33.3 cu ft, which is 1.23 cu yd before any waste.
Guides on this topic
- How to calculate cubic yards and cubic metres
Calculate volume in cubic yards, feet and metres, convert ft³ to yd³, and turn cubic feet or metres into gallons and litres for tanks and ponds.
Related calculators
Sources
- [1]Handbook 44, Appendix C: General Tables of Units of Measurement. National Institute of Standards and Technology (NIST). U.S. gallon = 231 in³ exactly (3.785 l); 27 ft³ = 1 yd³ (0.765 m³); the litre is the cubic decimetre. Checked November 5, 2026
- [2]U.S. Survey Foot: Revised Unit Conversion Factors. National Institute of Standards and Technology (NIST). International foot 0.3048 m exactly; survey-foot definitions not used after 2022. Checked November 5, 2026
Formulas and sources last checked on November 5, 2026. How we calculate