How Much Material Do I Need? The Cubic-Yard Math Behind Every Backyard Calculator

Gravel, mulch, soil, sand and concrete all come down to one sum. This page explains it once, properly: the volume formula, how depth drives everything, and how cubic yards turn into bags and tons β€” the same math every calculator on this site runs.

Shoveling soil into a wheelbarrow from a bulk pile

The one formula: length Γ— width Γ— depth

Every ground material is a shallow box: a length, a width, and a depth of material spread over them. Volume = length Γ— width Γ— depth, and the only skill involved is keeping the units straight. Work in feet for the length and width, and convert the depth from inches to feet by dividing by 12. Suppliers sell loose material by the cubic yard, and one cubic yard is 27 cubic feet, so the full sum is:

cubic yards = length (ft) Γ— width (ft) Γ— depth (in) Γ· 324

The 324 is just 27 Γ— 12 β€” cubic feet per yard, times inches per foot β€” folded into one division. Worked example: a 10 Γ— 10 ft area at 3 in deep is 10 Γ— 10 Γ— 3 = 300, divided by 324 = 0.93 cubic yards. That is the number behind the gravel calculator's answer for that job, before its waste allowance is added. If your area is not a rectangle, get its square feet first with the method in how to measure your yard, then multiply the area by the depth in inches and divide by 324.

Try it: drag the three sliders and watch the sum happen. The box is your pile of material, drawn to scale, and the formula underneath runs live on your numbers.

10 ft × 10 ft × 3 in ÷ 324 = 0.93 cubic yards — that is 25.0 cubic feet, and as gravel at 1.4 tons per yard it weighs 1.30 tons.

Depth is the lever that moves everything

Double the depth and you double the order β€” which is why a one-inch measuring error on depth matters more than a foot of error on length. Here is the formula run for a standard 100 sq ft area, and run backwards: how much ground one cubic yard covers at each depth.

DepthCubic yards per 100 sq ftArea one cubic yard covers
1 in0.31324 sq ft
2 in0.62162 sq ft
3 in0.93108 sq ft
4 in1.2381 sq ft
6 in1.8554 sq ft
12 in3.7027 sq ft

Typical depths the calculators assume: mulch 3 in over bare soil (2 in for a top-up), gravel 2–4 in depending on the job, raised-bed soil at whatever depth your bed walls give you, and topsoil 2–3 in for leveling a lawn.

From cubic yards to bags

Bags are sold by the cubic foot (or by weight), so convert first: cubic feet = cubic yards Γ— 27. Then divide by the bag size. The 0.93 cu yd gravel job above is 25 cubic feet, which is 50 bags of 0.5 cu ft before any allowance β€” the calculator's 55 bags include its 10% extra for compaction. The per-yard counts for the common bags: 54 bags of 0.5 cu ft (gravel, sand), 18 bags of 1.5 cu ft (raised-bed soil), about 14 bags of 2 cu ft (mulch), 36 bags of 40 lb topsoil, and 45 bags of 80 lb concrete mix (one bag makes 0.6 cu ft of concrete). Whether bags are ever the right buy at those counts is a money question, answered in bulk vs bags.

From cubic yards to tons

Stone and sand are often priced by weight, and weight per yard depends on the material: this site converts gravel at 1.4 tons per cubic yard (about 2,800 lb), sand at 1.35 tons, and topsoil at roughly 1.2 tons β€” and wet material of any kind weighs noticeably more than dry, which is why a supplier's ton figure and your yard figure can disagree after a week of rain without anyone cheating. So a 2-cubic-yard gravel order is 2.8 tons: if your trailer is rated for 2,000 lb, that is three trips or one delivery, and the calculator's weight figure is there to make that call before the yard loads you. Mulch is the lightweight exception β€” it is sold by volume only, because a yard of it weighs a few hundred pounds and nobody prices air.

Concrete: the same math, two costumes

A slab is a box like any other: a 10 Γ— 10 ft slab at 4 in thick is 100 Γ— 4 Γ· 324 = 1.23 cubic yards, which is how ready-mix is ordered. In bags it is 1.23 Γ— 27 = 33.3 cubic feet of concrete, and at 0.6 cu ft per 80 lb bag that is 56 bags before waste β€” the concrete slab calculator adds its allowance and rounds to whole bags. Same volume, same formula; the only thing that changes is the packaging. Post holes are the cylindrical cousin (Ο€ Γ— radiusΒ² Γ— depth, minus the post) and have their own post hole concrete calculator.

The two adjustments every calculator then makes

Raw volume is never quite the order. First, an allowance β€” usually about 10% β€” because loose material compacts underfoot, spreads at the edges, and settles into the ground it covers; this site's gravel, mulch and soil calculators all build it in. Second, rounding to purchasable units: bulk orders round up to the nearest half cubic yard, bags round up to whole bags, tons to the nearest half ton. That is why a calculator's answer is always a little above the raw formula β€” it is showing you the order you can actually place, not the volume in a perfect world. Run the sum yourself once by hand, then let the matching calculator β€” mulch, soil, topsoil, sand β€” do it with the allowances in.

Two pocket checks for the store aisle

Two shortcuts worth memorizing. One inch over 100 sq ft is about a third of a cubic yard (0.31, from the table above) β€” so a 300 sq ft bed at 3 in deep is 3 Γ— 0.93, roughly 2.8 yards, close enough to sanity-check any quote or shelf calculation on the spot. A 5-gallon bucket is about two-thirds of a cubic foot, so a cubic yard is roughly 40 bucketfuls β€” if you are mixing or moving material by hand, that is the number that tells you whether this is an afternoon's work or a delivery. Neither replaces the formula, but both catch the decimal-point errors β€” the order that is ten times too big β€” before they reach your driveway.

Quick answers

How many cubic feet are in a cubic yard?

27. A cubic yard is a cube 3 ft Γ— 3 ft Γ— 3 ft, and 3 Γ— 3 Γ— 3 = 27. To turn cubic yards into the cubic feet that bag sizes use, multiply by 27; to go the other way, divide by 27.

How much does a cubic yard of gravel weigh?

About 1.4 tons (roughly 2,800 lb) for typical gravel β€” the conversion this site's gravel calculator uses. Sand is about 1.35 tons per yard and topsoil about 1.2 tons, and all of them weigh more when wet.

How much area does a cubic yard cover at 3 inches deep?

108 square feet. One cubic yard is 27 cubic feet; at 3 in (a quarter of a foot) deep, 27 Γ· 0.25 = 108 sq ft. At 2 in it covers 162 sq ft, and at 4 in, 81 sq ft.

Why is the calculator's answer higher than my own volume math?

Two reasons: it adds a waste and compaction allowance (usually about 10%, because loose material settles and spreads), and it rounds up to units you can actually buy β€” whole bags, or bulk to the nearest half cubic yard.

More free calculators

Deck material calculator
Boards, joists, screws, posts and cost for any deck size.
Fence material calculator
Posts, rails and pickets for a wood fence, with cost.
Concrete slab calculator
Cubic yards of ready-mix, or how many bags, for any slab.
Gravel calculator
Tons, cubic yards and bags for driveways and paths.
Mulch calculator
Bags or bulk cubic yards for garden beds.
Roof pitch calculator
Pitch, angle, roof area and shingle bundles.
Patio paver calculator
Pavers, base gravel, bedding sand and edging for any patio.
Retaining wall block calculator
Wall blocks, caps, base and drainage gravel for any wall.
Sod calculator
Rolls or pallets of sod for any lawn, with cost.
Soil calculator for raised beds
Bags or bulk soil for raised beds and garden soil jobs.
Post hole concrete calculator
How many bags of concrete per fence or deck post hole.
Topsoil calculator
Cubic yards, tons and bags of topsoil for lawns and leveling.
Grass seed calculator
How much seed for a new lawn or overseeding, by grass type.
Deck & fence stain calculator
Gallons of stain or paint for decks and fences, by coverage and coats.
Sand calculator
Tons and bags of sand for sandboxes, patios and pools.
Deck stair calculator
Risers, treads, run and stringers for deck stairs, with materials.
Fire pit calculator
How many blocks for a round fire pit, plus base gravel.
12 Γ— 16 deck material list
The full precomputed shopping list and cost for a 12 Γ— 16 ft deck.
Roof pitch chart
Every pitch with its angle and multiplier, roof types and minimum pitches by material.

Disclaimer β€” please read before you build

These figures are planning estimates only β€” not a guarantee and not professional advice. Mistakes are possible, including through an error in this calculator. Always check the quantities, sizes, spacings and depths with your supplier, a licensed builder, and your local building code before you buy materials or start work. The owner of this site accepts no responsibility or liability for any loss, cost, damage, injury, wasted material or failed inspection that results from using these estimates. Prices are examples to start from, not live prices or quotes.