Every calculator on YardLoads runs on one shared engine. It is a small, unit-tested JavaScript file; the tests use hand-worked examples, including the ones printed on each page. Sources last checked: November 28, 2026.
Geometry
- Rectangle: length × width. Circle: π × diameter² ÷ 4. Ring (tree ring): π ÷ 4 × (outer² − inner²).
- Triangle from three sides (Heron’s formula), so you can measure with a tape instead of finding a height.
- L-shapes and irregular beds: split them into rectangles and triangles, or enter a measured area. Areas can be marked “subtract” (e.g. a patio inside a bed).
- Tapered round pot (frustum): π × h ÷ 12 × (D² + D·d + d²), with D the diameter at the soil line and d the bottom diameter.
Units
We work internally in metres and kilograms with exact definitions: 1 ft = 0.3048 m, 1 cu yd = 27 cu ft = 0.764555 m³, 1 cu ft = 28.317 L, 1 lb = 0.45359237 kg, 1 US (short) ton = 2,000 lb = 907.18 kg, 1 metric tonne = 1,000 kg = 1.1023 US tons, 1 US gallon = 3.785 L.
From area to an order
- Volume of each area = area × depth (mulch and soil subtract any existing layer; it never goes below zero).
- All areas are added at full precision.
- Allowances are applied. Compaction applies to loose stone only, then waste or settling: loose order volume = finished × (1 + compaction) × (1 + waste).
- Weight depends on the density basis you pick. Compacted (in place), the default for the presets: weight = finished volume × (1 + waste) × density; compaction does not change the tons, because the same stone is just squeezed smaller. Loose (as loaded): weight = loose order volume × density, for a truck-ticket figure measured on loose stone. Links made with the first version of the site keep the loose behaviour.
- Bags = order volume ÷ bag volume (or weight ÷ bag weight), rounded up once. A result within one-billionth of a whole number is treated as that number, so 24 cu ft ÷ 2 cu ft is 12 bags, not 13.
- Bulk = order quantity rounded up to the supplier’s step (e.g. half-yards or half-tons), and at least the supplier minimum. Step and minimum are set per material, because a yard can sell compost by the yard and stone by the ton. A material you need none of is not ordered, so no minimum is charged for it.
- Costs use only prices you enter. The bulk route adds one delivery fee per order.
- Bags vs bulk: the results compare the exact totals for your project. Two crossover figures are shown. The exact crossover scans order sizes using whole bags, bulk steps, minimums and the delivery fee, and reports the smallest size from which bulk costs no more than bags; because rounding makes the cheaper choice flip back and forth near the crossover, it is a guide and not a promise. The smooth break-even, delivery fee ÷ (bag price per unit volume − bulk price per unit volume), is labelled “approximate crossover before purchase rounding”.
Densities and default allowances
Densities are editable on every page. Aggregate figures are Vulcan Materials’ estimator values for limestone (or sand & gravel for pea gravel and sand); other rock types are listed on the crushed stone page. Vulcan’s page renders its table with JavaScript, so we could not read the live table directly and the values were transcribed from copies of it and cross-checked against two independent transcriptions. Treat them as estimates. Producers don’t state whether a figure is loose or compacted, so the presets are treated as compacted (in-place) and the density basis is a setting you can change; your supplier’s ticket always wins.
| Material | lb/ft³ | US tons per cu yd | kg/m³ | Compaction default | Source |
|---|---|---|---|---|---|
| Pea gravel | 98 | 1.32 | 1,570 | 0% | Vulcan Materials estimator |
| Crushed stone, clean (#57, ¾ in) | 96 | 1.3 | 1,540 | 5% | Vulcan Materials estimator |
| River rock | 98 | 1.32 | 1,570 | 0% | Estimate (no producer figure found) |
| Decomposed granite | 113 | 1.53 | 1,810 | 20% | Estimate (no producer figure found) |
| Stone dust / screenings | 113 | 1.53 | 1,810 | 20% | Vulcan Materials estimator |
| Crusher run / road base | 138 | 1.86 | 2,210 | 30% | Vulcan Materials estimator |
| Concrete sand (bedding) | 110 | 1.49 | 1,760 | 10% | Vulcan Materials estimator |
| Topsoil | 70 | 0.95 | 1,130 | — | MSU turf research note (1,900–2,000 lb/cu yd); NRCS bulk densities as a cross-check |
| Compost | 37 | 0.50 | 590 | — | Oregon State Extension EM 9217 (≈1,000 lb/cu yd at 50% moisture; 800–1,600 range) |
| Raised-bed mix, potting mix | 30 / 22 | 0.40 / 0.30 | 470 / 360 | — | Estimate — only used if you buy by weight; bagged mixes are sold by volume |
The compaction column is the extra loose material, as a percentage of finished depth, you spread so that it ends at the finished depth. These defaults are our provisional judgement, not published values, informed by Penn State’s Driving Surface Aggregate bulletin (8 in loose rolled to 6 in, or 6 in to 4½ in with a 10-ton roller, about 33% extra) for dense-graded stone, and by the near-zero compaction of washed single-size stone. A hand tamper or a small plate compactor gets less compaction than a road roller, so we preset 30% for crusher run and paver base, 20% for decomposed granite and screenings, 5% for #57, and 0 for pea gravel and river rock. Waste defaults: mulch 5%, stone 5%, soil 10% (settling), pavers 5% (cuts). All are editable.
Pavers
- Pavers = area × (1 + cut allowance) ÷ area of one paver. The size you enter is the module including the joint by default; choose “actual size” to add the joint width. Or enter the maker’s coverage per pack.
- Base footprint = paved area + perimeter × overrun + corners × overrun², an exact outward offset for rectangles, circles and polygons. Overrun defaults to 6 in and can be zeroed where the base meets a wall, or overridden. Base weight = footprint × thickness × (1 + waste) × compacted density.
- Bedding sand: area × thickness × (1 + waste), counted loose and not compacted.
- Edging pieces = perimeter ÷ piece length, rounded up; spikes = perimeter ÷ spacing, rounded up, plus one per piece. Joint sand = area ÷ bag coverage (label figure needed). Geotextile = base footprint × 1.10 for overlaps. Bags of compressed peat or coir use a yield factor that is an estimate; check the label.
Bag sizes
Preset bag sizes are common retail sizes: mulch 1.5, 2 and 3 cu ft (US) or 50–100 L and 1 m³ bulk bags (UK/EU); stone 0.5 cu ft, 40 lb and 50 lb (US) or 20 kg, 25 kg and ≈850 kg bulk bags (UK/EU); soils 0.75–2 cu ft or 25–60 L. Any size can be entered as a custom bag, by volume or by weight.
Sources
- Iowa State University Extension, How to Determine the Amount of Mulch Needed for a Garden Bed (2–4 in for chipped/shredded hardwood; 2 and 3 cu ft bags; 27 cu ft per cu yd; worked example used in our tests).
- Long Rake Spar Co. (UK), Aggregates brochure — suitable depths by stone size (≈30 mm for 8–14 mm, ≈50 mm for 14–20 mm); warning that deep rounded stone is hard to walk on. Single-supplier figures, taken from a summary rather than read directly; treat as a starting point.
- Vulcan Materials, Construction Aggregates Calculator (density by geology and product, lb/ft³).
- Penn State Center for Dirt and Gravel Road Studies, Driving Surface Aggregate tech bulletin (2025): place 8 in and compact to 6 in, or place 6 in and compact to 4½ in, with a 10-ton vibratory roller; read directly from the PDF.
- ICPI Tech Spec 2, Construction of Interlocking Concrete Pavements (rev. 2020): minimum compacted base 4 in for pedestrian areas and 6 in for residential driveways on well-drained soils, 2–4 in more for cold/wet/weak soils; bedding sand ASTM C33 screeded to nominal 1 in uncompacted, not stone dust. CMHA homeowner guide: bedding sand ¾–1½ in.
- Raised-bed mixes: UNH Extension (70/30); Iowa State (equal parts topsoil/organic matter/coarse sand, or 70/30); Nebraska Extension (70/30; keep compost under 40–50%); Illinois Extension (1:1; beds settle); University of Maryland Extension (1:2 or 1:1 compost:topsoil).
- Oregon State University Extension, EM 9217 Interpreting Compost Analyses (compost bulk density).
- Michigan State University turfgrass archive (1995), compost vs topsoil weights; USDA NRCS, Soil Health – Bulk Density.
Corrections
Found a wrong number? Email us ([email protected]) with the inputs you used; we fix the engine, add your case to the test suite, and note the change here.
Change log
- v2 (November 28, 2026): tonnage no longer multiplies compaction on top of a compacted density; density basis added; paver base footprint overrun; joint sand, geotextile and edging; supplier step and minimum per material; exact bag-vs-bulk crossover.
- v1 (November 28, 2026): first version.