How this calculation works
Convert depth to the length unit before multiplying. Feet mode divides inch depth by twelve; metre mode divides centimetre depth by one hundred. The result is shown in cubic feet, cubic yards and cubic metres. Divide the adjusted volume by the entered bag capacity and round once to a whole-bag count.
Bulk volume = rectangular area × depth in matching units; bags = ceil(adjusted volume / bag volume)A worked example
A 20 by 8 ft bed at 3 inches deep has 20×8×3/12 = 40 ft³, or 40/27 = 1.481481481 yd³. At an entered 2 ft³ per bag and no extra allowance, the estimate is 20 bags.
Good to know
Uniform rectangular depth only. This does not choose an appropriate depth for plants or predict settling, compaction or moisture change. Bag capacity is a volume, not a weight. The diagram shows the footprint rather than a cut pattern or horticultural specification.
Reference: NIST: conversion factors and unit definitions (opens in a new tab) ↗
A cubic yard is twenty-seven cubic feet
A yard is three feet in each direction, so a cube one yard on every side contains 3×3×3=27 cubic feet. Dividing a cubic-foot result by three would convert only one dimension and would overstate the cubic yards. The universal unit converter can verify the volume relationship separately from a bed calculation.
The default twenty-by-eight-foot bed at three inches depth contains forty cubic feet before an allowance. A two-cubic-foot bag divides that volume into twenty bags. If the supplier sells another bag size, changing the declared bag capacity changes the whole-bag count without changing the geometric bed volume.
A bag-volume calculation does not choose a planting depth
Uniform depth is an entered assumption. The page does not recommend that every plant or material should receive the selected layer. Settling, moisture, slopes, tree trunks and irregular boundaries may change the practical assessment. The footprint diagram shows only the rectangular plan and is not a planting or drainage design.
The gravel quantity calculator adds an entered bulk density to estimate mass. A volume printed on a mulch bag is not the same as its weight, and the two should not be swapped without material information. Apply an explicit extra-volume allowance before rounding the final bag count; do not round each dimension or intermediate volume first.
A few questions, answered
Does three-inch depth mean three feet?
No. Feet mode divides depth in inches by twelve.
Is bag capacity a weight?
No. The capacity field is cubic feet per bag.
Does the footprint show the actual layer thickness?
No. It is a plan view of the rectangular bed.