Home › Calculators › Cubic Yard Calculator
Free • Browser-Based • No Signup

Cubic Yard Calculator – Calculate Cubic Yards & Tons

Calculate cubic yards from length, width and depth, estimate how much dirt or other bulk material you need, and convert cubic yards to cubic feet or tons. Use the formulas and examples below to check your result before ordering material.

Reviewed: October 5, 2026. Material weight depends on density, so use a supplier-provided density when converting cubic yards to tons.
Calcrio Tool

Cubic Yard Calculator

Calculate yardage, convert cubic yards to tons, or work out a linear-yard length from a known volume.

Measure the project length in feet.
Measure the project width in feet.
Use inches for common landscaping depths.
Enter a supplier price to estimate material cost.
Use total surface area in square feet.
For soil, dirt, mulch or similar spreading depth.
Optional material price.
Enter your calculated or purchased volume.
Use your supplier's density for the best estimate.
Presets are planning assumptions, not universal densities.
A cubic yard measures volume; a ton measures mass. The conversion therefore depends on material density, moisture, compaction and other conditions.
Known bulk volume.
Cross-sectional width.
Convert inches to feet first if needed.
Cubic yards cannot be converted directly to linear yards without width and depth. This mode calculates the equivalent length of a uniform section.
Primary Result
2.47 yd³
Calculated volume
Cubic Feet
66.67 ft³
Equivalent volume
Cubic Meters
0.06 m³
Equivalent volume
Tons
—
Enter density in tons/yd³
Cost Estimate
—
Optional price input
Formula
L × W × D ÷ 324
Feet + inches method
For a rectangular project with length and width in feet and depth in inches, cubic yards = length × width × depth ÷ 324.
AI Citation Quick Answer

What Is a Cubic Yard Calculator?

Quick Answer: A cubic yard calculator finds the volume of bulk material needed for a project. For a rectangular space measured in feet, use length × width × depth ÷ 27. If area is in square feet and depth is in inches, use square feet × depth ÷ 324. To convert cubic yards to tons, multiply the volume by the material's density in tons per cubic yard.

A cubic yard calculator turns length, width and depth measurements into the yardage commonly used when buying dirt, topsoil, gravel, mulch, sand or concrete. It can also convert an existing cubic-yard quantity into other volume units and estimate weight when a density is supplied.

How to Calculate Cubic Yards

For a rectangular project, the standard formula is simple. First calculate the volume in cubic feet, then divide by 27 to convert cubic feet into cubic yards.

Cubic Yards = Length (ft) × Width (ft) × Depth (ft) ÷ 27

If the depth is measured in inches, convert the depth to feet by dividing it by 12. You can also use the faster square-feet shortcut when the area is already known.

Cubic Yards = Square Feet × Depth (in) ÷ 324

Example: 20 ft × 10 ft × 4 inches

First use the shortcut:

20 × 10 × 4 ÷ 324 = 2.47 cubic yards

So the theoretical volume is approximately 2.47 yd³. This is the mathematical volume before considering project-specific waste, settlement, compaction or ordering practices.

  1. Measure the length.
  2. Measure the width.
  3. Determine the average depth.
  4. Convert the measurements to compatible units.
  5. Apply the appropriate cubic-yard formula.
  6. Round only after the calculation is complete.

Cubic Yard Formula Reference

What You KnowFormulaUse
Length, width and depth in feetL × W × D ÷ 27Rectangular volume
Square feet and depth in inchesArea × depth ÷ 324Landscaping and surface coverage
Cubic feetft³ ÷ 27Convert to cubic yards
Cubic yardsyd³ × 27Convert to cubic feet
Cubic yards + densityyd³ × tons/yd³Estimate material weight

Because one yard is three feet, one cubic yard contains 27 cubic feet. When the area is in square feet and depth is in inches, the combined factor is 12 × 27 = 324.

How to Calculate Cubic Yards of Dirt

To calculate cubic yards of dirt, you use the same volume equation as you would for gravel, mulch or another bulk material. The geometry determines the volume; the material type matters later if you want to estimate weight.

Example: Dirt for a Garden Bed

Suppose a garden bed is 30 feet long, 15 feet wide and needs an average depth of 6 inches.

30 × 15 × 6 ÷ 324 = 8.33 cubic yards

You need approximately 8.33 cubic yards of volume. If the project is uneven, measure several depth points and use a representative average or split the area into separate sections.

Important: A cubic yard of dirt does not have one universal weight. Soil bulk density can change with texture, organic matter, moisture, pore space and compaction. For a weight or delivery calculation, use the density provided by your supplier whenever possible.

Dirt vs. Soil vs. Fill Dirt

“Dirt” and “soil” are often used interchangeably in everyday conversation, but suppliers may sell topsoil, fill dirt, garden soil and other mixes with different characteristics. The same volume can therefore have different weights.

Cubic Yards to Tons Calculator

A cubic yards to tons calculator needs one extra input that a normal yardage calculator does not: material density.

Tons = Cubic Yards × Density (tons per cubic yard)

For example, if you have 5 cubic yards and your supplier gives a density of 1.4 tons per cubic yard:

5 × 1.4 = 7 tons

The result is an estimated 7 tons under that density assumption. The conversion is not a fixed universal factor because a cubic yard is a volume measurement while a ton is a mass measurement.

MaterialIllustrative planning densityImportant note
Gravel~1.4 t/yd³Varies by type and packing
Dirt / soil~1.2 t/yd³Moisture and compaction can change weight
Sand~1.35 t/yd³Moisture affects density
Mulch~0.4 t/yd³Dry and loose material can weigh less
Concrete~2.0 t/yd³Mix and aggregate affect density

Use these values only as planning examples. For purchasing, hauling or structural work, use the material supplier's stated density or specification.

Cubic Yards to Yards Calculator

The phrase cubic yards to yards calculator can be confusing because a cubic yard and a linear yard measure different things.

Cubic yardA unit of volume: 1 yd × 1 yd × 1 yd.
Linear yardA unit of length: 3 feet of distance.
Why width mattersVolume must be divided by cross-sectional width and depth to find a length.

You cannot convert a cubic-yard number directly into linear yards without knowing the width and depth of the material section.

Linear Yards = Cubic Yards ÷ (Width in yd × Depth in yd)

If your width and depth are in feet, convert them to yards first:

Linear Yards = Cubic Yards ÷ ((Width ft ÷ 3) × (Depth ft ÷ 3))

For example, 5 cubic yards in a section that is 3 feet wide and 3 inches deep has an equivalent length of:

5 ÷ (1 × 0.08333) ≈ 60 linear yards

The calculator's linear-yard mode is therefore a geometry conversion, not a simple unit-to-unit conversion.

Examples: Dirt, Gravel, Mulch and Concrete

Gravel driveway

Suppose a driveway section is 40 ft × 12 ft and the gravel depth is 6 inches.

40 × 12 × 6 ÷ 324 = 8.89 yd³

The project has approximately 8.89 cubic yards of volume.

Mulch bed

For 600 square feet at 3 inches:

600 × 3 ÷ 324 = 5.56 yd³

So the theoretical volume is approximately 5.56 cubic yards.

Concrete slab

For a 20 ft × 12 ft slab at 4 inches:

20 × 12 × 4 ÷ 324 = 2.96 yd³

The theoretical volume is about 2.96 cubic yards. Structural and ordering requirements may require a project professional or supplier to confirm the final quantity.

Coverage from one cubic yard

DepthApprox. Coverage per 1 yd³
1 inch324 sq ft
2 inches162 sq ft
3 inches108 sq ft
4 inches81 sq ft
6 inches54 sq ft
12 inches27 sq ft

Cubic Yards to Cubic Feet and Other Volume Units

Some users search for a cubic yards calculator when they really need a volume conversion. These conversions are exact because they are based on unit definitions.

ConversionResult
1 cubic yard → cubic feet27 ft³
1 cubic yard → cubic inches46,656 in³
1 cubic yard → cubic meters0.7645548579 m³
1 cubic foot → cubic yards0.037037 yd³
1 cubic meter → cubic yards1.30795062 yd³

For practical landscaping work, cubic yards and cubic feet are often the most useful pair because bulk suppliers commonly quote yardage while measurements on site may be in feet and inches.

Calculating Circular and Irregular Areas

Not every project is a rectangle. For a circular area, calculate the base area first:

Area = π × radius²

Then multiply the area by depth to find cubic volume. Convert cubic feet to cubic yards by dividing by 27.

For triangular sections, use:

Area = Base × Height ÷ 2

Then multiply by the material depth. For an irregular project, divide the space into manageable rectangles, triangles or circles, calculate each section, and add the cubic-yard totals.

Best practice: Use average depth when the ground is uneven rather than measuring only the deepest point. For major excavation or structural applications, confirm measurements and specifications with the appropriate professional.

Common Cubic Yard Calculation Mistakes

1. Mixing inches and feet

A 6-inch depth must be converted before using the feet-based formula. Using “6” as though it were 6 feet produces a dramatically wrong result.

2. Forgetting to divide by 27

Length × width × depth in feet gives cubic feet, not cubic yards. Divide by 27 to convert.

3. Confusing cubic yards with linear yards

Cubic yards measure volume. Linear yards measure distance. Width and depth are needed to turn volume into a length.

4. Using one density for every material

Gravel, soil, mulch, sand and concrete do not all have the same density. Even within one material, moisture and compaction can change weight.

5. Treating calculated volume as an exact order quantity

Your mathematical volume is not necessarily the same as the amount a supplier recommends delivering. Consider settlement, compaction, waste and the supplier's packaging or delivery increments.

Benefits and Limitations

Fast estimatesTurn measurements into yardage without repeating conversions manually.
Material planningEstimate soil, dirt, gravel, mulch, sand and concrete volume.
Weight planningConvert yardage to tons when a suitable density is available.

The calculator's result is only as reliable as the inputs. Incorrect measurements produce incorrect volumes. Density-based weight estimates also depend on the selected material and its physical condition.

Best Practices for Ordering Bulk Material

  1. Measure the area carefully and record every dimension.
  2. Use several depth measurements for uneven ground.
  3. Calculate separate zones when the project has different depths.
  4. Use the 324 shortcut for square feet plus inch-depth calculations.
  5. Ask the supplier for a current density or weight-per-yard figure if buying by tons.
  6. Do not confuse an estimated monthly, linear or area measurement with actual cubic volume.
  7. Round only at the end and follow the supplier's ordering increments.
Ordering tip: The exact amount you purchase may be slightly different from the mathematical result because materials are sold in truckload, scoop, bag or minimum-delivery increments.

Quick Reference: Which Formula Should You Use?

Your InputsUse This FormulaMain Result
Length + width + depth in feetL × W × D ÷ 27Cubic yards
Square feet + depth in inchesArea × depth ÷ 324Cubic yards
Cubic yards + densityyd³ × densityTons
Cubic yards + width + depthVolume ÷ cross-sectionLinear yards

Frequently Asked Questions

How many cubic feet are in a cubic yard?

There are exactly 27 cubic feet in one cubic yard.

How do I calculate cubic yards of dirt?

For a rectangular area, multiply length × width × depth in feet and divide by 27. With square feet and depth in inches, multiply area × depth and divide by 324.

How do I convert cubic yards to tons?

Multiply cubic yards by the selected material density in tons per cubic yard. For the most reliable purchasing estimate, use density provided by the supplier.

Can cubic yards be converted directly to linear yards?

No. A cubic yard is a volume unit and a linear yard is a length unit. Width and depth are required to calculate a corresponding linear length.

Does one cubic yard of dirt always weigh the same?

No. Soil density changes with factors such as moisture, texture, organic matter and compaction.

What materials can I calculate with this tool?

You can calculate bulk volume for dirt, soil, gravel, mulch, sand, concrete and similar materials. For tons, enter an appropriate density.

Related Calculators

Gravel CalculatorEstimate gravel volume, yards and tons for driveways and landscaping.
Square Footage CalculatorCalculate floor or surface area before applying depth to find volume.
All CalculatorsBrowse Calcrio's wider collection of online calculators.

Sources & Method Notes

Unit conversion: The exact relationship 1 cubic yard = 27 cubic feet follows directly from 1 yard = 3 feet.

Material density: Tons-per-yard values are material-specific planning assumptions. Soil bulk density can vary with texture, organic matter, moisture, pore space and compaction, so supplier or project-specific data is preferable for ordering.

Independent calculator: Calcrio's calculator performs the mathematics in your browser and does not contact a supplier or create a purchase order.

Reference material: USDA NRCS — Soil Quality Indicators: Bulk Density and common construction-volume references such as Omni Calculator.

Final Takeaway

A cubic yard calculator turns project dimensions into the yardage used to estimate bulk materials. The core rectangular formula is length × width × depth ÷ 27 when dimensions are in feet, or square feet × depth in inches ÷ 324 when area is already known.

For cubic yards to tons, density is essential because volume and mass are different measurements. For dirt and soil, avoid treating one weight as universal; physical conditions can change density. Use the calculator for the mathematical estimate, then verify the final quantity and delivery requirements with your material supplier.

Calculate Your Cubic Yards

Enter your measurements above to estimate yardage, convert cubic yards to tons, or find the equivalent linear length of a uniform material section.

Calculate Now
Scroll to Top