Cubic Yard Calculator Formula & How to Use It
- Cubic feet
- ft³
- Result
- Length
- 10 ft
- You entered
- Width
- 5 ft
- You entered
The cubic yard calculator formula is length (ft) × width (ft) × depth (ft) ÷ 27, which gives you the volume in cubic yards. To use it, measure the length, width, and depth of your space in feet, multiply them together, then divide by 27 (since one cubic yard equals 27 cubic feet). This formula works for any rectangular prism-shaped volume, such as a garden bed, a concrete slab, or a pile of fill dirt.
Formula
The core formula is:
Volume (yd³) = [Length (ft) × Width (ft) × Depth (ft)] ÷ 27
Where:
- Length – measured in feet (ft)
- Width – measured in feet (ft)
- Depth – measured in feet (ft)
- 27 – the number of cubic feet in one cubic yard (3 ft × 3 ft × 3 ft)
If your measurements are in inches, convert them to feet first by dividing by 12. For example, 6 inches = 0.5 ft. If you measure in yards directly, you can skip the division by 27 because the product of three yard measurements is already in cubic yards.
Worked Example
Using the default values from the calculator above:
- Length = 10 ft, Width = 5 ft, Depth = 0.5 ft (which is 6 inches)
- Multiply: 10 × 5 × 0.5 = 25 cubic feet
- Divide by 27: 25 ÷ 27 = 0.926 cubic yards
The calculator rounds to two decimal places, giving 0.93 cubic yards. This means you would need slightly less than one full cubic yard to fill a space that is 10 ft long, 5 ft wide, and 6 inches deep.
When to Use the Cubic Yard Formula
You need this calculation whenever you order materials sold by the cubic yard. Common situations include:
- Ordering topsoil, compost, or mulch for a garden bed
- Estimating concrete for a slab, footing, or patio
- Calculating sand or gravel for a driveway base
- Determining how much fill dirt is needed to raise a low area
- Estimating the volume of a dumpster or debris pile
Most landscaping and construction suppliers quote prices per cubic yard, so knowing your exact volume prevents over-ordering (wasted money) or under-ordering (delays).
How to Read the Result
The result tells you the exact volume of material required to fill your space with no compaction. However, keep these points in mind:
- Compaction: Soils and gravel settle when compacted. Order 10–15% extra for fill that will be tamped or driven on.
- Slope: If your area is not perfectly flat, the depth varies. Measure at several points and use the average depth.
- Irregular shapes: For L-shaped or curved areas, break them into rectangles, calculate each, then add the volumes together.
- Moisture: Wet materials weigh more but the volume stays the same; weight is a separate concern.
Always round up when ordering. A cubic yard is a large volume – roughly the size of a washing machine – so even a small error can mean an extra trip to the supplier.
Common Mistakes and How to Avoid Them
The most frequent errors come from unit mix-ups:
- Mixing feet and inches: Always convert inches to feet before multiplying. 6 inches is 0.5 ft, not 6 ft.
- Forgetting to divide by 27: If you multiply three feet measurements, you get cubic feet. The division by 27 is essential to get cubic yards.
- Using diameter instead of radius for circular areas: For a circle, the formula is π × r² × depth, not π × d² × depth.
- Measuring depth in inches but length in feet: This is the most common error. Convert everything to the same unit first.
- Ignoring waste: For concrete, add 5–10% for spillage and uneven subgrade. For soil, add extra for settling.
A quick sanity check: a standard pickup truck bed holds about 2–3 cubic yards. If your result seems far larger or smaller than that, recheck your measurements.
Limits of the Formula
This formula assumes a perfect rectangular prism with straight sides and a flat bottom. Real-world spaces rarely match that perfectly. For example:
- Tapered holes: If you are digging a hole with sloped sides, the top is wider than the bottom. Use the average of the top and bottom dimensions.
- Concrete forms: Concrete is measured by the cubic yard, but forms may bow or settle. The formula gives an estimate, not a guarantee.
- Mulch depth: Mulch settles over time, so you might want a slightly thicker initial layer.
For highly irregular volumes, consider using a 3D modeling tool or consult a professional. But for most home projects, the simple formula is accurate enough.
Frequently Asked Questions
How many cubic feet are in a cubic yard?
Exactly 27 cubic feet. A cubic yard is 3 feet long, 3 feet wide, and 3 feet high, so 3 × 3 × 3 = 27. This is why you divide by 27 when converting from cubic feet.
Can I use this formula for circular areas?
No, not directly. For a circle, you need the radius (half the diameter). The formula becomes π × r² × depth (in feet) ÷ 27. For example, a circular garden 10 feet across and 1 foot deep: radius = 5 ft, so π × 25 × 1 = 78.54 cubic feet ÷ 27 = 2.91 cubic yards.
How much does a cubic yard of topsoil weigh?
It varies by moisture and composition, but dry topsoil typically weighs about 1,000–1,200 pounds per cubic yard. Wet topsoil can weigh 1,500 pounds or more. Always check with your supplier for exact weight, especially if you are hauling it yourself.
Do I need to add extra for compaction?
Yes, for materials that will be compacted – like fill dirt under a patio or gravel for a driveway – add 10–15% to your calculated volume. Loose material settles when tamped, so ordering exactly the calculated amount will leave you short.
How do I measure depth if the ground is uneven?
Take at least three depth measurements at different spots and average them. For larger areas, take more measurements. Using the average depth in the formula gives a more accurate volume than using the deepest or shallowest point.
What if my measurements are in meters?
If you measure in meters, multiply length × width × depth to get cubic meters. To convert cubic meters to cubic yards, multiply by 1.30795. For example, 2 cubic meters × 1.30795 = 2.62 cubic yards.
Related
Formula used
in length | Length | ft | 10 | 0 in width | Width | ft | 5 | 0 in depth | Depth | ft | 0.5 | 0 out cubic_yards | Cubic yards | yd³ | (length * width * depth) / 27 | 2 out cubic_feet | Cubic feet | ft³ | length * width * depth | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.