Raised bed calculator
Put your raised bed length, width, soil depth and waste in: a 12 ft by 4 ft bed at 18 in deep is 72 cu ft of soil — 36 bags exact, 40 bags with 10% waste.
★ CONSTRUCTION · GARDEN · RAISED BEDS
On the defaults — a 12 ft by 4 ft raised bed, 18 in deep, 10% waste — you need 40 bags of soil. This is the raised bed tool: measure the bed once, turn the depth into feet once, and order the soil once — a bed filled short of the top waits for no second delivery.
Put your raised bed length, width, soil depth and waste in: a 12 ft by 4 ft bed at 18 in deep is 72 cu ft of soil — 36 bags exact, 40 bags with 10% waste.
It means forty bags fill a 12 ft by 4 ft raised bed 18 in deep, with room for spillage and settling. The bed itself is 48 square feet, since 12 times 4 is 48; the soil depth is 1.5 feet, since 18 divided by 12 is 1.5; the volume is 72 cubic feet, since 48 times 1.5 is 72; in cubic yards that is 2.67, since 72 divided by 27 is 2.67; one 2 cu ft bag holds 2 cubic feet, so the exact need is 36 bags, and with 10% waste for spillage and settling that becomes 39.6, rounded up to 40 whole bags because bags are sold by the bag, not by the fraction.
| Output | Formula | What it means |
|---|---|---|
| Bed area | length × width | 48 sq ft — 12 × 4. |
| Soil volume | area × depth in feet | 72 cu ft — 48 × 1.5. |
| Cubic yards | volume ÷ 27 | 2.67 cu yd — 72 ÷ 27. |
| Bags | volume ÷ 2, plus waste, rounded up | 40 bags — 36 × 1.10, rounded up. |
First, check the bag size you are actually buying: 2 cu ft is the common bag, but a smaller bag holds less soil each and raises this bed past 40 bags, while the soil volume never changes. Second, check the depth honestly: 18 in is a deep bed, and a bed filled only 12 in deep needs 27 bags, not 40, on the same footprint — depth is the figure most often guessed. Third, remember the soil settles: a bed filled level settles after the first watering, so keep a spare bag for topping up rather than buying the exact count. Paths, edging and a drainage layer are counted separately — see the garden bed calculator for a smaller bed filled the same way.
12 ft long, 4 ft wide, 18 in deep, 10% waste. Bed area: 12 × 4 = 48 sq ft. Depth in feet: 18 ÷ 12 = 1.5 ft. Volume: 48 × 1.5 = 72 cu ft. Cubic yards: 72 ÷ 27 = 2.67. Bags exact: 72 ÷ 2 = 36. With waste: 36 × 1.10 = 39.6, rounded up to 40 bags. In practice that means buying 40 bags, and expecting the last bag to go on spillage and the first settling. If the same bed were 16 ft long instead, the need would rise to 53 bags, but the depth would be unchanged.
With a 16 ft long bed instead of 12 ft, the volume rises to 96 cu ft and the need to 53 bags. With a 6 ft wide bed, the volume rises to 108 cu ft and the need to 60 bags, since the bed area grows with the width. With 12 in of soil instead of 18 in, the volume falls to 48 cu ft and the need to 27 bags. With 5% waste, the exact need stays 36 bags but the buy falls to 38 bags, since 36 × 1.05 is 37.8 and still rounds up to 38. Length, width, depth and waste each move the order on their own, so a wrong depth figure is as costly as a wrong measurement.
The length behind 40 bags is 12 ft: at 10 ft the need is 33 bags (10 ft × 4 ft bed, 18 in deep, 60 cu ft, 2.22 cu yd, 30 bags exact, 10% waste); at 14 ft it is 47 bags (14 ft × 4 ft bed, 18 in deep, 84 cu ft, 3.11 cu yd, 42 bags exact, 10% waste). The depth behind 40 bags is 18 in: at 12 in the need is 27 bags (12 ft × 4 ft bed, 12 in deep, 48 cu ft, 1.78 cu yd, 24 bags exact, 10% waste); at 24 in it is 53 bags (12 ft × 4 ft bed, 24 in deep, 96 cu ft, 3.56 cu yd, 48 bags exact, 10% waste). The waste behind 40 bags is 10%: at 5% the need is 38 bags (12 ft × 4 ft bed, 18 in deep, 72 cu ft, 2.67 cu yd, 36 bags exact, 5% waste); at 15% it is 42 bags (12 ft × 4 ft bed, 18 in deep, 72 cu ft, 2.67 cu yd, 36 bags exact, 15% waste). Each reverse moves one input and holds the rest, so the step is exactly one dimension, depth or waste change.
The defaults assume a 12 ft by 4 ft rectangular raised bed, 18 in of soil, 2 cu ft bags, and 10% waste for spillage and settling. They do not assume paths, edging, a drainage layer or a second soil type — a bed filled with a topsoil-and-compost mix counts its mix by the same volume, but the bags are bought by the mix, not by the bed.
The arithmetic is exact for the inputs entered; the judgement is the depth and the bag size. Real beds settle, bags vary, and the bag on the pallet overrides any planning figure; a bed measured gross over-orders, and a depth figure read off the frame instead of the soil under-orders a bed filled shallow. Treat 40 bags as the planning order for a 12 ft by 4 ft bed at 18 in deep and 10% waste, and buy bulk by the cubic yard — 2.67 cu yd here — once the order passes about 3 cu yd, since bulk beats bags past that point.
Bright Side Kit, “Raised Bed Calculator: 40 Bags of Soil for 12x4 ft Bed”, https://brightoolbox.com/raised-bed-calculator/, accessed 3 November 2026. Students and researchers: cite the calculator name, the page URL and the date you used it, and quote the defaults (12 ft × 4 ft bed, 18 in deep, 10% waste) so the 40-bag result can be checked.
40 bags at 10% waste. The volume is 72 cu ft; at 2 cu ft per bag that is 36 bags exact, and 36 × 1.10 = 39.6, rounded up to 40.
Divide by 27: 72 cu ft is 2.67 cu yd. Bulk soil is sold by the cubic yard, bags by the cubic foot, so this step settles which price to compare.
Divide the volume by the bag size instead: 72 ÷ 1.5 = 48 bags exact, and 48 × 1.10 = 52.8, rounded up to 53 bags. This calculator counts 2 cu ft bags, so a smaller bag raises the order.
Yes — a bed filled level settles after the first watering. The 10% waste covers spillage and the first settling; keep one bag back for topping up a week later.
Both multiply: doubling the depth doubles the soil, and doubling the area doubles it too. A deep bed on a small footprint can need more soil than a shallow bed on a large one.
Past about 3 cu yd, bulk usually wins: this bed is 2.67 cu yd, so bags are still reasonable, but a second bed the same size takes the order past 5 cu yd and into bulk territory.