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.
Cubic Yard Calculator
Calculate yardage, convert cubic yards to tons, or work out a linear-yard length from a known volume.
What Is a Cubic Yard Calculator?
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.
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.
Example: 20 ft × 10 ft × 4 inches
First use the shortcut:
So the theoretical volume is approximately 2.47 yd³. This is the mathematical volume before considering project-specific waste, settlement, compaction or ordering practices.
- Measure the length.
- Measure the width.
- Determine the average depth.
- Convert the measurements to compatible units.
- Apply the appropriate cubic-yard formula.
- Round only after the calculation is complete.
Cubic Yard Formula Reference
| What You Know | Formula | Use |
|---|---|---|
| Length, width and depth in feet | L × W × D ÷ 27 | Rectangular volume |
| Square feet and depth in inches | Area × depth ÷ 324 | Landscaping and surface coverage |
| Cubic feet | ft³ ÷ 27 | Convert to cubic yards |
| Cubic yards | yd³ × 27 | Convert to cubic feet |
| Cubic yards + density | yd³ × 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.
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.
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.
For example, if you have 5 cubic yards and your supplier gives a density of 1.4 tons per cubic yard:
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.
| Material | Illustrative planning density | Important 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.
You cannot convert a cubic-yard number directly into linear yards without knowing the width and depth of the material section.
If your width and depth are in feet, convert them to yards first:
For example, 5 cubic yards in a section that is 3 feet wide and 3 inches deep has an equivalent length of:
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.
The project has approximately 8.89 cubic yards of volume.
Mulch bed
For 600 square feet at 3 inches:
So the theoretical volume is approximately 5.56 cubic yards.
Concrete slab
For a 20 ft × 12 ft slab at 4 inches:
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
| Depth | Approx. Coverage per 1 yd³ |
|---|---|
| 1 inch | 324 sq ft |
| 2 inches | 162 sq ft |
| 3 inches | 108 sq ft |
| 4 inches | 81 sq ft |
| 6 inches | 54 sq ft |
| 12 inches | 27 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.
| Conversion | Result |
|---|---|
| 1 cubic yard → cubic feet | 27 ft³ |
| 1 cubic yard → cubic inches | 46,656 in³ |
| 1 cubic yard → cubic meters | 0.7645548579 m³ |
| 1 cubic foot → cubic yards | 0.037037 yd³ |
| 1 cubic meter → cubic yards | 1.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:
Then multiply the area by depth to find cubic volume. Convert cubic feet to cubic yards by dividing by 27.
For triangular sections, use:
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.
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
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
- Measure the area carefully and record every dimension.
- Use several depth measurements for uneven ground.
- Calculate separate zones when the project has different depths.
- Use the 324 shortcut for square feet plus inch-depth calculations.
- Ask the supplier for a current density or weight-per-yard figure if buying by tons.
- Do not confuse an estimated monthly, linear or area measurement with actual cubic volume.
- Round only at the end and follow the supplier's ordering increments.
Quick Reference: Which Formula Should You Use?
| Your Inputs | Use This Formula | Main Result |
|---|---|---|
| Length + width + depth in feet | L × W × D ÷ 27 | Cubic yards |
| Square feet + depth in inches | Area × depth ÷ 324 | Cubic yards |
| Cubic yards + density | yd³ × density | Tons |
| Cubic yards + width + depth | Volume ÷ cross-section | Linear 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
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