Cubic Yard Calculator
Turn length, width & depth into cubic yards and cubic feet
Last updated October 2026
Method: Volume uses the standard geometric formula length × width × depth ÷ 27, with inches converted to feet automatically (divide by 12). There are exactly 27 cubic feet in a cubic yard (NIST).
Included: Cubic yards, cubic feet, a 10% over-order figure, coverage area, bag-count equivalents (1 and 2 cu ft bags) and approximate weight in US tons for common materials.
Not included: Exact supplier densities, compaction factors, irregular shapes, slopes and delivery minimums. Results are planning estimates, not a guaranteed material quantity.
📦 Area dimensions
Switching between in and ft converts the depth you entered.
📐 Material needed
💡 Order a little extra
Estimate only: materials settle and spill, so order about 10% extra (shown above). Ask your supplier how much one delivery truck carries and whether there is a minimum order.
🛍️ How much to buy
| Sold as | Amount needed |
|---|---|
| Cubic yards (bulk) | 1.23 yd³ |
| Cubic feet (bulk) | 33.33 ft³ |
| 2 cu ft bags (mulch / soil) | 17 bags |
| 1 cu ft bags | 34 bags |
Bag counts are rounded up to whole bags.
⚖️ Approximate weight by material
| Material | Weight (US tons) |
|---|---|
| Gravel / crushed stone | 1.73 tons |
| Sand (dry) | 1.67 tons |
| Topsoil (dry) | 1.23 tons |
| Concrete (wet mix) | 2.50 tons |
Weights are typical estimates (gravel 1.4, dry sand 1.35, dry topsoil 1.0 and concrete 2.03 tons per cubic yard) and vary widely with moisture, compaction and aggregate size. Confirm density with your supplier before ordering by the ton.
Cubic yard calculator: everything you need to know
To find cubic yards, multiply length × width × depth in feet, then divide by 27. A 10 ft × 10 ft area 4 inches deep is 100 × 0.333 ÷ 27 = 1.23 cubic yards; order about 1.35 with a 10% buffer. This cubic yard calculator does the same math for concrete, gravel, mulch, soil and sand.
Measuring a different surface? Reach for a sister tool instead: the Concrete Calculator handles slabs and footings ordered by the yard, the Paint Calculator covers walls by area rather than volume, the Roofing Calculator sizes shingles and underlayment, and the Roof Pitch Calculator turns a roof's slope into the length multiplier those roofing numbers need. This page stays general: any loose material sold by volume, from mulch to gravel.
The cubic yard formula
Every loose material that has depth (dirt, stone, mulch, concrete) is sold by volume, and in the United States that volume is the cubic yard. The formula is:
cubic yards = (lengthft × widthft × depthft) ÷ 27 The division by 27 is the key step beginners miss. A cubic yard is a cube three feet on every side, so 3 × 3 × 3 = 27 cubic feet in a single cubic yard. You first work out the volume in cubic feet, then divide by 27 to convert to cubic yards. If your depth is in inches, as it usually is for a 4-inch slab or a 2-inch mulch layer, convert it to feet first by dividing by 12 (4 in ÷ 12 = 0.333 ft). This calculator handles that conversion for you when you pick the inches option.
A worked example with real numbers
Suppose you are filling a raised bed that is 12 ft long, 4 ft wide and 10 inches deep with topsoil. First convert the depth: 10 in ÷ 12 = 0.833 ft. Then multiply the dimensions: 12 × 4 × 0.833 = 40 cubic feet. Finally divide by 27: 40 ÷ 27 = 1.48 cubic yards. Add a 10% buffer and you would order about 1.63 cubic yards, which you would round up to your supplier's next increment, often 2 yards. In bagged form, 40 cubic feet is 20 bags of 2 cubic feet each, which is why bulk delivery is worth pricing for anything bigger than a single small bed.
Step-by-step: cubic yards for a 24 x 12 gravel driveway
Here is the full chain of arithmetic for a 24 ft × 12 ft driveway base, 4 inches deep, so you can follow every step the calculator runs:
| Step | Calculation | Result |
|---|---|---|
| 1. Convert depth to feet | 4 in ÷ 12 | 0.333 ft |
| 2. Area (length × width) | 24 × 12 | 288 sq ft |
| 3. Volume in cubic feet | 288 × 0.333 | 96 cu ft |
| 4. Divide by 27 | 96 ÷ 27 | 3.56 yd³ |
| 5. Add 10% buffer | 3.56 × 1.10 | 3.91 yd³ |
| As bags (2 cu ft each) | 96 ÷ 2, rounded up | 48 bags |
| As gravel tonnage (≈1.4 t/yd³) | 3.56 × 1.4 | 4.98 tons |
Tonnage assumes a typical crushed-gravel density of about 1.4 US tons per cubic yard; confirm the exact figure with your supplier.
How to measure your area
Accurate measurements matter more than any rounding the calculator does. Work through it carefully:
- Length and width: measure the two horizontal sides of the area in feet. For a rectangle, that is all you need. For an irregular shape, break it into rectangles, calculate each, and add the volumes together.
- Depth: decide how thick the material should sit when finished: 2 inches for a mulch top-up, 3 to 4 inches for a gravel driveway base, 4 inches for a typical concrete slab. Enter it in inches or feet.
- Quantity: if you have several identical areas (for example three garden beds of the same size), set the number of areas instead of adding them up by hand.
- Read the result: the big number is cubic yards; the supporting cards give cubic feet, the 10% over-order figure, bag counts and an approximate weight by material.
How to use this cubic yard calculator
The tool is built to be fast. Enter length and width in feet, type the depth and set the unit toggle to inches or feet (switching converts the number you typed), then set how many identical areas you are covering. Use the quick-depth buttons (2 in, 4 in, 6 in, 1 ft) to jump to the most common thicknesses. The result updates as you type: cubic yards front and center, with cubic feet, a recommended order quantity that already includes 10% extra, the coverage area in square feet, and a weight estimate for gravel, sand, topsoil and concrete so you can also order by the ton if your supplier prices that way.
Who this calculator is for
Anyone buying material that is sold by volume rather than by the piece:
- Homeowners and DIYers filling raised beds, refreshing mulch, or laying a gravel path.
- Landscapers quoting topsoil and stone for a yard before placing a bulk order.
- Concrete pourers estimating a slab, footing or sidewalk by the cubic yard.
- Contractors and remodelers who need a quick volume check without a spreadsheet.
- Anyone comparing bags vs. bulk to see when a truckload becomes cheaper than the store.
Key terms explained
- Cubic yard (yd³): a volume equal to a 3 ft cube, 27 cubic feet. The standard unit for bulk material in the US.
- Cubic foot (ft³): a 1 ft cube. Bagged products are labeled in cubic feet (commonly 1 or 2 cu ft per bag).
- Depth / thickness: how deep the material lies once placed. Small changes in depth move the total a lot.
- Coverage: the surface area (length × width) the material spreads across, in square feet.
- Waste factor: the extra you order (usually about 10%) to absorb settling, spillage and uneven ground.
- Density: how much a given volume weighs. Used to convert cubic yards to tons; it varies with moisture and material.
Three common scenarios
The same formula handles very different jobs; only the depth really changes:
- Gravel driveway base (20 ft × 10 ft, 4 in): 200 sq ft at 0.333 ft = 66.7 cu ft = about 2.47 cubic yards, or roughly 3.5 tons of crushed stone. Order about 2.7 yd³ with a buffer. The Gravel Calculator adds the right stone density for tonnage.
- Mulch refresh (300 sq ft, 2 in): 300 × 0.167 = 50 cu ft = about 1.85 cubic yards, or 25 bags of 2 cu ft. At 25 bags it is worth pricing a bulk delivery, and the Mulch Calculator works in the depths mulch is sold in.
- Concrete slab (12 ft × 12 ft, 4 in): 144 sq ft at 0.333 ft = 48 cu ft = about 1.78 cubic yards. Concrete is ordered by the yard, and plants often have a minimum load; the Concrete Calculator also estimates bag yields.
How many cubic yards for a given area and depth?
This matrix answers the most common question directly: pick your area, read across to the depth, and get the cubic yards (before any buffer). Every cell is length × width × depth ÷ 27.
| Area (ft) | Sq ft | 2 in | 3 in | 4 in | 6 in |
|---|---|---|---|---|---|
| 10 × 10 | 100 | 0.62 | 0.93 | 1.23 | 1.85 |
| 10 × 12 | 120 | 0.74 | 1.11 | 1.48 | 2.22 |
| 12 × 12 | 144 | 0.89 | 1.33 | 1.78 | 2.67 |
| 16 × 20 | 320 | 1.98 | 2.96 | 3.95 | 5.93 |
| 20 × 20 | 400 | 2.47 | 3.70 | 4.94 | 7.41 |
| 20 × 30 | 600 | 3.70 | 5.56 | 7.41 | 11.11 |
Cubic yards before waste; add roughly 10% for settling and spillage. Depth in inches is converted to feet (÷ 12) first.
What changes the result the most
If you adjust the inputs and watch the number move, a few factors dominate:
- Depth: the most underrated lever; doubling depth doubles the volume, so a "small" change from 4 to 6 inches adds 50% more material.
- Area: length and width set the footprint; getting them wrong scales the whole order.
- Unit mistakes: mixing inches and feet (or forgetting to divide inches by 12) is the single biggest source of wrong answers.
- Waste factor: the 10% buffer is small in volume but the difference between finishing the job and a second delivery.
- Material density: only matters when you order by the ton instead of by volume.
Practical ordering tips
- Always order about 10% extra. Running short means a second delivery fee and a stalled project. A small surplus is cheap insurance, and the calculator shows that figure for you.
- Round up to the supplier's increment. Many sell in half- or whole-yard steps, so a 1.63 yd³ need becomes a 2 yd³ order.
- Compare bags to bulk. One cubic yard is 13.5 bags of 2 cu ft, so once you pass about a yard, price a bulk delivery against the bags; it also saves a lot of lifting.
- Confirm the delivery minimum. Some yards have a minimum load or a flat delivery fee that changes the math on small orders.
- Ask how it is measured. "A yard" should mean a cubic yard; confirm loose vs. compacted volume if precision matters.
Limitations and assumptions
This is a planning estimate, not a guaranteed quantity. Keep these in mind:
- It assumes a rectangular area with uniform depth. For circles, triangles or sloped ground, break the job into simple shapes or measure an average depth.
- The weight figures are typical densities and can be off by a wide margin depending on moisture, compaction and aggregate size; verify with your supplier before buying by the ton.
- It does not account for compaction: gravel and soil settle, so the in-place volume can be less than the delivered loose volume.
- Bag counts are rounded up to whole bags, since you cannot buy a fraction of a bag.
- It does not include delivery fees, minimums or supplier rounding, which affect cost but not volume.
Related materials and calculators
This page answers "how many cubic yards do I need?" for any material. For material-specific guidance, a sister tool fits better:
- For slabs, footings and columns, use the Concrete Calculator, which handles each component and bag yields.
- To find an area before adding depth, use the Square Footage Calculator.
- For driveways and drainage, the Gravel Calculator adds typical stone densities and tonnage.
- For garden beds, the Mulch Calculator works in the depths and bag sizes mulch is sold in.
- For fill dirt and lawn projects, the Topsoil Calculator and Sand Calculator use the right densities for each.
- For paved surfaces, the Asphalt Calculator converts thickness into tonnage for hot-mix paving.
- For walls and floors measured by area rather than volume, use the Paint Calculator or Tile Calculator.
Converting cubic yards to tons
Many bulk suppliers price stone, sand and soil by the ton rather than by the cubic yard, so you often need to convert. The bridge between the two is density: the weight of one cubic yard of the material. Multiply your cubic yards by the material's density (in tons per cubic yard) to get tons. As a rough guide: crushed gravel runs about 1.4 tons per cubic yard, dry sand about 1.35 and dry topsoil close to 1.0 (all inside the U.S. Army's loose-weight ranges for those materials), and poured concrete about 2.03 at 150 lb per cubic foot. So a 2.47-yard gravel driveway base is roughly 2.47 × 1.4 = 3.5 tons. These figures shift with moisture, aggregate size and how tightly the material is compacted, so they are starting points only. When the order is large enough that a few percent matters, ask the supplier for their actual density and whether they measure loose or compacted volume. For stone and paving specifically, the Gravel Calculator and Asphalt Calculator build these densities in so you do not have to look them up.
Cubic yard conversion quick reference: cubic feet, bags and tons
One reference for the numbers you actually order by: cubic feet (27 per yard), whole bags, and approximate tonnage for four common materials.
| Cubic yards | Cubic feet | Bags (2 cu ft) | Bags (1 cu ft) | Gravel (t) | Sand (t) | Topsoil (t) | Concrete (t) |
|---|---|---|---|---|---|---|---|
| 0.5 | 13.5 | 7 | 14 | 0.70 | 0.68 | 0.50 | 1.01 |
| 1 | 27.0 | 14 | 27 | 1.40 | 1.35 | 1.00 | 2.03 |
| 2 | 54.0 | 27 | 54 | 2.80 | 2.70 | 2.00 | 4.05 |
| 3 | 81.0 | 41 | 81 | 4.20 | 4.05 | 3.00 | 6.08 |
| 5 | 135.0 | 68 | 135 | 7.00 | 6.75 | 5.00 | 10.13 |
| 10 | 270.0 | 135 | 270 | 14.00 | 13.50 | 10.00 | 20.25 |
Tonnage estimates assume typical densities (gravel ≈1.4, dry sand ≈1.35, dry topsoil ≈1.0, concrete ≈2.03 US tons per cubic yard) and shift with moisture and compaction. Bag counts are rounded up to whole bags.
Handling irregular shapes and slopes
The clean length × width × depth math assumes a flat rectangle, but real yards rarely cooperate. The reliable trick is to break the area into simple shapes (rectangles, triangles and circles), calculate each one's volume separately, and add the results. For a triangular corner, use half of base × height for the area, then multiply by depth. For a round patio or fire-pit base, area is π × radius² (about 3.14 × radius × radius). When the ground slopes or the depth is uneven (say, a driveway that thins from 6 inches at the entrance to 3 inches at the garage), take several depth measurements and use the average depth in the formula. Over-excavated edges and low spots quietly add volume too, which is another reason the 10% buffer exists. If you are unsure, measuring the area first with the Square Footage Calculator and then applying a single depth here keeps the two steps cleanly separated.
Sources
- National Institute of Standards and Technology (NIST): NIST Handbook 44 (2026), Appendix C, General Tables of Units of Measurement (PDF) (27 cubic feet = 1 cubic yard = 0.764554857984 cubic meter exactly; 2,000 pounds = 1 ton).
- U.S. Department of the Army: FM 5-434, Earthmoving Operations (June 2000, PDF copy), Table 1-2 (loose weights per cubic yard: dry gravel 2,700 to 3,000 lb, dry sand 2,600 to 2,900 lb, dry loam 1,900 to 2,200 lb).
- Federal Highway Administration: FHWA-HRT-05-057, Appendix D (normal-weight concrete of about 140 to 155 lb per cubic foot).
⚠️ Common mistakes & edge cases
Forgetting to divide by 27
The most common error is stopping at cubic feet. A 10 × 10 area at 4 inches is 33.3 cubic feet, but only about 1.23 cubic yards. Always divide cubic feet by 27 to get yards.
Mixing inches and feet
Entering a 4-inch depth as "4" feet inflates the order twelvefold. Convert inches to feet (divide by 12) first, or use the inches toggle so the calculator does it for you.
Ordering the exact calculated amount
Materials settle, spill and disappear into uneven ground. Order about 10% extra (the buffer figure shown), or you risk a second delivery fee that can cost more than the surplus.
Trusting the ton estimate exactly
Weight depends heavily on moisture and compaction, so the tonnage here is an approximation. When buying by the ton, confirm the supplier's actual density rather than assuming the default.
❓ Frequently asked questions
How do you calculate cubic yards?
Multiply length (in feet) by width (in feet) by depth (in feet), then divide by 27, because there are 27 cubic feet in one cubic yard. The formula is: cubic yards = (length x width x depth) / 27. If your depth is in inches, divide it by 12 first to convert it to feet.
How many cubic feet are in a cubic yard?
There are exactly 27 cubic feet in one cubic yard. A cubic yard is a cube measuring 3 feet on each side (3 x 3 x 3 = 27 cubic feet). That is why the cubic-yard formula divides the volume in cubic feet by 27.
How do I convert depth in inches to feet?
Divide the inches by 12. For example, 4 inches is 4 / 12 = 0.333 feet, and 6 inches is 6 / 12 = 0.5 feet. This calculator does the conversion automatically when you choose the inches option, so you can enter depth either way; switching the unit also converts the number you already typed.
How many cubic yards do I need for a 10 x 10 area at 4 inches deep?
A 10 ft by 10 ft area is 100 square feet. At 4 inches (0.333 ft) deep the volume is 100 x 0.333 = 33.3 cubic feet, which is 33.3 / 27 = about 1.23 cubic yards. Order roughly 1.35 cubic yards to include a 10% buffer for settling and waste.
How much does a cubic yard weigh?
It depends on the material. The U.S. Army's earthmoving field manual lists loose, dry gravel at 2,700 to 3,000 pounds per cubic yard (about 1.4 short tons), dry sand at 2,600 to 2,900 pounds (about 1.35 tons) and dry loam at 1,900 to 2,200 pounds (about 1 ton). Normal-weight concrete runs about 140 to 155 pounds per cubic foot, roughly 2 tons per cubic yard. Moisture and compaction change these numbers, so confirm density with your supplier when buying by the ton.
Why should I order about 10% extra material?
Real projects lose material to settling, compaction, uneven ground, spillage and over-excavated edges. Ordering about 10% more than the calculated volume keeps you from running short mid-job, which usually costs more in re-delivery fees and downtime than the small amount of extra material.
How many cubic yards are in a truckload?
It varies by truck and by material: heavy material such as gravel or wet soil reaches a truck's weight limit before it fills the bed, so a load of stone holds fewer cubic yards than a load of mulch. Ask your supplier how many cubic yards or tons one delivery holds and what the delivery minimum is.
How many bags equal a cubic yard?
Bagged material is sold by cubic feet, and there are 27 cubic feet in a cubic yard. So one cubic yard equals 13.5 bags of 2 cubic feet (buy 14), or 27 bags of 1 cubic foot. For larger jobs, price a bulk delivery by the cubic yard against that many bags.
What is the difference between a cubic yard and a square yard?
A square yard measures area (a flat surface, 3 ft x 3 ft = 9 square feet) and a cubic yard measures volume (3 ft x 3 ft x 3 ft = 27 cubic feet). You use square yards or square feet for things like flooring and paint, and cubic yards for loose material that has depth, like soil, gravel or concrete.
Can I use this calculator for concrete?
Yes. Concrete is ordered by the cubic yard, so enter your slab or footing length, width and thickness to get the volume. For complex pours with footings, columns or thickened edges, a dedicated Concrete Calculator handles each component separately, but the same length x width x depth / 27 math applies.
How many cubic yards are in a ton?
It is the inverse of the material's density, so it depends on the material. Using typical densities: gravel is about 0.71 cubic yards per ton (1 divided by 1.4), sand about 0.74, dry topsoil about 1.0, and poured concrete about 0.5. So one ton of gravel fills roughly 0.71 cubic yards. Moisture and compaction shift these, so confirm the density with your supplier when ordering by the ton.
How many cubic yards do I need for a 20 x 20 area?
A 20 ft by 20 ft area is 400 square feet. At 2 inches deep that is about 2.47 cubic yards, at 4 inches about 4.94 cubic yards, and at 6 inches about 7.41 cubic yards (400 x depth-in-feet divided by 27). Add roughly 10% for settling and waste, so a 4-inch job would mean ordering about 5.4 cubic yards.
💡 Good to know
27 is the magic number
A cubic yard is a 3-foot cube, so it holds exactly 27 cubic feet. Memorize "divide by 27" and you can estimate any bulk-material order in your head once you have the cubic feet.
Depth drives the order more than you think
Going from a 4-inch to a 6-inch layer adds 50% more material across the whole area. Decide your finished depth first: it moves the total far more than a few extra feet of length.
Price bulk once you pass a yard
One cubic yard is 13.5 bags of 2 cubic feet. Past about a yard, compare a single bulk delivery with that many bags, and remember the hauling and stacking the bags would take.
Related Calculators
Concrete Calculator
Calculate cubic yards of concrete for slabs, footings & columns
Square Footage Calculator
Calculate the square footage of any area
Gravel Calculator
Calculate tons or cubic yards of gravel needed
Mulch Calculator
Calculate cubic yards or bags of mulch for your beds
Paint Calculator
Estimate how many gallons of paint you need
Tile Calculator
Calculate how many tiles you need for a floor or wall
Stone Calculator
Tons and cubic yards of crushed stone for a driveway, path or base