Cubic Yard Calculator
Turn length, width & depth into cubic yards and cubic feet
๐ฆ Area dimensions
Last updated June 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.
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.
Cubic yard calculator: everything you need to know
Pouring a 10 ft × 10 ft patio base 4 inches deep needs about 1.23 cubic yards of material - but if you order exactly that, you will almost certainly come up short once it settles into the ground. That is the whole point of this cubic yard calculator: it turns simple length, width and depth measurements into the cubic yards and cubic feet you actually order, and it shows you the with-a-buffer number so you do not have to do the math twice. Whether you are buying concrete, gravel, mulch, topsoil or sand, the volume formula is identical, and this page walks through it step by step.
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 - which it usually is for things like 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 most suppliers will round up to 1.5 or 2 yards depending on their minimums. In bagged form, 40 cubic feet is 20 bags of 2 cubic feet each - which is exactly why bulk delivery wins on anything bigger than a single small bed.
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 switch the unit toggle to inches or feet, 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. Press Calculate cubic yards and the result appears: 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. Bulk delivery is usually cheaper at this size, 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 always ordered by the yard, and most plants have a minimum load - the Concrete Calculator also estimates bag yields.
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. Above roughly one cubic yard, a bulk delivery almost always beats the per-bag price - and 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, sand about 1.35, dry topsoil close to 1.0, and poured concrete around 2.0. 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.
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) - Office of Weights and Measures: U.S. customary unit definitions (1 yard = 3 feet, so 1 cubic yard = 27 cubic feet).
- National Institute of Standards and Technology (NIST) - Handbook 44: Specifications, Tolerances, and Technical Requirements for Weighing and Measuring Devices (basis for volume and mass measurement standards).
- U.S. Geological Survey (USGS) - Construction sand and gravel: typical densities and material characteristics.
โ ๏ธ 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 dwarfs the cost of 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.
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. A cubic yard of gravel weighs roughly 1.4 short tons (about 2,800 lb), sand about 1.35 tons, dry topsoil close to 1 ton, and concrete around 2 tons. 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, but a standard dump truck typically hauls about 10 to 14 cubic yards of loose material, while a small or short-bed truck may carry 5 to 8. For bulk orders, ask your supplier how the material is measured 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 about 14 bags of 2 cubic feet, or 27 bags of 1 cubic foot. For larger jobs, buying in bulk by the cubic yard is almost always cheaper than 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.
๐ก 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.
Bulk beats bags past a yard
One cubic yard is about 14 bags of 2 cubic feet. Above roughly a yard, a single bulk delivery is usually cheaper than buying bags - and far less hauling and stacking for you.
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