Filling a bed you have already built
A raised bed is a box, and a box has a volume that you can work out before a single bag is bought. This page multiplies the inside length, inside width and the depth you plan to fill and reports cubic meters. It then adds your own percentage, so you can see the amount to ask for if you want some spare. It suits timber frames, steel troughs, block walls and stacked planters of any size, as long as the filled space is a rectangle with a flat top. It does not recommend a soil mix, a depth for your crop or a frame design. Those decisions come from you and the plants.
The arithmetic and the unit
Measured volume equals length × width × depth, with all three in meters, and the order volume equals that figure times (1 + waste / 100). The answer is in cubic meters, and one cubic meter is 1,000 liters, which is the unit printed on most bagged potting and garden mixes. A bed filled to 0.3 m is typed as 0.3, while 30 cm must be divided by 100 first. Use inside dimensions, since a frame made of thick timber is smaller inside than its outer edge suggests. A bed 2.4 m long on the outside, with 40 mm boards at each end, holds soil along only 2.32 m.
What the default tells you
The page starts with 10 m by 4 m and a depth of 0.1 m, giving 4 m³, and a 10 percent allowance that gives 4.4 m³. That size describes a large garden plot rather than a typical raised bed, and the 0.1 m depth is a thin layer. The values are there to show the arithmetic. Replace each with your bed dimensions. Because the shape is a simple product, halving any one dimension halves the volume, so you can scale in your head: a bed half as wide takes half the soil, while a bed that is twice as deep takes twice as much.
A timber bed in liters and bags
Take a bed measuring 2.4 m by 1.2 m inside, filled to 0.3 m, with a 5 percent allowance. The measured volume is 0.864 m³, and the allowance brings it to 0.9072 m³, or 907.2 liters. If the mix comes in 40 liter bags, that is 22.68 bags, so you would buy 23. A second bed, 4 m by 1.2 m filled to 0.25 m with a 10 percent allowance, holds 1.2 m³ and needs 1.32 m³ to order, which is 1,320 liters. At 50 liters per bag that is 26.4, so 27 bags. Bulk delivery is usually sold by the cubic meter and would let you order 1.5 m³ in one load.
Settling and the case for an allowance
Freshly filled soil settles. Air pockets collapse, rain compacts the mix, and organic material in compost breaks down over a season, so the surface drops. Many gardeners fill to slightly above the rim for that reason and top up the following spring. The page does not predict the amount, because settling depends on the mix and the weather, so the extra percentage is yours to set. A mix that is mostly coarse mineral material settles little, while a mix heavy in compost or bark can lose a visible depth. If you plan to top-dress annually with compost, a small allowance now is enough.
Bed depth and what roots need
Depth should follow the plants. Salad greens and herbs root shallowly, while tomatoes, carrots, parsnips and many perennials root deeper. If the bed sits on bare ground that roots can enter, a shallower fill works because plants reach the soil beneath. If the bed has a solid bottom, such as on a patio, the fill is all the root zone they get, and it should be deeper. Many commercial frames are around 0.2 to 0.4 m tall, though your frame can be any height. The page only multiplies the number you give it, so check seed packets or plant guides for rooting depth.
Mixing the fill
A raised bed is often filled with a blend instead of a single material, for example topsoil, compost and a coarse component for drainage. The page gives the total volume, and you divide it into the proportions your recipe calls for. If you choose a recipe that is 60 percent topsoil and 40 percent compost by volume, then 0.9072 m³ becomes about 0.544 m³ of topsoil and 0.363 m³ of compost. Those proportions are an illustration, not a recommendation. For a thick bed you can fill the lowest layer with coarse organic matter, so check how that layer counts against your depth before ordering the top layer.
Cubic yards and other units
Suppliers in the United States quote cubic yards, and a cubic yard is 0.764554858 m³ because a yard is exactly 0.9144 m. A 0.9072 m³ bed therefore needs about 1.19 cubic yards. A cubic foot is 0.0283168 m³, so one cubic meter is about 35.31 cubic feet. Bagged soil in the US is often labelled in cubic feet, with 1 cubic foot equal to 28.3168 liters. Convert your own dimensions to meters before entering them, using 1 ft = 0.3048 m exactly, and convert the output back if your supplier needs it. Rounding the volume up to a convenient bag count is normal. If you plan to compare a bulk quote with bagged soil, convert both to the same unit first, because a bag priced per 40 liters is priced per 0.04 m³, and dividing the bag price by 0.04 gives the cost of a cubic meter bought that way. Bulk delivery usually wins on price once the bed needs more than a few bags.
Raised beds that are not simple boxes
The calculation assumes a rectangular bed filled to one uniform depth. Tapered, curved, tiered or hugelkultur-style beds depart from that and are best split into simple pieces. Compaction, moisture, density and supplier yield are not inferred, so a delivered cubic meter of loose soil may settle to less once wet. The page is a quantity estimator. It does not size a structural frame or check that timber and fixings can hold the weight of wet soil, which is considerable. For tall beds, follow the guidance for your frame material. Wet soil is much heavier than dry soil, and a bed on a roof terrace or balcony adds a load the structure was perhaps never designed for, so ask whoever built the structure what it can carry. For a bed over buried pipes or cables, check where they run before digging or placing a frame.