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:
- Calculated volume — the geometric volume implied by your measurements. Example: 200 sq ft at 3 in = 50 ft³ (1.85 yd³).
- Adjusted requirement — after an explicit supplier factor and/or an extra allowance that you choose. Example: 50 ft³ + 10% = 55 ft³.
- 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
- Read each input with its own unit.
- Convert every measurement once to feet (area to square feet, volume to cubic feet), at full precision.
- Apply the shape formula to each area.
- Add the areas of one material together.
- Apply a supplier loose-to-finished factor, if one is entered, then the extra allowance once.
- Work out optional weight, bags and bulk purchase quantities.
- 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.
| Relationship | Value used |
|---|---|
| 1 foot | 12 inches = 0.3048 m |
| 1 yard | 3 feet = 0.9144 m |
| 1 cubic yard | 27 cubic feet = 0.764554857984 m³ |
| 1 cubic foot | 28.316846592 liters |
| 1 pound | 0.45359237 kg |
| 1 US short ton | 2,000 lb |
| 1 metric tonne | 1,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:
| Shape | Cubic yards |
|---|---|
| Rectangle / slab | L × W × D ÷ 27 (or L × W × D in inches ÷ 324) |
| Known area | area (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 volume | entered 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:
| Scenario | Result |
|---|---|
| 3 × 3 × 3 ft | 1.0000 yd³ |
| 10 × 12 ft × 4 in | 1.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³ yield | 39.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.5 | 3.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
- Unit definitions: NIST Special Publication 811.
- Concrete yields: QUIKRETE Concrete Mix No. 1101 technical data sheet (revised October 2022), checked 2026-09-25. Listed approximate yields: 80 lb → 0.6 ft³; 60 lb → 0.45 ft³; 50 lb → 0.375 ft³; 40 lb → 0.3 ft³; 90 lb → 0.675 ft³.
- Mulch placement guidance quoted in the mulch pages: University of Maryland Extension, Mulching trees and shrubs.
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.