How We Calculate — Formulas, Sources & Assumptions

What this page is for

Every calculator on YardMathPro runs on the same simple idea: measure your area, pick a depth, and turn that into the amount of material you actually need to buy. This page shows you exactly how we calculate every number on YardMathPro — where our numbers come from, and what we assume along the way — so you can check our work before you spend a dollar.

No hidden formulas. No black box. If a number looks wrong to you, tell us — the corrections invite at the bottom of this page is there for a reason.

The core formula

Almost every material calculator on this site uses one formula:

Square feet × depth (inches) ÷ 324 = cubic yards

Why 324? Because 1 cubic yard equals 27 cubic feet (NIST), and there are 12 inches in a foot. So 27 × 12 = 324. That one number converts your square footage and depth straight into cubic yards — the unit most bulk suppliers sell by.

Worked example

Say you have a garden bed that is 10 feet long and 20 feet wide, and you want mulch 3 inches deep.

  1. Area: 10 × 20 = 200 square feet
  2. Volume: 200 × 3 ÷ 324 = 1.85 cubic yards
  3. Waste allowance: beds get a 10% allowance, so 1.85 × 1.10 = 2.04 cubic yards

So you would order about 2.04 cubic yards. In practice, that means rounding up — you cannot buy a fraction of a truckload, and running short halfway through a job costs more than a little extra material.

Density table — how we convert volume to weight

Some suppliers sell by the ton, not by the yard. These are the densities we use to convert cubic yards to tons. They are ranges, not exact figures, because real material varies — wet topsoil weighs more than dry topsoil, and crushed gravel packs differently depending on the stone.

MaterialTons per cubic yard
Mulch0.20–0.40
Topsoil1.05–1.10
Compost0.50–0.65
Sand (dry)1.35
Crushed gravel1.40–1.42
Pea gravel1.25
Concrete2.03

When a calculator shows a weight, it is an estimate based on the range above. If your supplier quotes a different density for their exact product, trust their number for the final order — ours is there to get you in the right ballpark.

Waste defaults

No project uses exactly the calculated amount. Material spills, settles, gets compacted, or the ground is a little uneven. So our calculators add a waste allowance by default:

Job typeWaste allowance
Beds and topsoil10%
Gravel bases, paths, and driveways15%

The 15% figure for gravel is higher because gravel compacts and settles into the base, and driveways and paths take foot and vehicle traffic that pushes stone around. Beds and topsoil settle too, but less aggressively.

Bag math

Not everyone buys in bulk. If you are buying bagged material, here is the math our calculators use:

  • 2 cu ft bag = 13.5 bags per cubic yard. That is the standard bag size for mulch and similar materials.
  • 40 lb topsoil bag = 54 bags per cubic yard.
  • 80 lb concrete bag = 45 bags per cubic yard of concrete.

Bag counts are always rounded up to the next whole bag. You cannot buy half a bag, and it is better to have one spare than to drive back to the store mid-project.

Rounding rules

  • Volume: always round up to the nearest 0.1 cubic yard.
  • Bags: always round up to the next whole bag.
  • Weight: shown to a sensible precision — we do not pretend to know your load to the nearest pound when the density itself is a range.

Rounding up is deliberate. Under-ordering is the expensive mistake; a small amount of leftover material is the cheap one.

Prices — what they are and what they are not

Our cost calculators show 2026 price bands, not live quotes. Prices vary by region, supplier, season, and delivery distance, so treat these as planning ranges and always confirm with a local supplier before budgeting a job.

2026 price bands (as of November 2026):

  • Shredded hardwood mulch, bulk: $30–$50 per cubic yard
  • Crushed gravel: $40–$75 per cubic yard
  • Screened topsoil: $25–$50 per cubic yard
  • Ready-mix concrete: $125–$195 per cubic yard
  • Delivery: $50–$150 per trip

Price sources: Angi, HomeGuide, Lawn Love, YardCalculators, UseCalcPro. The mulch band above is drawn from Angi, HomeGuide, and Lawn Love. We re-check these bands periodically and date every update — if you see a price here, the “Last verified” date at the top of the page tells you how fresh it is.

Texas notes

YardMathPro’s home turf is Texas, and Texas conditions change the math in real ways:

  • West Texas caliche soil is hard, alkaline, and rocky. It drains poorly and is tough to dig, which matters for retaining walls, fence posts, and any project that starts with excavation.
  • Bermuda and buffalo grass are the common lawn grasses here. They handle heat and drought better than cool-season grasses, and our sod and grass seed calculators are built with warm-season lawns in mind.
  • Heat and wind wear mulch faster. A mulch bed in West Texas sun and wind breaks down and thins out sooner than the same bed in a mild, damp climate, so plan on topping up more often than a generic guide suggests.

These notes do not change the core formula — a cubic yard is a cubic yard everywhere. They change how often you re-apply, how deep you go, and what you should expect from the material once it is down.

What these calculators cannot do

Honesty matters more than a neat answer, so here are the limits:

  • They cannot see your yard. Uneven ground, slopes, existing material, and drainage all change how much you need. Measure carefully, and measure twice on sloped or irregular areas.
  • They cannot replace a structural or engineering decision. Retaining walls, driveways, and concrete slabs have load, drainage, and code requirements no volume calculator can judge. For anything structural, talk to a local professional.
  • They cannot give you a live price. The price bands above are 2026 planning ranges from named sources, not quotes from your local supplier.
  • They cannot account for your supplier’s exact product. Densities vary by product and moisture. If your supplier’s spec sheet disagrees with our table, use theirs.
  • They do not include labor, tools, edging, fabric, or disposal unless a specific calculator says so. Material volume is one line on a project budget, not the whole budget.

Corrections

If you spot a wrong number, an out-of-date price, or a formula that does not match how your supplier measures, we want to know. These calculators are only useful if they are right, and the fastest way they get better is someone who actually did the job telling us what happened. Send the correction with the calculator name, the number you think is wrong, and what your supplier or project showed instead — and we will re-check how we calculate it against our sources and update the page.

Browse calculators by job

Every calculator on this site uses the formulas and densities on this page.

Last verified: November 2026.