Skip to content

How the estimates work

About & Calculation Methodology

How measurements become material estimates, why some results depend on supplier information, and how purchasing rules change what you buy.

Formula version 1.0.0 · Last reviewed

1. About the website

Cubic Yard Calculator turns project measurements into material estimates for mulch, gravel, topsoil and concrete, and helps you work out what to buy. It is free, needs no account, and does its arithmetic in your browser. It is not affiliated with any supplier or manufacturer and does not sell materials.

Everything here is designed to be checked: the formulas are published below, each result shows its assumptions, and you can copy or print the inputs with the result.

Who developed it

Cubic Yard Calculator was developed by Kumar Baniya, who holds an MEng in Structural Engineering from the University of Leeds in the United Kingdom. Kumar Baniya built the calculators and wrote the methods and guides on this site.

That background does not turn these estimates into engineering advice. The calculators measure quantities only; they do not design slabs, footings or anything load-bearing. For structural work, use a qualified engineer for your project and local codes.

2. Three kinds of results

Ordering mistakes often come from mixing up three different numbers. The calculators keep them separate:

  1. Calculated volume — the geometric volume implied by your measurements. Example: 200 sq ft at 3 in = 50 ft³ (1.85 yd³).
  2. Adjusted requirement — after an explicit supplier factor and/or an extra allowance that you choose. Example: 50 ft³ + 10% = 55 ft³.
  3. Purchase quantity — what you actually buy after whole-bag rounding or a supplier’s minimum and increment. Example: 28 bags of 2 ft³ = 56 ft³.

The arithmetic is only as good as the measurements you enter.

3. From measurements to an estimate

  1. Read each input with its own unit.
  2. Convert every measurement once to feet (area to square feet, volume to cubic feet), at full precision.
  3. Apply the shape formula to each area.
  4. Add the areas of one material together.
  5. Apply a supplier loose-to-finished factor, if one is entered, then the extra allowance once.
  6. Work out optional weight, bags and bulk purchase quantities.
  7. Round only for display, and list the assumptions used.

Different products are never combined into one order; estimate each separately.

4. Unit conversions

All conversions use exact definitions (1 ft = 0.3048 m and 1 lb = 0.45359237 kg), as listed in NIST Special Publication 811.

Unit conversion constants
RelationshipValue used
1 foot12 inches = 0.3048 m
1 yard3 feet = 0.9144 m
1 cubic yard27 cubic feet = 0.764554857984 m³
1 cubic foot28.316846592 liters
1 pound0.45359237 kg
1 US short ton2,000 lb
1 metric tonne1,000 kg (≈ 2,204.62 lb)

Changing a unit selector converts the value you typed, so the physical quantity stays the same. Area, volume and weight are different quantities; converting volume to weight always needs a density.

5. Volume formulas

Each area’s volume is its plan area × depth. With all dimensions in feet:

Volume formulas by shape
ShapeCubic yards
Rectangle / slabL × W × D ÷ 27 (or L × W × D in inches ÷ 324)
Known areaarea (sq ft) × depth (in) ÷ 324
Circle / solid cylinderπ × (diameter ÷ 2)² × depth ÷ 27
Ring (e.g. tree ring)π × (outer radius² − inner radius²) × depth ÷ 27
Triangle½ × base × perpendicular height × depth ÷ 27
Known volumeentered directly; no depth needed

324 = 27 cubic feet per cubic yard × 12 inches per foot. Identical areas can be entered with a quantity, which multiplies that area’s volume.

6. Top-ups and irregular beds

Top-up mode uses additional depth = max(target − existing, 0). A target at or below the existing depth gives zero material, and a zero requirement means nothing is bought, whatever the supplier minimum. Irregular beds are handled by splitting them into shapes, each with its own depth; see how to measure landscape beds.

7. Density and weight

Weight = volume × bulk density. US short tons = cubic yards × density (lb/yd³) ÷ 2,000; metric tonnes = cubic meters × density (kg/m³) ÷ 1,000.

We do not supply density presets: we have not been able to verify values that would hold across products, quarries and moisture conditions, so you enter your supplier’s figure. If no density is entered, volume is still calculated and weight is shown as “needs supplier density”, never as zero or as a guess.

8. Allowance and compaction

The extra-material allowance is optional and defaults to 0%: adjusted = volume × (1 + percent ÷ 100). It is applied once, after areas are added together.

For material measured at a finished, compacted depth, the gravel calculator asks for your supplier’s loose-to-finished multiplier: loose = finished × factor. We deliberately do not accept a “shrink percentage”, because a 20% loss is a factor of 1 ÷ 0.8 = 1.25, not 1.20. When a factor and an allowance are both used, the factor is applied first and the allowance second, and each is shown on its own line.

When a quantity is passed to the bulk vs bags calculator, the link records whether an allowance is already included, and the allowance there is locked at 0% so it cannot be added twice.

9. Bags and bulk ordering

  • Bags = ceiling(required volume ÷ declared bag volume or yield), in matching units.
  • Bulk with a known increment = increment × ceiling(max(required, minimum) ÷ increment).
  • Bulk with explicitly no fixed increment = max(required, minimum).
  • If the minimum or increment is not yet known, the purchase quantity is left incomplete rather than invented.
  • When bulk is sold by weight, the required volume is converted to weight with your density, the weight rules are applied, and the purchased weight is converted back to volume to show the surplus.
  • Surplus = purchased volume − required volume.

10. Cost calculations

Prices are applied to the purchased quantity, not a rounded display value. Delivery and other fees each have three states: an entered amount, no charge, or unknown. An unknown fee never becomes zero; it makes that total incomplete, and the comparison does not name a cheaper option until both totals are complete. Nothing purchased means no fees. The tool does not calculate tax — you choose whether your prices include or exclude it.

11. Precision and rounding

Calculations use full double-precision values and round only for display (usually to two decimals). To stop floating-point noise such as 66.00000000000001 adding an extra bag, whole-unit rounding treats values within a relative tolerance of 1e-9 of a whole number as that number. Genuinely larger values, such as 66.001, still round up.

12. Worked check examples

These results are produced at build time by the same code the calculators run, and the same cases are covered by automated tests:

Worked check examples
ScenarioResult
3 × 3 × 3 ft1.0000 yd³
10 × 12 ft × 4 in1.481481 yd³
200 sq ft × 3 in, +10%55.00 ft³ → 28 bags of 2 ft³
Gravel 30 × 9 ft × 4 in, +5%3.50 yd³; 4.725 short tons at 2,700 lb/yd³
Same gravel, finished depth, factor 1.20, +5%4.20 loose yd³
Concrete 12 × 9 ft × 4 in, +10%, 0.60 ft³ yield39.60 ft³ → 66 bags
4.725 short tons at 2,700 lb/yd³3.5 yd³
Need 2.04 yd³; minimum 3, steps of 0.53.00 yd³

Review status: the formulas and these fixtures are checked by automated tests, and were checked by Kumar Baniya on 25 September 2026 (formula version 1.0.0). They have not been reviewed by an outside third party.

13. Sources and product data

Presets are offered only when they come from a primary source for that exact product. Everything else is entered by you.

14. Limits of an estimate

  • Results depend on your measurements and the supplier values you enter.
  • The calculators do not recommend depths, thicknesses, mixes or reinforcement, and are not engineering or structural advice.
  • They do not assess soil quality, plant suitability, vehicle payloads or site safety.
  • Prices and supplier rules are yours; we do not publish market prices.

15. Report a problem

If you find a calculation that looks wrong, please report it with the inputs you used (the Copy estimate button includes them). Confirmed calculation errors are fixed with a new automated test, and this page’s formula version is updated.

Every formula is published here. There are no hidden markups or adjustments.